Skip to content
Gogs CVE-2026-134808: NTFS alias path bypass lets repo writers overwrite .git metadata

Gogs CVE-2026-134808: NTFS alias path bypass lets repo writers overwrite .git metadata

First seen 23 Nov 2026, 12:47 UTC • •

Article Content

Browse articles
ThreatCluster AI
ThreatCluster •November 23, 2026 at 12:48 UTC
  • •CVE-2026-134808 affects Gogs before 0.14.4 on Windows; the fix is in 0.14.4 (commit 4301704).
  • •Attack requires an authenticated account with repository write access and an NTFS-backed deployment.
  • •NTFS aliases git~1 and .git::$INDEX_ALLOCATION bypass the literal .git path check.
  • •Redpacket Security says successful abuse could overwrite .git/config or hooks and lead to command execution as the service account.
  • •Sploitus lists a lab proof of concept; no in-the-wild exploitation is reported in these articles.

Gogs versions before 0.14.4 on Windows contain a path equivalence flaw in isRepositoryGitPath (CVE-2026-134808, CWE-22/CWE-178). The check rejected repository uploads containing a literal .git component but did not account for NTFS aliases such as git~1 (8.3 short name) and .git::$INDEX_ALLOCATION (alternate data stream), which resolve to the real .git directory. A Sploitus entry describes a lab proof of concept in which uploads to repo/git~1/config are accepted on the vulnerable version and blocked on 0.14.4. Redpacket Security states that an authenticated user with repository write access could use these aliases to overwrite .git/config or hooks and execute commands as the Gogs process, though it describes the risk as conditional on a Windows deployment and write access. The fix is in 0.14.4 (commit 4301704, GHSA-2jh3-23vq-6j44). The CVE is listed at CVSS 7.7 (High). Redpacket Security notes that KEV, EPSS and exploitation data were not provided.

Start a free Starter trial for enhanced analysis

Ask AI about this cluster

Updated just now How this analysis works

Timeline

2026-11-22
CVE-2026-134808 published
CVE record published with CVSS 7.7 (High) for Gogs path equivalence flaw on Windows.
Redpacketsecurity
2026-11-23
Public proof-of-concept entry posted
Sploitus lists a lab exploit showing NTFS alias uploads accepted on pre-0.14.4 builds and blocked on 0.14.4.
Sploitus

More articles in this cluster (6)

Following this threat?

Track Gogs and CVE-2026-134808 in your own feed — you're alerted when they show up in new reporting, leak sites or exploitation.

Free account · no card needed

Common questions

Am I affected?
You are affected if you run Gogs before 0.14.4 on Windows and allow repository write access to users you do not fully trust.
Is this being exploited?
The articles report a public lab proof of concept but no confirmed in-the-wild exploitation.
What should we do first?
Upgrade to Gogs 0.14.4 or later, prioritising Windows instances, and until then restrict repository write access and alert on writes targeting .git paths.