CVE-2026-134808Gogs
NVD
Vulnerability Summary
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.
CVSS v4.0 Base Metrics — Score 7.7 (HIGH)
CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:NAttack VectorNetwork
Attack ComplexityHigh
Attack RequirementsPresent
Privileges RequiredLow
User InteractionNone
Confidentiality (Vulnerable System)High
Integrity (Vulnerable System)High
Availability (Vulnerable System)High
Confidentiality (Subsequent System)None
Integrity (Subsequent System)None
Availability (Subsequent System)None
Show CVSS v3.x metrics (score 7.5)
CVSS v3.1 Base Metrics — Score 7.5 (HIGH)
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:HAttack VectorNetwork
Attack ComplexityHigh
Privileges RequiredLow
User InteractionNone
ScopeUnchanged
ConfidentialityHigh
IntegrityHigh
AvailabilityHigh
Affected & Patched Versions
- Gogs < 0.14.4
- Gogs 0.14.4
What to do
Plan remediation soon. No exploitation is confirmed yet, but the severity is high.
- Check whether you run Gogs and which version.
- Update to a patched version listed above, then confirm the new version.
Timeline
- Nov 22, 2026Published
- Nov 22, 2026Record last modified
Score, severity and exploitation changes are tracked from the day Watchtower started logging them.
Get notified about new Gogs CVEsYou are reading CVE-2026-134808. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alertsMore Gogs CVEs
External References
- Patchhttps://github.com/gogs/gogs/pull/8483
- Patchhttps://github.com/gogs/gogs/commit/aa7fc903688471724a9565f1258d961e626d3cd0
- Patchhttps://github.com/gogs/gogs/commit/43017045492c85e201536bfc7af49fa9f74b0069
- Referencehttps://github.com/gogs/gogs/releases/tag/v0.14.4
- Referencehttps://github.com/gogs/gogs/blob/v0.14.3/internal/database/repo_editor.go#L539-L547
- Referencehttps://www.vulncheck.com/advisories/gogs-before-0.14.4-path-equivalence-bypass-via-ntfs-git-aliases
Data last checked: Nov 22, 2026 21:22 UTC