← VULNERABILITIES

CVE-2026-134808

Gogs before 0.14.4 Path Equivalence Bypass via NTFS .git Aliases

High · 7.7Fix available
CVSS
7.7
EPSS
0.64% (p45)
Published
2026-11-22
Age
7d old
Modified
2026-11-23
Product
Gogs Gogs

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

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.

Fixed in

0.14.4

Affected packages

EcosystemPackageRangeFixed
vendorGogs>=0, <0.14.40.14.4

Sources

  • NVD · first seen 7d ago · NVD terms of use
  • OSV · first seen 7d ago · CC-BY 4.0
  • CVE List · first seen 7d ago · CVE Terms of Use

References

JSON