CVE-2026-31861

Cloud CLI (aka Claude Code UI) is a desktop and mobile UI for Claude Code, Cursor CLI, Codex, and Gemini-CLI. Prior to 1.24.0, The /api/user/git-config endpoint constructs shell commands by interpolating user-supplied gitName and gitEmail values into command strings passed to child_process.exec(). The input is placed within double quotes and only " is escaped, but backticks (`), $() command substitution, and \ sequences are all interpreted within double-quoted strings in bash. This allows authenticated attackers to execute arbitrary OS commands via the git configuration endpoint. This vulnerability is fixed in 1.24.0.
CVSS

No CVSS.

Configurations

No configuration.

History

12 Mar 2026, 15:16

Type Values Removed Values Added
References () https://github.com/siteboon/claudecodeui/security/advisories/GHSA-7fv4-fmmc-86g2 - () https://github.com/siteboon/claudecodeui/security/advisories/GHSA-7fv4-fmmc-86g2 -

11 Mar 2026, 18:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-03-11 18:16

Updated : 2026-03-12 21:08


NVD link : CVE-2026-31861

Mitre link : CVE-2026-31861

CVE.ORG link : CVE-2026-31861


JSON object : View

Products Affected

No product.

CWE
CWE-94

Improper Control of Generation of Code ('Code Injection')