PT-2026-156572
CVE-2026-134808
·
Published
2026-11-22
·
Updated
2026-11-24
Description by
CVSS 3.1
7.5
HighMetricsAV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions
Gogs versions prior to 0.14.4
Description
On Windows, a path equivalence issue exists in the
isRepositoryGitPath() function. Authenticated users with write access can bypass protection of the .git directory by utilizing NTFS aliases, such as git~1 or .git::$INDEX ALLOCATION. This allows attackers to create, rename, or upload files to overwrite .git/config or hooks, leading to remote command execution under the privileges of the Gogs process.Recommendations
Update Gogs to version 0.14.4 or later.
Found an issue in the description? Have something to add? Feel free to write us 👾