Path Traversal in Gogs
CVE-2026-52797
Gogs is an open source self-hosted Git service. Prior to 0.14.0, as an authorized user, an intruder can dictate the value which is passed to the git diff command which, together with bypassing the filtering of the passed value, allows the user to bypass the target directory and write the result of the comparison to any arbitrary path. This vulnerability is fixed in 0.14.0.
Vulnerability class: Path Traversal (Directory Traversal)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:L/A:H.
EPSS exploit prediction
EPSS: 0.005 (42.6th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 43rd percentile — 42.6% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.005 · newest: 0.005 · change: 0.000
Affected products
- Gogs — versions < 0.14.0
Weakness classification (CWE)
References
Frequently asked questions
- What is CVE-2026-52797?
- CVE-2026-52797 is a high-severity vulnerability in Gogs, classified under Path Traversal. CVSS score: 8.5/10. Published 2026-06-24.
- How severe is CVE-2026-52797?
- High severity. CVSS v3 base score is 8.5 out of 10.