What is CVE-2026-134808?
CVE-2026-134808 is a high-severity path traversal vulnerability in Gogs, published on 22 Nov 2026. Any signed-in user can exploit it over the network, with no action from the victim.
Official 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.
Weakness: CWE-41
How severe is CVE-2026-134808?
CVE-2026-134808 scores 7.7 out of 10 under CVSS 4.0, which is high severity. It was scored by VulnCheck.
- Attack vector
- Network
- Attack complexity
- High
- Attack requirements
- Present
- Privileges required
- Low
- User interaction
- None
- Confidentiality
- High
- Integrity
- High
- Availability
- 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:N
Which versions are affected by CVE-2026-134808?
1 open source package ship an affected version, including gogs.io/gogs.
An affected version is exposed as installed. No special setting or call is needed.
| Package | Affected | Fixed in |
|---|---|---|
gogs.io/gogs Gopkg:golang/gogs.io/gogs | All versions | 0.14.4 |
How do I fix CVE-2026-134808?
Upgrade gogs.io/gogs to 0.14.4 or later.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2026-134808 being exploited?
There is no known exploitation of CVE-2026-134808 in the wild and no public exploit code.
Public exploit code: 1 proofs of concept on GitHub.
Sources
Also known as GHSA-2jh3-23vq-6j44.