What’s Vulnerable › Vulnerabilities
CVE-2026-31861: Shell Command Injection in Git Routes [CloudCLI UI]
- Severity: high (CVSS 8.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 6.1% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2026-03-11 · updated 2026-06-17
- Weakness: CWE-94
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.
Affected products
- Cloudcli Cloud Cli: before 1.24.0 — fixed in 1.24.0
How to fix
Upgrade to a fixed version: Cloudcli Cloud Cli 1.24.0. Check the vendor advisory for mitigations.
References
- 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
Get alerted when CVE-2026-31861 or the next vulnerability affects your stack