Argument injection in gogs - CVE-2026-82401
Published: November 25, 2026
Vulnerability details
The vulnerability allows a remote user to create or overwrite files at server paths writable by Gogs, potentially disrupting service.
The vulnerability exists due to argument injection in DiffBinary when Git interprets user-controlled branch names as command options during pull request comparisons. A remote user can supply a crafted branch name to redirect diff output to a server file of their choice.