Argument injection in gogs - CVE-2026-84362
Published: November 25, 2026
Vulnerability details
The vulnerability allows a remote user to cause internal repository paths and configuration details to be recorded in server-side error logs.
The vulnerability exists due to improper separation of command options and arguments in the Gogs git-module RevParse function when it passes user-controlled revisions to git rev-parse. A remote user can supply option-like values in place of commit or branch references through the repository API to expose those details to anyone with access to the logs.