CVE-2026-134808 Gogs before 0.14.4 Path Equivalence Bypass via NTFS .git Aliases

Published Updated

Authenticated Gogs users with write access can use NTFS aliases to overwrite .git config or hooks and execute commands as the Gogs process.

CVSS score

High

7.7/10

CVSS 4.0 · Scored by VulnCheck Breakdown
Exploited in the wild
Not known
Not in CISA's KEV catalogue
Exploit code
Proof of concept
1 on GitHub, unverified
Fix
Available
0.14.4
Attack path
Over the internet
Any signed-in user, no user action

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.

PackageAffectedFixed in
gogs.io/gogs Go
pkg:golang/gogs.io/gogs
All versions0.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.

Is CVE-2026-134808 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free