Skip to main content

OpenClaw CVE-2026-53822

| EUVDEUVD-2026-36610 HIGH
Time-of-check Time-of-use (TOCTOU) Race Condition (CWE-367)
2026-06-12 VulnCheck GHSA-8v2r-mv47-wxfr
8.7
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate to OpenClaw with low privileges
  2. Delivery
    Submit allowlisted command to shell wrapper
  3. Exploit
    Mutate argv source after approval
  4. Execution
    Wrapper executes unapproved command shape
  5. Persist
    Bypass allowlist and run arbitrary command
  6. Impact
    Compromise confidentiality integrity availability

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture TOCTOU prevention
Exploitation Conditions

Exploitation requires authenticated access to OpenClaw's shell wrapper command-submission interface (PR:L) and the ability to influence argv between the allowlist approval step and the execution step - the prerequisite is therefore a deployment that exposes the wrapper to users who can supply commands and a target where the argv source is mutable across the approval/execution boundary. Limiting factors are the low-but-nonzero privilege requirement, the need to win a TOCTOU race against the approval gate, and the fact that environments which front the wrapper with an external strict allowlist or which run only static, pre-built command lines are not exploitable; no user interaction is required (UI:N).

Impact

The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N) with VC:H/VI:H/VA:H and a base score of 8.7 indicates a network-reachable, low-complexity flaw requiring only low privileges and yielding full confidentiality, integrity, and availability impact on the vulnerable system - a credible high-priority issue for any deployment exposing the wrapper to authenticated users. There is no EPSS score, no KEV listing, and no POC referenced, so real-world exploitation pressure is currently unmeasured; the VulnCheck advisory and GHSA publication suggest coordinated disclosure rather than observed in-the-wild activity. The PR:L requirement and the need to win a race between approval and execution meaningfully constrain opportunistic mass exploitation, but the allowlist-bypass nature makes this a sharp tool for an attacker who already has a foothold within a multi-tenant or delegated-execution OpenClaw deployment.

Exploit ScenarioDerived

An attacker with low-privileged authenticated access submits a command through OpenClaw's shell wrapper that presents an allowlisted argv at approval time, then mutates the underlying argument source so that execution receives a different, unapproved command shape - for example swapping a benign flag for a shell-redirect or invoking an off-allowlist binary. No public exploit code has been identified, but the race window is intrinsic to the wrapper's design and reproducible once the approval/execution split is understood.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jun 12, 2026

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.

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.

Affected VersionsENISA

OpenClaw 0 <2026.5.18

Affected Packages

npm openclaw fix: 2026.5.18

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in npm

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

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.

Know when Openclaw gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulnCheck) PRIMARY 8.7 HIGH
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
vuln.today AI 7.5 HIGH

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.

3.1 AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
4.0 AV:N/AC:H/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

1
Patch available
Jun 13, 2026 - 02:00 EUVD

DescriptionCVE.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.

Executive ViewAI

Why It Matters

OpenClaw versions before 2026.5.18 contain a vulnerability in the command execution approval workflow that allows authenticated users to modify approved commands between approval and execution, thereby circumventing security controls meant to govern privileged command execution. With no public exploit identified at time of analysis, the primary risk is from insider or privileged account misuse. Organizations using affected versions should immediately identify deployments and restrict access pending remediation.

Business Impact: High
Compensating Controls

Restrict access to OpenClaw approval system and administrative functions to minimum necessary personnel; implement comprehensive audit logging and alerting on command modifications between approval and execution; isolate or segment critical OpenClaw deployments from sensitive systems; require independent verification of critical command executions; periodically review execution logs for unauthorized modifications.

Threat Intelligence Overview

EPSS Score
0.2%
Top 63% exploitable
Social Media
1
Sightings
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment CIRCL GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

44
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +44
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

OS command injection occurs when an application passes unsanitized user input directly into system shell commands.

CVE-2026-28446 CRITICAL POC
9.4 Mar 05

Auth bypass in OpenClaw voice-call extension before 2026.2.1. EPSS 0.68%. PoC and patch available.

CVE-2026-33579 CRITICAL POC
9.4 Mar 31

Privilege escalation in OpenClaw (pre-2026.3.28) allows unauthenticated remote attackers to gain administrative access b

CVE-2026-32042 HIGH POC
8.8 Mar 21

OpenClaw versions 2026.2.22 through 2026.2.24 contain a privilege escalation vulnerability that allows authenticated att

CVE-2026-32051 HIGH POC
8.8 Mar 21

An authorization mismatch vulnerability in OpenClaw versions prior to 2026.3.1 allows authenticated users with operator.

CVE-2026-25253 HIGH POC
8.8 Feb 01

OpenClaw versions prior to 2026.1.29 automatically establish WebSocket connections to attacker-controlled gateway URLs e

CVE-2026-32846 HIGH POC
8.7 Mar 26

Path traversal in OpenClaw through version 2026.3.23 enables unauthenticated remote attackers to read arbitrary files in

CVE-2026-53857 HIGH POC
8.6 Jun 16

Authentication bypass in OpenClaw before 2026.5.3 allows remote attackers with low privileges to receive agent responses

CVE-2026-100530 HIGH POC
8.5 Sep 26

Directory-context bypass in OpenClaw before 2026.8.1 allows authenticated attackers with user interaction to reuse an 'a

CVE-2026-32064 HIGH POC
8.5 Mar 21

Unauthenticated access to the noVNC observer interface in OpenClaw's Docker sandbox browser allows anyone who can reach

CVE-2026-44118 HIGH POC
8.5 May 06

Authentication bypass in OpenClaw's MCP loopback interface allows local low-privilege attackers to escalate to owner-lev

CVE-2026-32055 HIGH POC
7.6 Mar 21

OpenClaw versions before 2026.2.26 allow authenticated attackers to write arbitrary files outside the workspace director

CVE-2026-32056 HIGH POC
7.5 Mar 21

OpenClaw versions prior to 2026.2.22 contain a shell environment variable injection vulnerability in the system.run func

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy