CVE-2026-31861 json
Shell Command Injection in Git Routes [CloudCLI UI]
published 7mo ago modified 4mo ago also GHSA-7fv4-fmmc-86g2 , EUVD-2026-11263
- cvss
- 8.8
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 6.8%
- EPSS 6.8% chance of exploitation in 30 days, percentile 94%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- npm @siteboon/claude-code-ui 1.24.0
- cloudcli cloud_cli 1.24.0
Is CVE-2026-31861 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerCISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- yes
- Technical impact
- total
- Assessed
- 7mo ago
Exploit prediction
6.85% chance of exploitation in the next 30 days, higher than 94% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- github.com https://github.com/siteboon/claudecodeui/security/advisories/GHSA-7fv4-fmmc-86g2 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 4.0 | 8.7 | 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 |
| CNA | 4.0 | 8.7 | 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 |
| NVD | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | @siteboon/claude-code-ui | <1.24.0 |
1.24.0 |
Affected products
- siteboon claudecodeui
Classification
- Weakness
-
- CWE-94 Improper Control of Generation of Code
References
-
github.com
/siteboon/claudecodeui/commit/86c33c1c0cb34176725a38f46960213714fc3e04
web, patch
-
github.com
/siteboon/claudecodeui/security/advisories/GHSA-7fv4-fmmc-86g2
exploit, web, vendor-advisory
-
github.com
/siteboon/claudecodeui/releases/tag/v1.24.0
web, release-notes
-
nvd.nist.gov
/vuln/detail/CVE-2026-31861
advisory
-
github.com
/siteboon/claudecodeui
package
Sources
- CVE List CVE-2026-31861
- GitHub Advisory GHSA-7fv4-fmmc-86g2
- NVD CVE-2026-31861
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.