Skip to main content
Mallory
HighPublic exploitVulnerability

CVE-2026-24135: Arbitrary file deletion via path traversal in Gogs wiki updateWikiPage (old_title)

Published Feb 6, 2026 · Updated 2 months ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
CVSS7.2High · v4
EPSS0.63%45th percentile
CISA KEVNoNot listed
In the wildNonePublic exploit, no exploitation reported
Vendor
Gogs
IdentifiersCVE-2026-24135CWE-22 · Improper Limitation of a Pathname…

In Gogs (self-hosted Git service) versions 0.13.3 and earlier, the wiki update/rename flow contains a path traversal flaw in the updateWikiPage function. An authenticated user with write access to a repository’s wiki can manipulate the old_title parameter in the wiki editing/rename form to traverse outside the intended wiki directory. The server then resolves the attacker-influenced path (with a .md suffix appended) and deletes it via os.Remove, enabling deletion of arbitrary server-side files reachable by traversal that match the effective target naming (i.e., with .md appended). The issue is fixed in 0.13.4 and 0.14.0+dev.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

Impact, mitigation & remediation

What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

Arbitrary deletion of server-side files (constrained by the application appending a .md extension), leading to data loss and denial of service. This can include deletion of wiki pages and other critical Markdown files on the host, potentially disrupting service operation and/or destroying important documentation/content.

Mitigation

If you can’t patch tonight, do this now.

Until patched, restrict wiki write access to trusted users only. Monitor and alert on wiki edit/rename requests containing traversal sequences in old_title (e.g., "../"). If feasible, disable the wiki feature to remove the vulnerable attack surface.

Remediation

Patch, then assume compromise.

Upgrade Gogs to 0.13.4 or later (or 0.14.0+dev). Ensure old_title is sanitized/normalized before being used in path construction and deletion (e.g., apply the same canonicalization used for new titles such as ToWikiPageName, and/or enforce path.Clean plus strict basename/allowlist validation) prior to path.Join and os.Remove.

Public exploits

Exploits

No validated public exploits yet. Hidden: 1 rejected by Mallory's analysis as not a working exploit.

View more in app →
Every candidate exploit was rejected by Mallory's analysis.
Exposure surface

Affected products & vendors

Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.

VendorProductType
GogsGogsapplication
FAQ

Frequently asked questions

Is CVE-2026-24135 exploited in the wild?
As of Sep 25, 2026, Mallory has no reports of CVE-2026-24135 being exploited in the wild. It is not listed in CISA KEV.
Is there a public exploit for CVE-2026-24135?
Yes. As of Sep 25, 2026, Mallory has reports of a public exploit for CVE-2026-24135.
Is there a patch for CVE-2026-24135?
Upgrade Gogs to 0.13.4 or later (or 0.14.0+dev). Ensure old_title is sanitized/normalized before being used in path construction and deletion (e.g., apply the same canonicalization used for new titles such as ToWikiPageName, and/or enforce path.Clean plus strict basename/allowlist validation) prior to path.Join and os.Remove.
What products are affected by CVE-2026-24135?
Gogs.
How severe is CVE-2026-24135?
CVE-2026-24135 has a CVSS v4 score of 7.2 (High) and an EPSS score of 0.63% (45th percentile) as of Sep 25, 2026.
Activity feed

Recent activity

2 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.

View more in app →
Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidenceEvery report linking this CVE to a named adversary.
Associated malwareMalware families linked to this CVE, with evidence and IOCs.
Detection signatures2YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activity1Community discussion across Reddit, Mastodon, and other social sources.