{"id":"CVE-2026-31975","published":"2026-03-11T17:27:06Z","modified":"2026-03-12T14:05:01Z","title":"Cloud CLI WebSocket shell injection","vendor":"siteboon","product":"claudecodeui","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.7,"severity":"HIGH","version":"4.0","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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.03901,"percentile":0.90519,"provenance":"source"},"cwes":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"}],"references":[{"url":"https://github.com/siteboon/claudecodeui/security/advisories/GHSA-gv8f-wpm2-m5wr","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/siteboon/claudecodeui/commit/12e7f074d9563b3264caf9cec6e1b701c301af26","tags":["x_refsource_MISC"]},{"url":"https://github.com/siteboon/claudecodeui/releases/tag/v1.25.0","tags":["x_refsource_MISC"]}],"priority":{"score":24.2,"factors":[{"name":"EPSS percentile","points":18.1},{"name":"CVSS severity","points":6.09}]},"vendorSlug":"siteboon","affectedVersions":[{"vendor":"siteboon","product":"claudecodeui","versions":["< 1.25.0"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"total","timestamp":"2026-03-12T14:04:56.739217Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"@siteboon/claude-code-ui","vulnerableRanges":["<1.25.0"],"patched":["1.25.0"],"from":["GHSA-gv8f-wpm2-m5wr"],"provenance":"source"}],"summary":{"text":"The flaw is an OS command injection in the WebSocket shell handling of the Cloud CLI (Claude Code UI) product from siteboon, specifically in server/index.js, where the projectPath and initialCommand values taken from WebSocket messages are interpolated into a bash command string without sanitization, with a secondary injection possible through an unsanitized sessionId. An attacker who can reach the WebSocket interface and hold a low-privilege account, requiring no user interaction, can inject crafted values to execute arbitrary operating system commands on the host.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-21T15:03:24Z"},"euvd":{"id":"EUVD-2026-11281","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2026-31861","published":"2026-03-11","fixed":"1.24.0","kev":false,"link":{"from":"CVE-2026-31861","to":"CVE-2026-31975","relation":"successor","confidence":"medium","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"npm:@siteboon/claude-code-ui","fromFixed":"1.24.0","toFixed":"1.25.0","daysApart":0},{"kind":"similar","provenance":"machine","score":0.4,"basis":"same product + description similarity"}]}},{"cve":"CVE-2026-31862","published":"2026-03-11","fixed":"1.24.0","kev":false},{"cve":"CVE-2026-31975","published":"2026-03-11","fixed":"1.25.0","kev":false}],"package":"npm:@siteboon/claude-code-ui"}}