Path traversal in gogs - CVE-2026-24135

 

Path traversal in gogs - CVE-2026-24135

Published: February 9, 2026


Vulnerability identifier: #VU122467
CSH Severity: Medium
CVSS v4.0: 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/E:U/U:Green
CVE-ID: CVE-2026-24135
CWE-ID: CWE-22
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: gogs.io
Affected software:
gogs

Detailed vulnerability description

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.


How to mitigate CVE-2026-24135

Install updates from vendor's website.

Sources