Skip to main content
Mallory
← Back to News
internet-facing-service-vulnerabilityproof-of-concept-releasewidely-deployed-product-advisory

Arbitrary File Deletion Flaw in Gogs Wiki Update Enables Path Traversal

Vulnerability Disclosure · 2 sources · Updated 5mo ago · First seen May 25, 2026

Arbitrary File Deletion Flaw in Gogs Wiki Update Enables Path Traversal

Gogs disclosed a security advisory for an arbitrary file deletion vulnerability in its wiki page update functionality, tracked as GHSA-jp7c-wj6q-3qf2. The flaw stems from a path traversal issue that can let an attacker manipulate file paths during wiki updates and delete files outside the intended directory, creating a risk to repository integrity and server-side data stored by the self-hosted Git service.

A public repository referencing CVE-2026-24135 later documented the same issue as an arbitrary file deletion bug in Gogs caused by wiki path traversal, indicating that technical details are now publicly accessible. Organizations running Gogs should review exposed wiki features, assess whether untrusted users can modify wiki content, and prioritize vendor guidance and patching to prevent unauthorized deletion of application or system files.

Why it matters

Impact assessment

Gogs deployments that expose wiki editing to untrusted or low-trust users are affected by an arbitrary file deletion vulnerability in wiki update handling. The primary risk is integrity and availability impact on the self-hosted Git service and potentially the underlying host, because an attacker can delete files outside the intended wiki directory via path traversal.

The likely scope is targeted to organizations running self-hosted Gogs rather than internet-wide end users, but exposure can be significant in environments where repositories and wiki features are broadly accessible. Public technical documentation exists for the issue, increasing the likelihood of opportunistic exploitation, although the provided references do not confirm exploitation in the wild.

Supporting facts

  • Product affected: Gogs, a self-hosted Git service.
  • Vulnerability type: arbitrary file deletion caused by path traversal in wiki page update functionality.
  • Advisory identifier: GHSA-jp7c-wj6q-3qf2.
  • Public CVE reference: CVE-2026-24135.
  • Impacted assets: repository data integrity, application files, and potentially server-side files accessible to the Gogs process.
  • Exposure condition: wiki functionality enabled and writable by untrusted or insufficiently restricted users.
  • Known exploitation status: no confirmed in-the-wild exploitation stated in the provided references.
Do you run this?See affected versions and whether adversaries are exploiting it.
Check your exposure
Event timeline

How this story unfolded

Events from the most recent confirmed update back to the earliest known activity.

2 events · Feb 6, 2026
  1. Feb 6, 202610mo ago

    Public CVE repository publishes material for CVE-2026-24135

    A public GitHub repository for CVE-2026-24135 was published, documenting the arbitrary file deletion issue in Gogs via wiki path traversal. This made technical information about the vulnerability publicly accessible.

  2. Feb 6, 202610mo ago

    Gogs discloses arbitrary file deletion flaw in wiki page update

    A GitHub security advisory for Gogs disclosed an arbitrary file deletion vulnerability caused by path traversal in the wiki page update functionality. The issue was tracked as GHSA-jp7c-wj6q-3qf2.

Do you run this?See whether adversaries are exploiting this yet, and where the affected versions run in your environment.
Check Your Exposure
Mallory platform

See the full picture, correlated to your attack surface.

This page covers what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which threat actors are using it right now, and what to deploy next.

Exposure mappingMap indicators from this story to your assets and identify affected systems in minutes.
Threat actor evidenceEvery observed campaign, victim, and pivot linked to actors named in this story.
Associated malwareMalware, exploits, and IOCs connected to the activity described here.
Detection signaturesYARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.
Scheduled alertsGet matching new stories delivered to your team as they break, not the next morning.
AI threadsAsk questions about this story and take action on the answers.