Description
OpenClaw versions prior to 2026.2.2 fail to properly validate Windows cmd.exe metacharacters in allowlist-gated exec requests (non-default configuration), allowing attackers to bypass command approval restrictions. Remote attackers can craft command strings with shell metacharacters like & or %...% to execute unapproved commands beyond the allowlisted operations.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| OpenClaw | OpenClaw | < 2026.2.2 | 2026.2.2 |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| npm | openclaw | < 2026.2.2 | 2026.2.2 | GHSA-qj77-c3c8-9c3q |
Advisories 1
- WID-SEC-2026-0424 OpenClaw: Mehrere Schwachstellen BSI CERT-Bund (WID) · Mar 5, 2026
References
- GitHub Security Advisory (GHSA-qj77-c3c8-9c3q) vendor-advisory
- Patch Commit patch
- VulnCheck Advisory: OpenClaw < 2026.2.2 - Command Injection via cmd.exe Parsing Bypass in Allowlist Enforcement third-party-advisory