CVE-2026-22175: OpenClaw's exec allow-always can be bypassed via unrecognized multiplexer shell wrappers (busybox/toybox sh -c)
OpenClaw up to 2026.2.22-2 stores the wrong thing when you click allow-always on a command run through busybox sh -c or toybox sh -c. Later arbitrary commands under that wrapper then pass the allowlist. Upgrade to 2026.2.23.
Published Mar 2, 2026 · Updated Mar 18, 2026 · Analysis Nov 23, 2026
What an attacker can do
In allowlist mode, OpenClaw asks the user to approve shell commands. Allow-always saves a rule so the same command runs without a prompt. For multiplexer wrappers, the wrapper analysis treated busybox and toybox calls as ordinary commands. The rule therefore stored the path of the wrapper binary, not the inner executable (CWE-184, incomplete list of disallowed inputs).
After one approval, any later payload run as busybox sh -c with any inner command matches the stored rule. The approval gate no longer gates anything. A prompt-injected agent can run arbitrary shell commands on the host without a further prompt, within the rights of the user running OpenClaw. The attacker needs to steer the agent, for example through a poisoned web page or repository file, and needs a user who once chose allow-always for such a wrapper. Maintainers rate it moderate.
Who is affected
The npm package openclaw, versions up to and including 2026.2.22-2, when exec approvals run in allowlist mode and an allow-always rule was granted for a busybox or toybox shell invocation. Check the version:
npm ls openclawopenclaw
- Ecosystem
- npm
- Affected
- < 2026.2.23
- Fixed in
- 2026.2.23
- Check
npm ls openclaw
How to fix it
Upgrade to 2026.2.23 or later. The fix, commit a67689a7e3ad494b6637c76235a664322d526f9e, hardens wrapper detection and persistence so an approval binds to the inner executable. It fails closed when the wrapper cannot be safely unwrapped. The advisory names no workaround. Until you upgrade, review your stored allow-always rules and delete any that point at busybox or toybox.
How to tell if you were hit
Look in your OpenClaw exec approval store for allow-always entries whose path is a busybox or toybox binary. Check shell history and process logs for busybox sh -c or toybox sh -c commands you did not expect. Beam records agent shell commands, and its rules can flag risky ones.
Original advisory
From the GitHub Advisory Database (CC BY 4.0).
Summary
OpenClaw exec approvals could be bypassed in allowlist mode when allow-always was granted through unrecognized multiplexer shell wrappers (notably busybox sh -c and toybox sh -c).
Affected Packages / Versions
- Package:
openclaw(npm) - Affected:
<= 2026.2.22-2 - Latest published vulnerable version at triage time:
2026.2.22-2(checked on February 24, 2026) - Fixed on
main: yes - Patched release:
2026.2.23
Details
Wrapper analysis treated busybox/toybox invocations as non-wrapper commands in this path, so allow-always persisted the wrapper binary path instead of the inner executable. That allowed later arbitrary payloads under the same multiplexer wrapper to satisfy the stored allowlist rule.
The fix hardens wrapper detection and persistence behavior for these multiplexer shell applets so approvals bind to intended inner executables and fail closed when unwrap safety is uncertain.
Fix Commit(s)
a67689a7e3ad494b6637c76235a664322d526f9e
Release Process Note
patched_versions is pre-set to the released version (2026.2.23). This advisory now reflects released fix version 2026.2.23.
OpenClaw thanks @jiseoung for reporting.
Credited to jiseoung.
Questions
- Am I affected if I never used allow-always?
The flaw is in how allow-always persists approvals for busybox and toybox shell wrappers. Without such a stored rule, the bypass the advisory describes does not apply. Upgrade anyway.
- Which version fixes CVE-2026-22175?
OpenClaw 2026.2.23. Versions up to 2026.2.22-2 are affected.
- Does it need a network attacker?
No direct network access is described. The risk comes from an agent that an attacker can steer, because the allowlist rule no longer limits what it runs.
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
