Improper Neutralization of Argument Delimiters in a Command in Gitea - CVE-2026-73539

 

Improper Neutralization of Argument Delimiters in a Command in Gitea - CVE-2026-73539

Published: August 15, 2026


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

Vulnerability details

The vulnerability allows a remote user to execute arbitrary code.

The vulnerability exists due to improper neutralization of argument delimiters in external renderer command handling when processing a crafted markup Context value. A remote user can inject additional command-line arguments into the renderer invocation to execute arbitrary code.

Exploitation requires external markup rendering to be enabled with a RENDER_COMMAND containing $GITEA_PREFIX_SRC or $GITEA_PREFIX_RAW, filesystem-backed APP_DATA_PATH, and repository write access to upload a payload file to a predictable path.


Affected software

Gitea

How to mitigate CVE-2026-73539

Install security update from vendor's website.

Gitea - update to 1.27.2

External References

Related Security Bulletins