Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Network-reachable wrapper with authenticated low-priv access (PR:L); winning the approval/execution race raises AC:H; successful bypass yields full CIA impact within the vulnerable system.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
2DescriptionCVE.org
OpenClaw before 2026.5.18 contains a command injection vulnerability where shell wrapper argv could change between approval and execution. Attackers can rebuild command arguments after allowlist approval to execute unapproved command shapes, potentially bypassing security controls.
AnalysisAI
Command injection in OpenClaw before 2026.5.18 allows authenticated attackers to modify shell wrapper argv between approval and execution, bypassing the allowlist enforcement. The TOCTOU-style race against the approval gate lets attackers execute unapproved command shapes with the application's privileges, with no public exploit identified at time of analysis but a vendor advisory published via GHSA.
Technical ContextAI
OpenClaw uses a shell wrapper that validates command arguments against an allowlist before execution. The flaw is a classic CWE-367 Time-of-Check Time-of-Use (TOCTOU) race condition: argv is inspected at approval time, then the wrapper hands off to execution where the argument vector can be rebuilt or substituted. Because the validation and execution operate on separate views of the argument state, an attacker who controls inputs to the wrapper can present a benign command shape during the allowlist check and a different shape at execution, defeating the security boundary intended by the wrapper.
RemediationAI
Vendor-released patch: upgrade OpenClaw to 2026.5.18 or later per the GHSA-2j8v-hwgc-x698 advisory (https://github.com/openclaw/openclaw/security/advisories/GHSA-2j8v-hwgc-x698). If immediate upgrade is not possible, restrict access to the shell wrapper endpoint so that only fully trusted operators can submit commands (this removes most of the delegated-execution value the wrapper provides), disable any feature that allows untrusted callers to influence argv after the allowlist check, and audit recently executed commands for argv shapes that do not match approved patterns. Monitor the VulnCheck advisory (https://www.vulncheck.com/advisories/openclaw-command-argument-modification-via-shell-wrapper-between-approval-and-execution) for further mitigation guidance.
Auth bypass in OpenClaw voice-call extension before 2026.2.1. EPSS 0.68%. PoC and patch available.
Privilege escalation in OpenClaw (pre-2026.3.28) allows unauthenticated remote attackers to gain administrative access b
OpenClaw versions 2026.2.22 through 2026.2.24 contain a privilege escalation vulnerability that allows authenticated att
An authorization mismatch vulnerability in OpenClaw versions prior to 2026.3.1 allows authenticated users with operator.
OpenClaw versions prior to 2026.1.29 automatically establish WebSocket connections to attacker-controlled gateway URLs e
Path traversal in OpenClaw through version 2026.3.23 enables unauthenticated remote attackers to read arbitrary files in
OpenClaw sandbox browser functionality launches x11vnc for noVNC observer sessions without requiring authentication, all
OpenClaw versions before 2026.2.26 allow authenticated attackers to write arbitrary files outside the workspace director
OpenClaw versions prior to 2026.2.22 contain a shell environment variable injection vulnerability in the system.run func
OpenClaw versions prior to 2026.2.22 contain a resource exhaustion vulnerability where the application fails to consiste
OpenClaw versions prior to 2026.3.1 contain a sandbox escape vulnerability that allows authenticated attackers with low
OpenClaw versions 2026.1.30 and below fail to validate Telegram webhook secret tokens when `channels.telegram.webhookSec
Same technique Command Injection
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-36610
GHSA-8v2r-mv47-wxfr