OpenClaw < 2026.2.21 - Command Injection via cmd.exe /c Trailing Arguments in system.run
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Code execution, Security bypass
- Confidentiality · integrity · availability
- High · None · None
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub. Impact type from CWE-88 and CWE-863.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| OpenClaw | OpenClaw | before 2026.2.21 | 2026.2.21 | Patch available | CNA |
| — | openclaw (npm) | before 2026.2.21 | 2026.2.21 | Patch available | GHSA-5v6x-rfc3-7qfr |
- OpenClaw VendorOpenClaw Affected before 2026.2.21 Fixed in 2026.2.21 Patch available CNA
- openclaw (npm) Vendor— Affected before 2026.2.21 Fixed in 2026.2.21 Patch available GHSA-5v6x-rfc3-7qfr
Remediation
- Fix · CNA OpenClaw (OpenClaw) Fixed in 2026.2.21
- Fix · GHSA-5v6x-rfc3-7qfr openclaw (npm) Fixed in 2026.2.21 Advisory →
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Release ·
OpenClaw 2026.2.21
3 records Highest priority Priority LOW 3 LOW
Other records, highest priority first
- TI-2026-17787 OpenClaw < 2026.2.21 - Environment Variable Injection via Config env.varsPriority LOW 31
- TI-2026-21928 OpenClaw < 2026.2.21 - Prototype Pollution via Debug Override PathPriority LOW 12
Timeline
- 2026-10-02 Threatist record created from CVE-2026-22168
- 2026-10-03 Alias added: GHSA-5v6x-rfc3-7qfr
References
More Openclaw vulnerabilities
- TI-2026-25309 OpenClaw < 2026.3.28 Media Parsing Path Traversal to Arbitrary File Read CVSS 4.0HIGH 8.7
- TI-2026-20394 Exposure of resource to wrong sphere in OpenClaw CVSS 3.1HIGH 8.8
- TI-2026-27742 OpenClaw < 2026.3.24 - Arbitrary Code Execution via .npmrc in Local Plugin/Hook Installation CVSS 4.0HIGH 8.4
- TI-2026-27766 OpenClaw < 2026.3.24 - Denial of Service via Feishu Webhook Pre-Auth Body Parsing CVSS 4.0MEDIUM 6.9
- TI-2026-07315 OpenClaw bluebubbles Webhook monitor.ts handleBlueBubblesWebhookRequest improper authentication CVSS 4.0MEDIUM 6.9
- TI-2026-17789 OpenClaw < 2026.2.22 - Allowlist Bypass via Command Substitution in system.run CVSS 4.0HIGH 7.5
Sources
- CVE-2026-22168 · CVE Program
- CVE-2026-22168 · NVD
- FIRST EPSS
- GHSA-5v6x-rfc3-7qfr · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences