Openclaw cli: OpenClaw has Windows system.run approval mismatch on cmd.exe /c trailing arguments (CVE-2026-22168)
Description
A vulnerability in the OpenClaw CLI's Windows system.run approval process allows trailing arguments after 'cmd.exe /c' to execute without proper approval or audit text reflection. This mismatch can lead to local command execution on a trusted Windows node under an authenticated operator context. The issue affects OpenClaw versions up to 2026.2.19-2 and is planned to be fixed in version 2026.2.21.
CVSS v4.0
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The OpenClaw CLI has a Windows system.run approval-integrity mismatch vulnerability (CVE-2026-22168) where trailing arguments passed to 'cmd.exe /c' can execute while the approval and audit text only reflect a benign command string. This requires an authenticated operator and a trusted Windows node. The vulnerability allows local command execution under the node's process account and causes a mismatch between approved commands and executed commands. The fix involves canonicalizing the full command tail after 'cmd.exe /c' and unifying the command validation and approval process. The vulnerability affects versions <=2026.2.19-2, with a patch planned for 2026.2.21.
Potential Impact
This vulnerability enables local command execution on the trusted Windows node process account, potentially allowing an attacker with authenticated operator privileges to execute unauthorized commands. It also undermines the integrity of the approval and audit process by allowing execution of commands not reflected in the approval text.
Mitigation Recommendations
A patch is available and planned for release in OpenClaw version 2026.2.21. Users should update to this version once it is released to remediate the vulnerability. Until then, operators should be aware of the approval integrity mismatch and avoid using 'cmd.exe /c' with trailing arguments in approval workflows.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- BREW-openclaw-cli-CVE-2026-22168
- Osv Schema Version
- 1.7.3
- Ecosystems
- ["Homebrew"]
- Cvss Version
- 4.0
Threat ID: 6ac245d312601ec6a316800a
Added to database: 10/04/2026, 12:25:55 UTC
Last enriched: 10/04/2026, 13:16:00 UTC
Last updated: 10/04/2026, 16:08:36 UTC
Views: 2
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.