Skip to content

CVE-2026-24135 Gogs vulnerable to arbitrary file deletion via path traversal in wiki page update

HighCVSS 7.2 EPSS 0.96%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: partial

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.

Upgrade path

2 packages: 1 fixed, 1 partially fixed.

PackageAffectedFixed inStatus
gogs.io/gogs(Go) < 0.13.4; <= 0.13.3; All versions 0.13.4 Partially fixed
gogs < 0.13.4; = < 0.13.4; = < 0.14.0+dev 0.13.4 Fixed

Affected products

ProductAffected versionsFixed in
gogs = < 0.14.0+dev No fix listed
gogs = < 0.13.4 No fix listed
gogs.io/gogs(Go) < 0.13.4 0.13.4
gogs.io/gogs(Go) All versions No fix listed
gogs.io/gogs(Go) <= 0.13.3 No fix listed
gogs < 0.13.4 0.13.4

References