Path traversal in gogs - CVE-2026-24135
Published: February 9, 2026
Vulnerability identifier: #VU122467
CSH Severity: Medium
CVSS v4: 7.1 [CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-24135
CWE-ID: CWE-22
Exploitation vector: Remote access
Exploit availability:
No public exploit available
Vulnerability details
The vulnerability allows a remote attacker to perform directory traversal attacks.
The vulnerability exists due to input validation error when processing directory traversal sequences in the "updateWikiPage" function. A remote user can send a specially crafted HTTP request and delete arbitrary files on the system.
Affected software
gogs
How to mitigate CVE-2026-24135
Install updates from vendor's website.
gogs - addressed in versions 0.13.4, 0.14.0