{"cve":"CVE-2026-31975","nvd":{"published":"2026-03-11T18:16:27.177","modified":"2026-06-17T10:34:52.493","status":"Analyzed","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_v4":{"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","score":8.7},"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8},"cwes":["CWE-78"],"references":["https://github.com/siteboon/claudecodeui/commit/12e7f074d9563b3264caf9cec6e1b701c301af26","https://github.com/siteboon/claudecodeui/releases/tag/v1.25.0","https://github.com/siteboon/claudecodeui/security/advisories/GHSA-gv8f-wpm2-m5wr","https://github.com/siteboon/claudecodeui/security/advisories/GHSA-gv8f-wpm2-m5wr"],"products":["cloudcli:cloud_cli"],"source":"nvd","synced_at":"2026-10-19T22:25:53.701907451+00:00"},"epss":{"cve":"CVE-2026-31975","score":0.0357,"percentile":0.89363,"date":"2026-11-01"},"kev":null,"osv":[{"id":"GHSA-gv8f-wpm2-m5wr","url":"https://osv.dev/vulnerability/GHSA-gv8f-wpm2-m5wr","summary":"@siteboon/claude-code-ui Vulnerable to Unauthenticated RCE via WebSocket Shell Injection","modified":"2026-03-13T10:56:23.916800Z","packages":[{"ecosystem":"npm","name":"@siteboon/claude-code-ui","purl":"pkg:npm/%40siteboon/claude-code-ui","ranges":["<1.25.0"],"fixed":["1.25.0"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}