Path Traversal in Gogs
CVE-2024-44625
Gogs <=0.13.0 is vulnerable to Directory Traversal via the editFilePost function of internal/route/repo/editor.go.
Vulnerability class: Path Traversal (Directory Traversal)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.8 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.165, 97.0th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
Weakness classification (CWE)
Public exploits and proof-of-concept code
2 public repositories with exploit or proof-of-concept code for this CVE:
- Fysac/CVE-2024-44625 (7 stars, last pushed 2024-11-14): Symbolic link path traversal vulnerability in Gogs
- batj44/CVE-2024-44625-Gogs-RCE-0.13.0 (last pushed 2026-09-09): No issue for run this exploit.
Also mentioned in 1 other repository (nomi-sec/PoC-in-GitHub). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- gogs.io/ (Product)
- fysac.github.io/posts/2024/11/unpatched-remote-code-execution-in-gogs/ (Exploit, Third Party Advisory)
This CVE has public exploit evidence. See the latest CVEs with public exploits.