NewApp Monitoring is liveSign up free
AgentbeamBeta
AI agent vulnerability · OpenClaw

CVE-2026-32920: OpenClaw: Workspace plugin auto-discovery allowed code execution from cloned repositories

highCVSS 4.0 8.5GHSA-99qw-6mr3-36qr

OpenClaw up to and including 2026.3.11 loaded plugins from .openclaw/extensions/ in the current workspace with no trust or install step. A cloned malicious repository could carry a plugin that ran as soon as the user started OpenClaw in that directory, giving code execution under the user's account. Fixed in openclaw 2026.3.12.

Published Mar 13, 2026 · Updated Apr 6, 2026 · Analysis Oct 31, 2026

What an attacker can do

OpenClaw looked for plugins in .openclaw/extensions/ inside the working directory and loaded what it found. A repository is data the user got from someone else, yet the plugin inside it ran with the user's full rights (CWE-829). The release notes describe the fix as disabling implicit workspace plugin auto-load, so workspace plugins now need an explicit trust decision.

The attacker publishes or sends a repository with a crafted plugin in that folder, and gets a victim to clone it and run OpenClaw there. The CVSS vector reflects this as active user interaction with no privileges. The only click is the normal one: starting the tool in the directory.

The plugin runs arbitrary code as the user. That reaches SSH keys, cloud credentials, API tokens in environment variables, the OpenClaw configuration with its channel tokens, and the rest of the home directory. Developers who review pull requests or try out third-party repositories are the usual targets. A CI job that runs OpenClaw in a checked-out pull request is also exposed.

Who is affected

The npm package openclaw up to and including 2026.3.11. Check the version:

npm ls openclaw
openclaw --version

To find risky checkouts, look for plugin folders that came with repositories:

find ~ -type d -path "*/.openclaw/extensions" 2>/dev/null

Any such folder in a repo you did not write deserves review.

openclaw

Ecosystem
npm
Affected
<= 2026.3.11
Fixed in
2026.3.12
Check
npm ls openclaw

How to fix it

Upgrade to openclaw 2026.3.12 or later:

npm install -g [email protected]

Workspace plugin loading now needs an explicit trusted state before it executes. The release notes name no setting or command for granting that trust, so check the OpenClaw plugin documentation. On older releases, do not run OpenClaw inside untrusted repositories. If you ran it in one, treat the account as possibly compromised and rotate its credentials.

How to tell if you were hit

Look for .openclaw/extensions/ folders in cloned repositories and read the files in them. Check shell history for OpenClaw runs from freshly cloned directories. On the host, review processes and network connections started around the time OpenClaw launched in a new repo. Beam records the shell commands an agent runs and flags risky ones by its rules, which helps if the plugin ran commands through an agent.

Original advisory

From the GitHub Advisory Database (CC BY 4.0).

Summary

OpenClaw automatically discovered and loaded plugins from .openclaw/extensions/ inside the current workspace without an explicit trust or install step. A malicious repository could include a crafted workspace plugin that executed as soon as a user ran OpenClaw from that cloned directory.

Impact

Opening or running OpenClaw in an untrusted repository could lead to arbitrary code execution under the user's account.

Affected versions

openclaw <= 2026.3.11

Patch

Fixed in openclaw 2026.3.12. Workspace plugin loading now requires explicit trusted state before execution. Users should update to 2026.3.12 or later and avoid running OpenClaw inside untrusted repositories on older releases.

Credited to lintsinghua.

Questions

Is OpenClaw 2026.3.11 affected by CVE-2026-32920?

Yes. Versions up to and including 2026.3.11 are affected. 2026.3.12 is the fixed version.

What does the victim have to do?

Clone a malicious repository and run OpenClaw from that directory. The plugin in .openclaw/extensions/ then runs without a prompt.

How does the fix work?

Workspace plugins are no longer auto-loaded. Loading needs an explicit trust decision before the plugin executes.

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 entries