What’s Vulnerable › Vulnerabilities
CVE-2026-31975: Cloud CLI WebSocket shell injection
- Severity: critical (CVSS 9.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 3.5% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2026-03-11 · updated 2026-06-17
- Weakness: CWE-78
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.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 products
- Cloudcli Cloud Cli: before 1.25.0 — fixed in 1.25.0
How to fix
Upgrade to a fixed version: Cloudcli Cloud Cli 1.25.0. Check the vendor advisory for mitigations.
References
- https://github.com/siteboon/claudecodeui/commit/12e7f074d9563b3264caf9cec6e1b701c301af26
- https://github.com/siteboon/claudecodeui/releases/tag/v1.25.0
- https://github.com/siteboon/claudecodeui/security/advisories/GHSA-gv8f-wpm2-m5wr
- https://github.com/siteboon/claudecodeui/security/advisories/GHSA-gv8f-wpm2-m5wr
Get alerted when CVE-2026-31975 or the next vulnerability affects your stack