Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-31975: CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') in siteboon claudecodeui

0
High
VulnerabilityCVE-2026-31975cvecve-2026-31975cwe-78
Published: Wed Mar 11 2026 (03/11/2026, 17:27:06 UTC)
Source: CVE Database V5
Vendor/Project: siteboon
Product: claudecodeui

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.

AI-Powered Analysis

AILast updated: 03/11/2026, 17:59:08 UTC

Technical Analysis

CVE-2026-31975 is an OS Command Injection vulnerability classified under CWE-78 affecting siteboon's Cloud CLI (claudecodeui) prior to version 1.25.0. The vulnerability exists because the application accepts WebSocket messages containing parameters projectPath and initialCommand, which are directly embedded into bash command strings in server/index.js without any input sanitization or validation. This unsafe interpolation allows an attacker to inject arbitrary shell commands, leading to remote code execution on the host system. A secondary injection vector is present via the sessionId parameter, which is also unsanitized before use in shell commands. The vulnerability is exploitable remotely over the network without authentication or user interaction, as the WebSocket interface is exposed. The CVSS 4.0 vector indicates network attack vector (AV:N), low attack complexity (AC:L), no privileges required (PR:L), no user interaction (UI:N), and high impact on confidentiality, integrity, and availability (all high). The scope is unchanged, meaning the vulnerability affects only the vulnerable component. This flaw can allow attackers to fully compromise affected systems, execute arbitrary commands, and potentially pivot within networks. The vulnerability was publicly disclosed on March 11, 2026, and fixed in version 1.25.0 of claudecodeui. No public exploits have been reported yet, but the nature of the flaw makes it a critical risk for any deployment of affected versions.

Potential Impact

The impact of CVE-2026-31975 is severe for organizations using siteboon's Cloud CLI prior to version 1.25.0. Successful exploitation allows remote attackers to execute arbitrary OS commands with the privileges of the application, potentially leading to full system compromise. This can result in data theft, unauthorized access, disruption of services, and lateral movement within corporate networks. Since the vulnerability requires no authentication or user interaction, attackers can exploit it remotely and stealthily. Organizations relying on affected tools for development or operational workflows may face significant operational risks, including loss of intellectual property, exposure of sensitive data, and damage to reputation. The vulnerability could also be leveraged as an initial entry point for broader attacks, especially in environments where these tools are integrated with critical infrastructure or cloud services.

Mitigation Recommendations

To mitigate CVE-2026-31975, organizations should immediately upgrade claudecodeui to version 1.25.0 or later, where the vulnerability is patched. Until upgrading is possible, restrict network access to the WebSocket interface to trusted users and networks only, using firewall rules or VPNs. Implement strict input validation and sanitization on all parameters received via WebSocket messages, especially projectPath, initialCommand, and sessionId, to prevent injection of shell metacharacters. Employ application-layer firewalls or intrusion detection systems capable of detecting anomalous command injection attempts. Monitor logs for suspicious WebSocket activity and unexpected command executions. Additionally, run the application with the least privileges necessary to limit the impact of potential exploitation. Regularly audit and update dependencies and maintain a robust patch management process to reduce exposure to similar vulnerabilities.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-03-10T15:40:10.487Z
Cvss Version
4.0
State
PUBLISHED

Threat ID: 69b1aa112f860ef943525d8b

Added to database: 3/11/2026, 5:44:49 PM

Last enriched: 3/11/2026, 5:59:08 PM

Last updated: 3/11/2026, 8:04:20 PM

Views: 6

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console in Console -> Billing for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses