CVE-2026-134808
published high CVSS 4.0 · 7.7Gogs before 0.14.4 Path Equivalence Bypass via NTFS .git Aliases
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Gogs | — | Gogs0 to < 0.14.4 · Other versions: unaffected | Affected | Not stated | VulnCheck |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 7.7 / 10
- Severity
- high
- Provider
- VulnCheck · cna
- Vector string
- 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 7.5 | high | VulnCheck · cna | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Gogs | Gogs | 0 to < 0.14.4 (affected · semver)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-41 Improper Resolution of Path Equivalence
References
6- 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
- Gogs v0.14.4 Release Notes https://github.com/gogs/gogs/releases/tag/v0.14.4
- VulnCheck Advisory: Gogs before 0.14.4 Path Equivalence Bypass via NTFS .git Aliases https://www.vulncheck.com/advisories/gogs-before-0.14.4-path-equivalence-bypass-via-ntfs-git-aliases
Provider assertions
2VulnCheck · cna
Gogs before 0.14.4 Path Equivalence Bypass via NTFS .git Aliases
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- d12280e00be3aee9a041ba094122ad051a4dd5a1df6be23df9ee4853a6d36b31
- Ingested
- 23 Nov 2026, 15:17:36 UTC
- Source record
- Official CVE record