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

Source: https://aplosec.si/cve/CVE-2026-134808/

[AploSec](https://aplosec.si/) / [Disclosures](https://aplosec.si/disclosures/) / CVE-2026-134808

High 7.7 · Reported · Fixed in 0.14.4 · CWE-41 · Go

# Gogs before 0.14.4 Path Equivalence Bypass via NTFS .git Aliases

CVE-2026-134808 · published 2026-11-22

In plain words: this type of bug lets someone read or write files outside the folder they should be limited to (path traversal). A fixed release is listed.

## Summary

CVE-2026-134808 affects Gogs (Go) < 0.14.4: Path Equivalence Bypass via NTFS .git Aliases (CWE-41). Fixed in 0.14.4. CVSS 4.0 base score 7.7 (High), assigned by VulnCheck. Published 2026-11-22 by VulnCheck. Credit: Zachariah Mithani (AploSec).

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.

## Evidence

Reported to the maintainer. The public advisory and references below describe the evidence and preconditions; reporting status alone does not establish independent reproduction.

## Remediation

Upgrade Gogs to 0.14.4 or later. Releases in the affected range (< 0.14.4) are vulnerable. See the linked advisory for details on affected release lines.

## Timeline

- 2026-11-22 CVE published

## References

- [Releasehttps://github.com/gogs/gogs/releases/tag/v0.14.4](https://github.com/gogs/gogs/releases/tag/v0.14.4)

- [VulnCheck advisoryhttps://www.vulncheck.com/advisories/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)

- [Fix pull requesthttps://github.com/gogs/gogs/pull/8483](https://github.com/gogs/gogs/pull/8483)

- [Fix commithttps://github.com/gogs/gogs/commit/aa7fc903688471724a9565f1258d961e626d3cd0](https://github.com/gogs/gogs/commit/aa7fc903688471724a9565f1258d961e626d3cd0)

- [Fix commithttps://github.com/gogs/gogs/commit/43017045492c85e201536bfc7af49fa9f74b0069](https://github.com/gogs/gogs/commit/43017045492c85e201536bfc7af49fa9f74b0069)

- [Vulnerable codehttps://github.com/gogs/gogs/blob/v0.14.3/internal/database/repo_editor.go#L539-L547](https://github.com/gogs/gogs/blob/v0.14.3/internal/database/repo_editor.go#L539-L547)

- [CVE recordhttps://www.cve.org/CVERecord?id=CVE-2026-134808](https://www.cve.org/CVERecord?id=CVE-2026-134808)

- [NVD recordhttps://nvd.nist.gov/vuln/detail/CVE-2026-134808](https://nvd.nist.gov/vuln/detail/CVE-2026-134808)

**Severity:** High 7.7 CVSS 4.0, scored by VulnCheck in the [CVE record](https://www.cve.org/CVERecord?id=CVE-2026-134808)

**Package:** Gogs

**Ecosystem:** Go

**Affected:** < 0.14.4

**Fixed:** 0.14.4

**Weakness:** CWE-41

**CNA:** VulnCheck

**Credit:** Zachariah Mithani (AploSec) finder
