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.
Published: 2026-02-06
Score: 7.2 High
EPSS: < 1% Very Low
KEV: No
Impact: Arbitrary local file deletion via path traversal
Action: Immediate Patch
AI Analysis

Impact

This vulnerability allows an attacker who is authenticated and has write access to a Gogs repository’s wiki to delete arbitrary files on the host system. By manipulating the old_title parameter during a wiki page edit, the attacker can cause the updateWikiPage function to remove files beyond the intended wiki directory. The impact is loss of confidential data, configuration files, or application code, potentially leading to denial of service or destruction of critical assets. The underlying weakness is a classic path traversal flaw (CWE‑22).

Affected Systems

The flaw exists in Gogs versions 0.13.3 and earlier, including the 0.13.x series and all 0.14.0 build releases prior to the fix. It is present in the self‑hosted Git service that uses the Gogs application bundle.

Risk and Exploitability

With a CVSS score of 7.2, the vulnerability is considered high severity. The likelihood of exploitation is currently very low (EPSS < 1 %) and it is not listed in CISA’s KEV catalog, suggesting no widespread public exploitation is known. However, the attack requires authentication with write access to a wiki, which is often granted to developers or contributors, making the risk significant for organizations that give such privileges broadly. The absence of a public exploit does not mitigate the threat, as the path traversal logic is straightforward for a skilled attacker with local write access.

Generated by OpenCVE AI on April 17, 2026 at 22:38 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Gogs to version 0.13.4 or newer, or to any 0.14.0+development release that contains the patch
  • Revoke write access to the wiki for users who do not need it, ensuring only trusted contributors have the ability to edit pages
  • If an upgrade is not immediately possible, restrict or monitor the old_title parameter to prevent directory traversal patterns, or enforce file system permissions that block deletion of critical system files

Generated by OpenCVE AI on April 17, 2026 at 22:38 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-jp7c-wj6q-3qf2 Gogs vulnerable to arbitrary file deletion via Path Traversal in wiki page update
History

Tue, 17 Feb 2026 22:00:00 +0000

Type Values Removed Values Added
CPEs cpe:2.3:a:gogs:gogs:*:*:*:*:*:*:*:*
Metrics cvssV3_1

{'score': 8.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H'}


Mon, 09 Feb 2026 11:00:00 +0000

Type Values Removed Values Added
First Time appeared Gogs
Gogs gogs
Vendors & Products Gogs
Gogs gogs

Fri, 06 Feb 2026 18:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Fri, 06 Feb 2026 18:00:00 +0000

Type Values Removed Values Added
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.
Title Gogs vulnerable to arbitrary file deletion via path traversal in wiki page update
Weaknesses CWE-22
References
Metrics cvssV4_0

{'score': 7.2, 'vector': '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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-02-06T18:08:28.398Z

Reserved: 2026-01-21T18:38:22.474Z

Link: CVE-2026-24135

cve-icon Vulnrichment

Updated: 2026-02-06T18:08:11.546Z

cve-icon NVD

Status : Analyzed

Published: 2026-02-06T18:15:57.483

Modified: 2026-02-17T21:55:35.007

Link: CVE-2026-24135

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-04-17T22:45:29Z

Weaknesses