Skip to main content
EPSS 0.4%top 67%

Openclaw cli: OpenClaw has Windows system.run approval mismatch on cmd.exe /c trailing arguments (CVE-2026-22168)

0
High
Published: 08/13/2026 (08/13/2026, 17:21:32 UTC)
Source: GCVE Database
Product: openclaw-cli

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

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vuln. Confidentiality
High
Vuln. Integrity
High
Vuln. Availability
High
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Affected software

Homebrewmore threats →ghsa
openclaw-cli
pkg:brew/openclaw-cli
Affected versions
<2026.7.1

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

AILast updated: 10/04/2026, 13:16:00 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses