CVE-2026-134808
Gogs before 0.14.4 Path Equivalence Bypass via NTFS .git Aliases
High · 7.7Fix available
- CVSS
- 7.7
- EPSS
- 0.64% (p45)
- Published
- 2026-11-22
- Age
- 7d old
- Modified
- 2026-11-23
- Product
- Gogs Gogs
CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Description
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.
Fixed in
0.14.4
Affected packages
| Ecosystem | Package | Range | Fixed |
|---|---|---|---|
| vendor | Gogs | >=0, <0.14.4 | 0.14.4 |
Sources
- NVD · first seen 7d ago · NVD terms of use
- OSV · first seen 7d ago · CC-BY 4.0
- CVE List · first seen 7d ago · CVE Terms of Use
References
- https://github.com/gogs/gogs/pull/8483 issue-tracking
- https://github.com/gogs/gogs/commit/aa7fc903688471724a9565f1258d961e626d3cd0 patch
- https://github.com/gogs/gogs/commit/43017045492c85e201536bfc7af49fa9f74b0069 patch
- https://github.com/gogs/gogs/releases/tag/v0.14.4 release-notes
- https://github.com/gogs/gogs/blob/v0.14.3/internal/database/repo_editor.go#L539-L547 technical-description
- https://www.vulncheck.com/advisories/gogs-before-0.14.4-path-equivalence-bypass-via-ntfs-git-aliases third-party-advisory
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/134xxx/CVE-2026-134808.json advisory
- https://github.com/gogs/gogs package
- https://nvd.nist.gov/vuln/detail/CVE-2026-134808 advisory