CVE-2026-31861
Last modified
CVE-2026-31861 is a high-severity vulnerability rated 8.7/10 on the CVSS scale. 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(). EPSS estimates a 6.03% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Cloudcli | Cloud Cli | < 1.24.0 |
References
- https://github.com/siteboon/claudecodeui/security/advisories/GHSA-7fv4-fmmc-86g2Exploit, Vendor Advisory
- https://github.com/siteboon/claudecodeui/security/advisories/GHSA-7fv4-fmmc-86g2Exploit, Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-31861?
How severe is CVE-2026-31861?
How do I fix CVE-2026-31861?
Are you affected by CVE-2026-31861?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
