# CVE-2026-31975: Cloud CLI WebSocket shell injection

- Severity: High 8.7 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 4.98%, higher than 93% of CVEs (2026-11-30)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-03-11T00:37:25.000Z
- Modified: 2026-06-17T10:34:52.493Z
- Also known as: GHSA-gv8f-wpm2-m5wr
- Weaknesses: CWE-78, CWE-287, CWE-1188
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- siteboon claudecodeui: < 1.25.0
- @siteboon/claude-code-ui (npm): before 1.25.0
- cloudcli cloud_cli: before 1.25.0

## Every score

- GitHub_M: CVSS:4.0 8.7 High `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`
- GitHub: CVSS:4.0 High `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`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/siteboon/claudecodeui/security/advisories/GHSA-gv8f-wpm2-m5wr> (exploit, vendor-advisory, web)
- <https://github.com/siteboon/claudecodeui/commit/12e7f074d9563b3264caf9cec6e1b701c301af26> (patch, web)
- <https://github.com/siteboon/claudecodeui/releases/tag/v1.25.0> (release-notes, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-31975> (advisory)
- <https://github.com/siteboon/claudecodeui> (package)

## Sources

- CVE List: [CVE-2026-31975](https://www.cve.org/CVERecord?id=CVE-2026-31975), CVE Terms of Use, modified 2026-03-12
- GitHub Advisory Database: [GHSA-gv8f-wpm2-m5wr](https://github.com/advisories/GHSA-gv8f-wpm2-m5wr), CC-BY-4.0, modified 2026-03-13
- NVD: [CVE-2026-31975](https://nvd.nist.gov/vuln/detail/CVE-2026-31975), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-31975 · Whole record: https://cve.day/CVE-2026-31975.json · Rebuilt by cve.day 2026-11-25T22:59:15.764Z
