GHSA-2qrv-rc5x-2g2h: OpenClaw: untrusted plugin RCE via workspace channel setup
GHSA-2qrv-rc5x-2g2hMEDIUMOpenClaw versions <= 2026.4.1 allow a disabled, untrusted workspace plugin to execute arbitrary in-process code by claiming a bundled channel identifier during workspace setup or login — no explicit user trust decision is required, only cloning a malicious workspace triggers execution. This is a trust-boundary bypass at the most sensitive moment in the agent lifecycle: initialization, before security controls are fully applied. With 37 prior CVEs in the openclaw package and confirmed in-the-wild abuse of its plugin ecosystem (AIID #1368 documented roughly 17% malicious skills in OpenClaw's ClawHub actively exfiltrating credentials), the attack surface is not theoretical — threat actors are already targeting OpenClaw's plugin trust model. Patch all openclaw deployments to >= 2026.4.2 immediately and audit any recently cloned or imported workspaces for unrecognized plugin registrations.
What is the risk?
Medium severity per CVSS but contextually elevated for AI agent deployments. The trust bypass occurs at setup time, making detection harder than runtime exploits — the plugin runs before the user has a chance to review or reject it. Exploitation requires a victim to clone a malicious workspace, which is achievable via social engineering, malicious workspace marketplaces, or supply chain compromise of shared workspace templates. No public exploit or CISA KEV listing currently, but the pattern aligns precisely with active abuse documented in AIID #1368. Environments where teams share or clone external workspaces face immediate elevated risk.
What systems are affected?
| Package | Ecosystem | Vulnerable Range | Patched |
|---|---|---|---|
| OpenClaw | npm | <= 2026.4.1 | 2026.4.2 |
Do you use OpenClaw? You're affected.
How severe is it?
What should I do?
5 stepsPatch: Upgrade openclaw to >= 2026.4.2 immediately across all environments.
Audit: Review all workspace configurations for unknown or unexpected plugin registrations, especially in recently cloned workspaces.
Restrict: Enforce workspace provenance policies — only allow workspaces from trusted internal sources until patch is confirmed deployed.
Detect: Monitor for unexpected plugin activation events during channel setup/login in agent logs.
Isolate: Run OpenClaw agent processes with least-privilege permissions to limit blast radius if exploitation has already occurred.
How is it classified?
Which compliance frameworks are affected?
This CVE is relevant to:
Frequently Asked Questions
What is GHSA-2qrv-rc5x-2g2h?
OpenClaw versions <= 2026.4.1 allow a disabled, untrusted workspace plugin to execute arbitrary in-process code by claiming a bundled channel identifier during workspace setup or login — no explicit user trust decision is required, only cloning a malicious workspace triggers execution. This is a trust-boundary bypass at the most sensitive moment in the agent lifecycle: initialization, before security controls are fully applied. With 37 prior CVEs in the openclaw package and confirmed in-the-wild abuse of its plugin ecosystem (AIID #1368 documented roughly 17% malicious skills in OpenClaw's ClawHub actively exfiltrating credentials), the attack surface is not theoretical — threat actors are already targeting OpenClaw's plugin trust model. Patch all openclaw deployments to >= 2026.4.2 immediately and audit any recently cloned or imported workspaces for unrecognized plugin registrations.
Is GHSA-2qrv-rc5x-2g2h actively exploited?
No confirmed active exploitation of GHSA-2qrv-rc5x-2g2h has been reported, but organizations should still patch proactively.
How to fix GHSA-2qrv-rc5x-2g2h?
1. Patch: Upgrade openclaw to >= 2026.4.2 immediately across all environments. 2. Audit: Review all workspace configurations for unknown or unexpected plugin registrations, especially in recently cloned workspaces. 3. Restrict: Enforce workspace provenance policies — only allow workspaces from trusted internal sources until patch is confirmed deployed. 4. Detect: Monitor for unexpected plugin activation events during channel setup/login in agent logs. 5. Isolate: Run OpenClaw agent processes with least-privilege permissions to limit blast radius if exploitation has already occurred.
What systems are affected by GHSA-2qrv-rc5x-2g2h?
This vulnerability affects the following AI/ML architecture patterns: agent frameworks, plugin systems, AI development workspaces, agentic pipelines.
What is the CVSS score for GHSA-2qrv-rc5x-2g2h?
No CVSS score has been assigned yet.
What is the AI security impact?
Affected AI Architectures
MITRE ATLAS Techniques
AML.T0010.005AI Agent ToolAML.T0011.002Poisoned AI Agent ToolAML.T0081Modify AI Agent ConfigurationAML.T0110AI Agent Tool PoisoningCompliance Controls Affected
What are the technical details?
Original Advisory
## Summary Before OpenClaw 2026.4.2, built-in channel setup and login could resolve an untrusted workspace channel shadow before the plugin was explicitly trusted. A malicious workspace plugin that claimed a bundled channel id could execute during channel setup even while still disabled. ## Impact A cloned workspace could turn channel setup for a built-in channel into unintended in-process code execution from an untrusted workspace plugin. This bypassed the intended workspace-plugin trust boundary during setup and login. ## Affected Packages / Versions - Package: `openclaw` (npm) - Affected versions: `<= 2026.4.1` - Patched versions: `>= 2026.4.2` - Latest published npm version: `2026.4.1` ## Fix Commit(s) - `53c29df2a9eb242a70d0ff29f3d1e67c8d6801f0` — ignore untrusted workspace channel shadows during setup resolution ## Release Process Note The fix is present on `main` and is staged for OpenClaw `2026.4.2`. Publish this advisory after the `2026.4.2` npm release is live. Thanks @zpbrent for reporting.
Exploitation Scenario
An adversary publishes a malicious workspace on a public sharing platform or compromises an existing trusted workspace template. The workspace contains a plugin that claims a bundled channel identifier matching a built-in OpenClaw channel. When a victim developer or operator clones the workspace and initiates channel setup or logs in, OpenClaw resolves the channel shadow without verifying plugin trust status, executing the malicious plugin in-process. The plugin can then enumerate credentials stored in the agent configuration, exfiltrate API keys, establish persistence, or laterally pivot to connected AI services — all before the user sees any trust prompt. This mirrors the exact credential-theft pattern observed in AIID #1368.
Weaknesses (CWE)
CWE-829 — Inclusion of Functionality from Untrusted Control Sphere: The product imports, requires, or includes executable functionality (such as a library) from a source that is outside of the intended control sphere.
- [Architecture and Design] Use a vetted library or framework that does not allow this weakness to occur or provides constructs that make this weakness easier to avoid [REF-1482].
- [Architecture and Design] When the set of acceptable objects, such as filenames or URLs, is limited or known, create a mapping from a set of fixed input values (such as numeric IDs) to the actual filenames or URLs, and reject all other inputs. For example, ID 1 could map to "inbox.txt" and ID 2 could map to "profile.txt". Features such as the ESAPI AccessReferenceMap [REF-45] provide this capability.
Source: MITRE CWE corpus.
References
Timeline
Related Vulnerabilities
CVE-2026-221729.9OpenClaw: WebSocket scope self-elevation grants admin
Same package: openclawCVE-2026-335799.9OpenClaw: scope bypass escalates low-priv to admin
Same package: openclawCVE-2026-329229.9OpenClaw: privilege escalation to RCE via token scope bypass
Same package: openclawCVE-2026-307419.8OpenClaw: RCE via request-side prompt injection
Same package: openclawCVE-2026-320389.8OpenClaw: sandbox bypass enables container lateral movement
Same package: openclaw