CVE-2026-22168 OpenClaw < 2026.2.21 - Command Injection via cmd.exe /c Trailing Arguments in system.run
HighCVSS 7.1
EPSS 0.93%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
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.
Upgrade path
3 packages: 3 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| npm openclaw | < 2026.2.21 | 2026.2.21 | Fixed |
| npm openclaw(npm) | < 2026.2.21 | 2026.2.21 | Fixed |
| openclaw | < 2026.2.21 | 2026.2.21 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| npm openclaw | < 2026.2.21 | 2026.2.21 |
| npm openclaw(npm) | < 2026.2.21 | 2026.2.21 |
| openclaw | < 2026.2.21 | 2026.2.21 |
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
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com
- github.com product