CVE-2026-31861
Severity CVSS v4.0:
HIGH
Type:
CWE-94
Code Injection
Publication date:
11/03/2026
Last modified:
17/03/2026
Description
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.
Impact
Base Score 4.0
8.70
Severity 4.0
HIGH
Base Score 3.x
8.80
Severity 3.x
HIGH
Vulnerable products and versions
| CPE | From | Up to |
|---|---|---|
| cpe:2.3:a:cloudcli:cloud_cli:*:*:*:*:*:*:*:* | 1.24.0 (excluding) |
To consult the complete list of CPE names with products and versions, see this page
References to Advisories, Solutions, and Tools
- https://github.com/siteboon/claudecodeui/commit/86c33c1c0cb34176725a38f46960213714fc3e04
- https://github.com/siteboon/claudecodeui/releases/tag/v1.24.0
- https://github.com/siteboon/claudecodeui/security/advisories/GHSA-7fv4-fmmc-86g2
- https://github.com/siteboon/claudecodeui/security/advisories/GHSA-7fv4-fmmc-86g2



