Improper Resolution of Path Equivalence in gogs - #VU170295
Published: November 25, 2026
Vulnerability details
The vulnerability allows a remote user to execute arbitrary code as the Gogs service account on Windows hosts using NTFS.
The vulnerability exists due to improper resolution of path equivalence in the Gogs web editor's isRepositoryGitPath guard when NTFS alternate data stream syntax or short-name aliases refer to the protected Git metadata directory. A remote user can abuse repository write access through the web editor to execute arbitrary code via server-side Git hooks.