Vulnerability 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.
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Cloudcli | Cloud Cli | < 1.24.0 |
Related Weaknesses (CWE)
References
- https://github.com/siteboon/claudecodeui/commit/86c33c1c0cb34176725a38f469602137Patch
- https://github.com/siteboon/claudecodeui/releases/tag/v1.24.0Release Notes
- https://github.com/siteboon/claudecodeui/security/advisories/GHSA-7fv4-fmmc-86g2ExploitVendor Advisory
- https://github.com/siteboon/claudecodeui/security/advisories/GHSA-7fv4-fmmc-86g2ExploitVendor Advisory
FAQ
What is CVE-2026-31861?
CVE-2026-31861 is a vulnerability with a CVSS score of 8.8 (HIGH). 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 interpolat...
How severe is CVE-2026-31861?
CVE-2026-31861 has been rated HIGH with a CVSS base score of 8.8/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-31861?
Check the references section above for vendor advisories and patch information. Affected products include: Cloudcli Cloud Cli.