Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. gogs.io/gogs
  4. ›
  5. CVE-2026-24135

CVE-2026-24135: Gogs vulnerable to arbitrary file deletion via Path Traversal in wiki page update

February 6, 2026

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.

References

  • github.com/advisories/GHSA-jp7c-wj6q-3qf2
  • github.com/gogs/gogs
  • github.com/gogs/gogs/security/advisories/GHSA-jp7c-wj6q-3qf2
  • nvd.nist.gov/vuln/detail/CVE-2026-24135

Code Behaviors & Features

Detect and mitigate CVE-2026-24135 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 0.13.4

Fixed versions

  • 0.13.4

Solution

Upgrade to version 0.13.4 or above.

Impact 8.1 HIGH

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Source file

go/gogs.io/gogs/CVE-2026-24135.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:05 +0000.