Vulnerability

CVE-2026-134808

highCVSS 4.0 7.7Published 22 Nov 2026

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

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.

Affected products

The NVD has not attached product data to this record yet; the description names what is affected.

Weakness type

References

  • github.com /gogs/gogs/blob/v0.14.3/internal/database/repo_editor.go
  • github.com /gogs/gogs/commit/43017045492c85e201536bfc7af49fa9f74b0069
  • github.com /gogs/gogs/commit/aa7fc903688471724a9565f1258d961e626d3cd0
  • github.com /gogs/gogs/pull/8483
  • github.com /gogs/gogs/releases/tag/v0.14.4
  • www.vulncheck.com /advisories/gogs-before-0.14.4-path-equivalence-bypass-via-…

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning