Vulnerability advisory
CVE-2026-24135
Gogs vulnerable to arbitrary file deletion via path traversal in wiki page update
Also known as GHSA-jp7c-wj6q-3qf2GO-2026-4452
Severity
- CVSS 4.0
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N
Affected versions
Repository
| Affected commits | Fixed by commit |
|---|---|
| GIT github.com/gogs/gogs ↗ | |
| All commits before d958a47a0e9d8747e399c687fdb3ec64a3b1a736 | d958a47a0e9d8747e399c687fdb3ec64a3b1a736 |
Also listed as affected (63)
| |
Description
Gogs is an open source self-hosted Git service. In version 0.13.3 and prior, a path traversal vulnerability exists in the updateWikiPage function of Gogs. The vulnerability allows an authenticated user with write access to a repository's wiki to delete arbitrary files on the server by manipulating the old_title parameter in the wiki editing form. This issue has been patched in versions 0.13.4 and 0.14.0+dev.