CVE-2026-31975
Prior to 1.25.0, OS Command Injection via WebSocket Shell.
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (3.43%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
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.
- CVSS 4.0
- 8.7 HIGHCVSS: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/M
- EPSS
- 3.43% probability · 88th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-78
- Affected
- cloudcli/cloud cli
- Source
- security-advisories@github.com
References
- https://github.com/siteboon/claudecodeui/commit/12e7f074d9563b3264caf9cec6e1b701c301af26Patch
- https://github.com/siteboon/claudecodeui/releases/tag/v1.25.0Release Notes
- https://github.com/siteboon/claudecodeui/security/advisories/GHSA-gv8f-wpm2-m5wrExploit, Vendor Advisory
- https://github.com/siteboon/claudecodeui/security/advisories/GHSA-gv8f-wpm2-m5wrExploit, Vendor Advisory
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.