OpenClaw
CVE-2026-41295
HIGH
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSocial engineer workspace clone
-
DeliveryDeliver malicious workspace repository
-
ExploitVictim initiates clone in OpenClaw
-
ExecutionPlugin claims built-in channel ID
-
PersistExecute arbitrary code during channel setup
-
ImpactAchieve process-level compromise
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A08:2025 - Software or Data Integrity Failures
ASVS 5.0
V15 - Secure Coding and Architecture Trusted source inclusion only
|
| Exploitation Conditions | Successful exploitation requires the victim to clone a workspace from an attacker-controlled repository using OpenClaw versions before 2026.4.2. The vulnerability specifically triggers during the built-in channel setup and login phase of workspace initialization, meaning default workspace clone operations are vulnerable without requiring non-standard configuration changes. User interaction is mandatory (UI:P in CVSS vector): the victim must actively initiate the workspace clone action, providing natural friction against automated exploitation. No authentication is required to deliver the malicious workspace (PR:N), as public Git repositories are accessible to anonymous users. The attack does NOT require elevated privileges on the victim's system-standard user permissions suffice for OpenClaw operation. Exploitation is limited to the local context where OpenClaw runs (AV:L), meaning the attacker cannot remotely trigger the vulnerability without first convincing the victim to clone the workspace. Organizations that restrict workspace sources to internal Git servers or maintain allowlists of trusted repository URLs effectively prevent this attack vector regardless of OpenClaw version. |
| Impact | Risk profile shows notable divergence between theoretical severity and practical exploitation likelihood. CVSS 8.5 (High) reflects legitimate impact potential: the vulnerability grants complete compromise of confidentiality, integrity, and availability within the vulnerable component (VC:H/VI:H/VA:H) with no scope change (SC:N/SI:N/SA:N). However, multiple risk signals indicate limited real-world threat urgency. EPSS exploitation probability of 0.01% (2nd percentile) suggests security researchers assess near-zero likelihood of widespread exploitation. CISA SSVC framework confirms no current exploitation activity, classifies the vulnerability as non-automatable (requires social engineering to trick users into cloning malicious workspaces), and notes total technical impact. The attack chain requires convincing developers to clone a workspace from an untrusted source-feasible in supply chain scenarios but not opportunistic mass exploitation. Patch availability from vendor (commit 53c29df2 fixing the trust boundary issue) and absence of public proof-of-concept code further reduce urgency. Primary risk exists in environments where developers routinely clone workspaces from semi-trusted or public sources without vetting, particularly in open-source contribution workflows. Organizations should prioritize patching based on OpenClaw usage patterns: high priority if used with external workspace repositories, moderate priority for internal-only deployments with workspace source controls already in place. |
| Exploit ScenarioDerived | An attacker creates a malicious OpenClaw workspace repository on a public Git hosting service, embedding a plugin that claims a built-in channel ID reserved for trusted core functionality. The attacker socially engineers a target developer through phishing, issue comments, or pull request discussions to clone this workspace for review or collaboration. When the victim executes the workspace clone operation in OpenClaw, the malicious plugin's channel shadow activates during the built-in channel setup phase-before the application's trust verification prompt appears. The attacker's code now executes with full OpenClaw process privileges, enabling data exfiltration from the workspace, credential theft from memory, or persistence mechanism installation. No public proof-of-concept code has been identified at time of analysis, but the attack primitive is straightforward for adversaries familiar with OpenClaw's plugin architecture. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv2 – Apr 21, 2026
Malicious workspace plugins in OpenClaw versions before 2026.4.2 achieve arbitrary code execution by shadowing built-in channel IDs during workspace clone and setup operations. The vulnerability exploits a trust boundary flaw (CWE-829) where untrusted plugins execute before explicit user trust confirmation, requiring only that a victim clone a poisoned workspace repository. With CVSS 8.5 (High) and local attack vector requiring user interaction, real-world risk is moderate: EPSS probability sits at 0.01% (2nd percentile) with no confirmed active exploitation (not in CISA KEV), and SSVC assessment classifies it as non-automatable with total technical impact but no current exploitation.
Earlier versions of this analysis (1)
OpenClaw workspace channels can execute malicious plugin code during built-in channel setup before explicit trust, allowing local attackers who convince users to open a cloned workspace (UI:P) to achieve arbitrary code execution. Affects OpenClaw versions prior to 2026.4.2. VulnCheck disclosed this RCE-tagged vulnerability with patch available via GitHub commit 53c29df. No active exploitation confirmed (not in CISA KEV), but the improper trust boundary (CWE-829) enables pre-authentication code execution through shadow channel technique.
RemediationAI
Upgrade immediately to OpenClaw 2026.4.2 or later, which implements proper trust boundary enforcement before channel registration during workspace setup (fixed in commit 53c29df2a9eb242a70d0ff29f3d1e67c8d6801f0). Vendor advisory available at https://github.com/openclaw/openclaw/security/advisories/GHSA-2qrv-rc5x-2g2h. For environments unable to upgrade immediately, implement workspace source allowlisting: configure OpenClaw to only clone workspaces from explicitly trusted repository URLs or internal Git servers, blocking arbitrary external workspace sources (trade-off: prevents legitimate external collaboration workflows). Alternatively, disable automatic plugin loading during workspace clone operations if the application supports a manual plugin approval mode (trade-off: requires additional user steps for legitimate plugin installation, may break automated workspace setup scripts). As a detective control, enable audit logging for workspace clone events and plugin registration attempts to identify potential exploitation attempts, though this provides no preventive protection. VulnCheck advisory with additional technical details available at https://www.vulncheck.com/advisories/openclaw-untrusted-workspace-channel-shadow-code-execution-during-built-in-channel-setup.
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in npm
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
This vulnerability stems from CWE-829 (Inclusion of Functionality from Untrusted Control Sphere), where OpenClaw's plugin architecture fails to properly isolate untrusted code during the critical workspace initialization phase. The attack exploits the channel registration mechanism: OpenClaw uses 'channels' as communication boundaries between the core application and plugins, with certain channel IDs reserved for built-in trusted functionality. The vulnerability allows an attacker-controlled workspace to include a malicious plugin that claims a bundled (built-in) channel identifier during the workspace clone and setup process. Because the channel shadow occurs before the plugin trust verification step, the malicious code executes with the privileges of the OpenClaw process despite never receiving explicit user approval. This represents a time-of-check/time-of-use (TOCTOU) variant where the trust decision occurs after the code execution boundary has already been crossed. The local attack vector (AV:L) with user interaction (UI:P) indicates the victim must actively clone the malicious workspace, but once cloned, exploitation requires low complexity (AC:L) with no additional privileges (PR:N).
Know when Openclaw gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Primary rating from NVD · only source for this CVE.
CVSS VectorNVD
Lifecycle Timeline
2DescriptionCVE.org
OpenClaw before 2026.4.2 contains an improper trust boundary vulnerability allowing untrusted workspace channel shadows to execute during built-in channel setup and login. Attackers can clone a workspace with a malicious plugin claiming a bundled channel id to achieve unintended in-process code execution before the plugin is explicitly trusted.
Blast Radius
ecosystem impact- 5 npm packages depend on openclaw (5 direct, 0 indirect)
Ecosystem-wide dependent count for version 2026.4.2.
Executive ViewAI
OpenClaw versions prior to 2026.4.2 contain a critical remote code execution vulnerability in workspace channel initialization that allows attackers to execute arbitrary code by convincing users to open malicious cloned workspaces, potentially compromising developer environments and supply chain integrity. This affects any organization using OpenClaw for collaborative development and requires immediate user awareness and version verification across all installations.
Pending official vendor release confirmation: restrict OpenClaw workspace sharing to trusted internal networks only; disable automatic plugin loading for workspace channels; require explicit administrator approval before opening cloned workspaces; isolate affected developer machines from production infrastructure. Verify availability and deploy GitHub commit 53c29df as interim mitigation if vendor patch release timeline is unclear.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
Affected Products (CPE)CVE.org
Related Vulnerabilities in OpenClaw Multiple Authorization and Security Flaws
View all 14Auth bypass in OpenClaw voice-call extension before 2026.2.1. EPSS 0.68%. PoC and patch available.
Privilege escalation in OpenClaw (pre-2026.3.28) allows unauthenticated remote attackers to gain administrative access b
OpenClaw versions 2026.2.22 through 2026.2.24 contain a privilege escalation vulnerability that allows authenticated att
An authorization mismatch vulnerability in OpenClaw versions prior to 2026.3.1 allows authenticated users with operator.
OpenClaw versions prior to 2026.1.29 automatically establish WebSocket connections to attacker-controlled gateway URLs e
Path traversal in OpenClaw through version 2026.3.23 enables unauthenticated remote attackers to read arbitrary files in
Authentication bypass in OpenClaw before 2026.5.3 allows remote attackers with low privileges to receive agent responses
Directory-context bypass in OpenClaw before 2026.8.1 allows authenticated attackers with user interaction to reuse an 'a
Unauthenticated access to the noVNC observer interface in OpenClaw's Docker sandbox browser allows anyone who can reach
OpenClaw versions before 2026.2.26 allow authenticated attackers to write arbitrary files outside the workspace director
OpenClaw versions prior to 2026.2.22 contain a shell environment variable injection vulnerability in the system.run func
OpenClaw versions prior to 2026.2.22 contain a resource exhaustion vulnerability where the application fails to consiste
NVD
CVE.org
EPSS
Vulnrichment
GitHub
VulDB
Exploit-DB