Path Traversal in Gogs
CVE-2026-52813
Gogs is an open source self-hosted Git service. Prior to 0.14.3, organization names containing path traversal sequences (../) are accepted by Gogs, and repositories under them are written to paths following these path traversals. This allows storing/retrieving data for repositories at arbitrary locations on the filesystem. By creating nested structure of Git repositories, one can overwrite the other's hooks configuration to result in Remote Code Execution (RCE). This vulnerability is fixed in 0.14.3.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 10.0 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H.
EPSS exploit prediction
EPSS: 0.011 (64.5th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 64th percentile — 64.5% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.011 · newest: 0.011 · change: 0.000
Affected products
- Gogs — versions < 0.14.3
Weakness classification (CWE)
Public proof-of-concept exploits
References
Frequently asked questions
- What is CVE-2026-52813?
- CVE-2026-52813 is a critical-severity vulnerability in Gogs, classified under Relative Path Traversal. CVSS score: 10.0/10. Published 2026-06-24.
- How severe is CVE-2026-52813?
- Critical severity. CVSS v3 base score is 10.0 out of 10.
- Is CVE-2026-52813 known to be exploited?
- 2 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.