PoC Monitor
← All CVEs
CVE-2026-24135published 6 Feb 2026 17:47 UTCData: JSON · API

Gogs

Gogs vulnerable to arbitrary file deletion via path traversal in wiki page update

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.

First public PoC 2 h beforebefore publication · 6 Feb 2026
Public PoCs11 on GitHub
CVSS8.1high · scored by NVD · CWE-22
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

gogs gogs
  • < 0.14.0+dev
  • < 0.13.4

Fixed in 0.14.0+dev, 0.13.4

Mitigation

Upgrade gogs to 0.14.0+dev or 0.13.4 or later.

References

Timeline

Days relative to CVE publication
-2t=0+2+4+6+8First public PoC6 Feb 2026 · t−2hCVE published6 Feb 2026 · t = 0

First public PoC 2 h before publication; not in CISA KEV. First PoC: reschjonas/CVE-2026-24135 (created 6 Feb 2026, found by us: backfilled).

PoC repositories

Found on GitHub.

1 PoCs

PoCs 1
RepositoryCreatedStarsAssessment
reschjonas/CVE-2026-24135 6 Feb 2026 −2 h 1 PoC

Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.

PoC characteristics

What to hunt for in your logs · from 1 PoC repo

POST /{var}/{var}/wiki/{var}

Query
action=_edit
Key headers
Cookie: i_like_gogs={var}
Body markers
old_title=../../../../../../../tmp/target_file title=TestPage content=test message=test in application/x-www-form-urlencoded
Ports
443
Seen in
1 repo: reschjonas/CVE-2026-24135
Evidence
reschjonas/CVE-2026-24135/Readme.md:79-84

Regex

Generated from PoC characteristics; not yet reviewed. Matches the request path and query.

POST /{var}/{var}/wiki/{var}
(?i)^/[^/?#]*/[^/?#]*/wiki/[^/?#]*\?(?:.*&)?action=_edit

Suricata

Template generated from PoC characteristics. Review before deploying.

POST /{var}/{var}/wiki/{var}
alert http any any -> $HOME_NET [443] (msg:"GG PoC-Monitor CVE-2026-24135 gogs gogs exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/wiki/"; http.uri; content:"action=_edit"; http.header; content:"Cookie: i_like_gogs="; nocase; http.request_body; content:"old_title=../../../../../../../tmp/target_file"; http.request_body; content:"title=TestPage"; http.request_body; content:"content=test"; http.request_body; content:"message=test"; reference:url,poc.griffinguard.io/cve/CVE-2026-24135; classtype:web-application-attack; sid:9768149; rev:1;)

Sigma

Template generated from PoC characteristics. Review before deploying.

POST /{var}/{var}/wiki/{var}
title: gogs gogs exploit attempt (CVE-2026-24135)
id: gg-pocmon-cve-2026-24135-9768149
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-24135. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2026-24135
logsource:
  category: webserver
detection:
  selection:
    cs-method: POST
    cs-uri-stem|contains|all:
      - '/wiki/'
    cs-uri-query|contains|all:
      - 'action=_edit'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: high
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2026.24135