Ad

CVE-2026-31975

HIGH CVSS 4.0: 8.7 EPSS 0.61%
Updated Mar 20, 2026
Payload
Parameter Value
CVSS 8.7 (HIGH)
Affected Versions before 1.25.0
Fixed In 1.25.0
Type CWE-78 (OS Command Injection)
Vendor Payload
Public PoC No

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.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
Low
Easy to exploit
Attack Requirements
None
No additional conditions
Privileges Required
Low
Basic privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

Confidentiality
High
Complete data leak
Integrity
High
Complete data modification
Availability
High
Complete denial of service

CVSS Vector v4.0

Weakness Type (CWE)

Vulnerable Products 1

Configuration From (including) Up to (excluding)
Cloudcli Cloud_Cli
cpe:2.3:a:cloudcli:cloud_cli:*:*:*:*:*:*:*:*
1.25.0