CVE-2026-41295: OpenClaw: Untrusted workspace channel shadows could execute during built-in channel setup
Before OpenClaw 2026.4.2, setting up or logging in to a built-in channel could resolve a plugin from an untrusted workspace that claimed the same channel id. That plugin's code ran during setup even while it was disabled. A cloned repository could therefore get in-process code execution. Fixed in 2026.4.2.
Published Apr 7, 2026 · Updated Apr 20, 2026 · Analysis Oct 30, 2026
What an attacker can do
OpenClaw lets a workspace ship channel plugins and has a trust step before such plugins are enabled. Built-in channel setup and login resolved the channel by id and could pick a workspace plugin that shadowed a bundled channel id, without waiting for the user to trust it. A plugin that was still disabled could run anyway. This bypasses the workspace-plugin trust boundary (CWE-829, inclusion of functionality from an untrusted control sphere).
The attacker needs the victim to clone or open a workspace containing a malicious plugin that claims a bundled channel id, and then to run channel setup or login for that built-in channel. The code runs inside the OpenClaw process, with the user's rights, so it can read the config, tokens and files that OpenClaw can reach. The CVSS 4.0 vector shows low integrity impact and passive attack requirements.
The risk grows for people who open third-party repositories with OpenClaw. Which channel ids are shadowable is not listed in the sources.
Who is affected
The openclaw npm package up to and including 2026.4.1, the latest version when the advisory was written. Check the installed version and review workspaces you have opened.
npm ls -g openclaw
openclaw --versionOnly runs of built-in channel setup or login inside an untrusted workspace trigger the flaw.
openclaw
- Ecosystem
- npm
- Affected
- <= 2026.4.1
- Fixed in
- 2026.4.2
- Check
npm ls openclaw
How to fix it
Upgrade to 2026.4.2 or later.
npm install -g openclaw@latestThe fix is commit 53c29df, which ignores untrusted workspace channel shadows during setup resolution. No workaround is given. Until you upgrade, do not run channel setup or login from inside a workspace you did not author, and review any plugin directories in cloned repositories first.
How to tell if you were hit
In workspaces you have opened, look for plugin definitions that use the id of a bundled channel but are not part of OpenClaw, and for plugin code you do not recognize. Check shell history and process listings for activity that began when you ran channel setup or login. Beam records agent shell commands and file access, and its rules flag risky ones, which helps if setup was run in an agent session.
Original advisory
From the GitHub Advisory Database (CC BY 4.0).
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.
Credited to zpbrent.
Questions
- Which OpenClaw version fixes CVE-2026-41295?
2026.4.2. Versions up to 2026.4.1 are affected.
- Does the plugin need to be enabled?
No. The advisory says a workspace plugin could execute during channel setup even while it was still disabled.
- What triggers it?
Running built-in channel setup or login in a workspace that holds a malicious plugin claiming a bundled channel id.
- Is it exploited in the wild?
No source says so. The EPSS score is 0.0013.
References
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. The analysis is written by an AI model from the sources listed above and checked by automated rules before it is published. Check versions against the vendor's advisory before you act. Methodology
More OpenClaw vulnerabilities
All OpenClaw entriesCVE-2026-62197
OpenClaw: Browser CDP discovery could accept blocked WebSocket URLs
medium8.5Oct 21, 2026CVE-2026-35630
OpenClaw: QQBot native approval buttons did not enforce configured approver identity
high8.0Jul 2, 2026CVE-2026-53806
OpenClaw: Combined POSIX shell options could confuse exec revalidation
high8.8Jul 2, 2026CVE-2026-53809
OpenClaw: Embedded runner policy could be confused by provider aliases
medium3.8Jul 2, 2026CVE-2026-53810
OpenClaw's marketplace runtime extension metadata could point at unscanned payloads
high8.8Jul 2, 2026CVE-2026-53811
OpenClaw: Matrix allowFrom could bind to mutable display names
high8.8Jul 2, 2026
