CVE-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 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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:cloudcli:cloud_cli:*:*:*:*:*:*:*:*

History

No history.

Information

Published : 2026-03-11 18:16

Updated : 2026-03-20 16:17


NVD link : CVE-2026-31975

Mitre link : CVE-2026-31975

CVE.ORG link : CVE-2026-31975


JSON object : View

Products Affected

cloudcli

  • cloud_cli
CWE
CWE-78

Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')