CVE-2018-18925: gogs Session Fixation
CVSS: 9.8v3.0CriticalModified
Published 04-11-2018Last modified 05-08-2024
Vulnerability summary
CVE-2018-18925 is a critical (CVSS 9.8) Session Fixation vulnerability in gogs. EPSS estimates a 31.13% chance of exploitation in the next 30 days, higher than 98.2% of scored vulnerabilities.
CVSS score
9.8/10
010
Critical · v3.0 (NVD)EPSS score
31.13%
0%100%
High · 0.00 pp in 30 daysKEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded
Advisory lineage
Upstream 0 · Downstream 0 · Duplicates 1Timeline
- 04-11-2018PublishedVulnerability first disclosed.
- 05-08-2024Last modifiedVulnerability information updated.
Description
Gogs 0.11.66 allows remote code execution because it does not properly validate session IDs, as demonstrated by a ".." session-file forgery in the file session provider in file.go. This is related to session ID handling in the go-macaron/session code for Macaron.
CVSS metrics
2 scores · 1 source · 2 versionsCritical 9.8Preferred score · NVD (NIST)
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HSourcesSingle source
High 7.5Preferred score · NVD (NIST)
AV:N/AC:L/Au:N/C:P/I:P/A:PSourcesSingle source
EPSS trend
Probability
31.13%
Chance of exploitation in the next 30 days
Percentile
98%
Versus all other CVEs
30-day change
0.00 pp
From 31.13% on 18-09-2026
18-09-202618-10-2026
EPSS score31.13%
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Gogs1 product
- gogs≤ 0.11.66
1 vendor · 1 product