Vulnerability · CVE-2026-31975
Cloud CLI (aka Claude Code UI) is a desktop and mobile UI for Claude Code, Cursor CLI, Codex, and Gemini-CLI.
Published Mar 11, 2026 · catalog updated Jun 17, 2026 · cloudcli cloud cli
- Severity
- High8.7
- Known exploitation
- Not in CISA/VulnCheck KEV
- EPSS
- 4.5%
- Remediation
- Advisory link
- Affected products
- cpe cloudcli/cloud cli
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.
Technical analysis
Mechanism and impact are interpreted from ingested advisories — not independent exploit research.
CWE classification
Prerequisites and impact
Follow the original vendor advisory for access prerequisites and impact. This catalog does not invent exploit conditions.
How to fix CVE-2026-31975
Recommended remediation
A patch or advisory reference is linked. Open the original publisher for availability by product version.
Official advisories
What to do
Three reads of the same public record: the decision, the versions on file, and the signals. Confirm the vendor advisory before you patch. This page does not publish exploit steps.
Executive
This is a public record, not a confirmed incident. CVE-2026-31975 is a high issue in cloudcli cloud cli (CVSS 8.7). CISA does not currently list it as known exploited. Next step: Compare installed versions with the linked vendor advisory before changing production.
System administrator
Check whether cloudcli cloud cli is installed. Ranges on record: cloudcli/cloud cli. Compare installed versions with the linked vendor advisory before changing production.
Security analyst
CVSS 8.7. EPSS 4.5%. CISA does not currently list it as known exploited. Weaknesses: CWE-78. Sources: cve_org, epss, nvd. Exploit links, when listed below, point at the original publisher.
Related intelligence
Exploitation evidence
Not listed as known exploited in CISA KEV. Not in CISA KEV or VulnCheck KEV.
Safe detection guidance
Compare installed versions with the affected ranges below and verify the advisory from the original publisher. This site stores metadata and outbound links only; it does not ship exploit code or proof-of-concept payloads.
Code
The project this record applies to. Exploit listings stay in References.
Timeline
Detection, updates, and resolution for this record.
Mar 11, 2026 · NIST NVD
Detected
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
Jun 17, 2026 · NIST NVD
Updated
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
Affected versions
Enter an installed version to get a verified affected / not-affected result against the ranges below.
- cpe cloudcli/cloud cliversion unspecified
Sources
- CVE.orgVulnerability recordCVE-2026-31975
Official CVE identifier
cve.org - FIRST EPSSExploitation probabilityCVE-2026-31975
30-day exploitation probability 4.5%
first.org - NIST NVDVulnerability recordCVE-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 an
nvd.nist.gov
References
Freshness
Last verified in this catalog Oct 18, 2026. Significant claims (KEV, EPSS, CVSS, affected ranges) come from the source rows above — open the original publisher for the authoritative advisory.