RCE in Cloudcli Cloud Cli

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.

Vulnerability class: Command Injection (OS Command Injection)

EPSS: 0.034 (87.7th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2026-31975?
CVE-2026-31975 is a critical-severity vulnerability in Cloudcli Cloud Cli, classified under OS Command Injection. CVSS score: 9.8/10. Published 2026-03-11.
How severe is CVE-2026-31975?
Critical severity. CVSS v3 base score is 9.8 out of 10.