AploSec / Disclosures / CVE-2026-134808

High 7.7ReportedFixed in 0.14.4CWE-41Go

Gogs before 0.14.4 Path Equivalence Bypass via NTFS .git Aliases

CVE-2026-134808 · published 2026-11-22

In plain words: this type of bug lets someone read or write files outside the folder they should be limited to (path traversal). A fixed release is listed.

Summary

CVE-2026-134808 affects Gogs (Go) < 0.14.4: Path Equivalence Bypass via NTFS .git Aliases (CWE-41). Fixed in 0.14.4. CVSS 4.0 base score 7.7 (High), assigned by VulnCheck. Published 2026-11-22 by VulnCheck. Credit: Zachariah Mithani (AploSec).

Gogs before 0.14.4 on Windows contains a path equivalence vulnerability in isRepositoryGitPath that allows authenticated users with write access to bypass .git directory protection using NTFS aliases. Attackers can create, rename or upload files via aliases like git~1 or .git::$INDEX_ALLOCATION to overwrite .git/config or hooks and execute commands as the Gogs process.

Evidence

Reported to the maintainer. The public advisory and references below describe the evidence and preconditions; reporting status alone does not establish independent reproduction.

Remediation

Upgrade Gogs to 0.14.4 or later. Releases in the affected range (< 0.14.4) are vulnerable. See the linked advisory for details on affected release lines.

Timeline

  • 2026-11-22 CVE published

References

Severity
High 7.7CVSS 4.0, scored by VulnCheck in the CVE record
Package
Gogs
Ecosystem
Go
Affected
< 0.14.4
Fixed
0.14.4
Weakness
CWE-41
CNA
VulnCheck
Credit
Zachariah Mithani (AploSec)finder