CVE-2026-134808
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.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or — if you've already worked around this in production — publish your fix to the community-verified tier.
Propose a mitigation on Community Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| gogs | gogs | {"endExcluding":"0.14.4"} | 0.14.4 |
References
- https://github.com/gogs/gogs/blob/v0.14.3/internal/database/repo_editor.go#L539-L547
- https://github.com/gogs/gogs/commit/43017045492c85e201536bfc7af49fa9f74b0069
- https://github.com/gogs/gogs/commit/aa7fc903688471724a9565f1258d961e626d3cd0
- https://github.com/gogs/gogs/pull/8483
- https://github.com/gogs/gogs/releases/tag/v0.14.4
- https://www.vulncheck.com/advisories/gogs-before-0.14.4-path-equivalence-bypass-via-ntfs-git-aliases
CWEs
CWE-41
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.