Description
OpenClaw versions prior to 2026.2.21 contain an approval-integrity mismatch vulnerability in system.run that allows authenticated operators to execute arbitrary trailing arguments after cmd.exe /c while approval text reflects only a benign command. Attackers can smuggle malicious arguments through cmd.exe /c to achieve local command execution on trusted Windows nodes with mismatched audit logs.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| OpenClaw | OpenClaw | < 2026.2.21 | 2026.2.21 |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| npm | openclaw | < 2026.2.21 | 2026.2.21 | GHSA-5v6x-rfc3-7qfr |
Advisories 1
- WID-SEC-2026-0472 OpenClaw: Mehrere Schwachstellen BSI CERT-Bund (WID) · Apr 12, 2026
References
- GitHub Security Advisory (GHSA-5v6x-rfc3-7qfr) vendor-advisory
- Patch Commit patch
- VulnCheck Advisory: OpenClaw <= 2026.2.19-2 - Command Injection via cmd.exe /c Trailing Arguments in system.run third-party-advisory