CVE-2026-134808
CVE-2026-134808 · Gogs before 0.14.4 Path Equivalence Bypass via NTFS .git Aliases
CVSS 7.7 · High · EPSS 0.6% · Public exploit · Fix available
Compare with your installed version
Affected products and known fixed versions are public information. Compare them with your installed version.
- gogsUpdate to 0.14.4
Assess your server’s risks
The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.
Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.
curl -fsSL https://patchfirst.dev/check.sh | shChannels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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.
- Published
- Updated
Affected products and versions
gogs
- Versions
- ≥ 0, < 0.14.4: Affected (semver)
Update to 0.14.4
Original sources
- https://github.com/gogs/gogs/pull/8483
- https://github.com/gogs/gogs/commit/aa7fc903688471724a9565f1258d961e626d3cd0
- https://github.com/gogs/gogs/commit/43017045492c85e201536bfc7af49fa9f74b0069
- https://github.com/gogs/gogs/releases/tag/v0.14.4
- https://github.com/gogs/gogs/blob/v0.14.3/internal/database/repo_editor.go#L539-L547
- https://www.vulncheck.com/advisories/gogs-before-0.14.4-path-equivalence-bypass-via-ntfs-git-aliases
- https://nvd.nist.gov/vuln/detail/CVE-2026-134808