CVE-2026-32000: OpenClaw has command injection via Windows shell fallback in Lobster tool execution
OpenClaw up to 2026.2.17 can run injected shell commands through its Lobster extension on Windows. When launching a subprocess fails, the tool retries with `shell: true`, so metacharacters in arguments are interpreted by the shell. Upgrade to openclaw 2026.2.19.
Published Mar 3, 2026 · Updated Mar 19, 2026 · Analysis Oct 31, 2026
What an attacker can do
The Lobster tool in extensions/lobster/src/lobster-tool.ts starts a subprocess. On Windows, if the spawn fails with EINVAL or ENOENT, the code retried the launch with shell: true. That hands the whole command line to the Windows shell, which treats characters such as & and | as command separators. Anything an attacker can place in a tool argument then runs as a command.
In an agent setting the arguments can come from model output, so a prompt injected through a web page, issue or file the agent reads could steer them. The advisory does not describe a specific prompt-injection chain. The command runs with the OpenClaw user's rights, so it can reach files, tokens and the rest of the developer's machine. The CVSS 4.0 vector is local, with no privileges and no user interaction.
Only Windows hosts are on the vulnerable path, and only when the first spawn attempt fails.
Who is affected
openclaw (npm) versions up to and including 2026.2.17 are affected; the advisory lists 2026.2.17 as the latest confirmed affected release. The shell fallback applies on Windows hosts that use the Lobster extension.
npm ls openclawIf OpenClaw is installed globally, use npm ls -g openclaw.
openclaw
- Ecosystem
- npm
- Affected
- < 2026.2.19
- Fixed in
- 2026.2.19
- Check
npm ls openclaw
How to fix it
Upgrade to openclaw 2026.2.19:
npm install [email protected]The fix commit removes the shell fallback. Windows wrappers are now resolved to an explicit executable or script and run with an argument array. If the wrapper entrypoint cannot be resolved, the call fails without spawning anything. The sources give no workaround.
How to tell if you were hit
On Windows hosts running OpenClaw, look for cmd.exe child processes of the OpenClaw or Node process that started from the Lobster tool, and for command lines containing &, | or ; in Lobster tool arguments. Review agent session logs for Lobster calls with odd arguments. Beam can record agent shell commands and flag risky ones, which helps you spot unexpected child commands.
Original advisory
From the GitHub Advisory Database (CC BY 4.0).
Summary
The Lobster extension tool execution path used a Windows shell fallback (shell: true) after spawn failures (EINVAL/ENOENT). In that fallback path, shell metacharacters in command arguments can be interpreted by the shell, enabling command injection.
Affected Packages / Versions
- Package:
openclaw(npm) - Affected versions:
<= 2026.2.17 - Latest confirmed affected published version:
2026.2.17 - Patched version:
2026.2.19
Technical Details
In affected releases (including v2026.2.17), extensions/lobster/src/lobster-tool.ts retried subprocess launch with shell: true on Windows for EINVAL/ENOENT spawn errors. The fix removes shell fallback and resolves Windows wrappers to explicit executable/script argv execution.
Fix Commit(s)
ba7be018da354ea9f803ed356d20464df0437916
OpenClaw thanks @allsmog for reporting.
Credited to allsmog.
Questions
- Does CVE-2026-32000 affect Linux or macOS?
The advisory describes the shell fallback only for Windows, triggered by
EINVALorENOENTspawn errors. It does not describe an issue on other platforms.- Which OpenClaw version fixes it?
2026.2.19. Versions up to 2026.2.17 are affected.
- Is it known to be exploited?
No source reports exploitation, and the entry is not in the CISA KEV catalog.
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
