Argument injection in gogs - CVE-2026-84362

 

Argument injection in gogs - CVE-2026-84362

Published: November 25, 2026


Vulnerability identifier: #VU170286
CSH Severity: Low
CVSS v4: 5.3 [CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-84362
CWE-ID: CWE-88
Exploitation vector: Remote access
Exploit availability: No public exploit available

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.


Affected software

gogs

How to mitigate CVE-2026-84362

Install security update from vendor's website.

gogs - update to 0.14.4

External References