home / blog
2026-11-23 · high
CVE-2026-134808: Critical Gogs code execution vulnerability
CVE-2026-134808: Vulnerability in Gogs <0.14.4 on Windows allows code execution via NTFS aliases.

CVE-2026-134808 is a security vulnerability in Gogs, a Git hosting system, affecting versions below 0.14.4 on Windows. The flaw allows authenticated users with write access to bypass .git directory protection using NTFS aliases like 'git~1' or '.git::$INDEX_ALLOCATION', enabling the creation, renaming, or uploading of files to critical locations.
The vulnerability has a CVSS score of 7.5 (high severity) and is officially documented in the NVD since November 22, 2026. Signals indicate that public repositories exist describing how to exploit this vulnerability, making patching urgent for those using Gogs on Windows.
For defense, it is recommended to immediately update to Gogs version 0.14.4 or later. For those who cannot update immediately, consider limiting write access or implementing additional file path controls. The vulnerability is particularly critical as it can lead to arbitrary code execution in the context of the Gogs process.
At a glance
- What
- Path equivalence vulnerability in isRepositoryGitPath in Gogs <0.14.4 on Windows
- Severity
- High (CVSS 7.5)
- Affected versions
- Gogs before version 0.14.4 on Windows
- Fix
- Update to Gogs version 0.14.4 or later
- Status
- Officially published on 2026-11-22
- Action
- Apply patches or implement temporary mitigations
Sources: NVD, CVE-2026-134808