CVE-2026-31861 Shell Command Injection in Git Routes [CloudCLI UI]
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: yes · technical impact: total
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.
Upgrade path
3 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| cloudcli cloud cli | < 1.24.0 | 1.24.0 | Fixed |
| siteboon @siteboon/claude-code-ui(npm) | < 1.24.0; <= 1.23.0 | 1.24.0 | Fixed |
| siteboon claudecodeui | = < 1.24.0 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| siteboon claudecodeui | = < 1.24.0 | No fix listed |
| siteboon @siteboon/claude-code-ui(npm) | <= 1.23.0 | No fix listed |
| cloudcli cloud cli | < 1.24.0 | 1.24.0 |
| siteboon @siteboon/claude-code-ui(npm) | < 1.24.0 | 1.24.0 |
References
- https://github.com/siteboon/claudecodeui/security/advisories/GHSA-7fv4-fmmc-86g2 exploit vendor-advisory
- https://github.com/siteboon/claudecodeui/commit/86c33c1c0cb34176725a38f46960213714fc3e04 patch
- https://github.com/siteboon/claudecodeui/releases/tag/v1.24.0 release-notes
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com
- github.com product