Skip to content

CVE-2026-31975 Cloud CLI WebSocket shell injection

HighCVSS 8.7 EPSS 3.9%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: yes · technical impact: total

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.

Upgrade path

3 packages: 2 fixed.

PackageAffectedFixed inStatus
cloudcli cloud cli < 1.25.0 1.25.0 Fixed
siteboon @siteboon/claude-code-ui(npm) < 1.25.0; <= 1.24.0 1.25.0 Fixed
siteboon claudecodeui = < 1.25.0 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
siteboon claudecodeui = < 1.25.0 No fix listed
siteboon @siteboon/claude-code-ui(npm) <= 1.24.0 No fix listed
cloudcli cloud cli < 1.25.0 1.25.0
siteboon @siteboon/claude-code-ui(npm) < 1.25.0 1.25.0

References