Severity by source
CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:P/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
Primary rating from NVD · only source for this CVE.
CVSS VectorNVD
CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:P/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
Lifecycle Timeline
4Blast Radius
ecosystem impact- 3 npm packages depend on openclaw (3 direct, 0 indirect)
Ecosystem-wide dependent count for version 2026.3.11.
DescriptionCVE.org
OpenClaw before 2026.3.11 contains an approval integrity vulnerability allowing attackers to execute rewritten local code by modifying scripts between approval and execution when exact file binding cannot occur. Remote attackers can change approved local scripts before execution to achieve unintended code execution as the OpenClaw runtime user.
AnalysisAI
Time-of-check-time-of-use (TOCTOU) race condition in OpenClaw runtime (<2026.3.11) allows local authenticated attackers with low privileges to execute arbitrary code by modifying approved scripts between authorization and execution phases. The vulnerability (CWE-367) enables privilege escalation to the OpenClaw runtime user context, requiring user interaction but trivial attack complexity. No public exploit identified at time of analysis, though EPSS data unavailable and CVE not present in CISA KEV catalog.
Technical ContextAI
OpenClaw implements a script approval mechanism intended to verify code before execution, but suffers from a classic time-of-check-time-of-use (TOCTOU) race condition (CWE-367). The vulnerability arises when the runtime cannot establish exact file binding between the approval phase and execution phase. During this window, an attacker can swap or modify the approved script file, causing the runtime to execute altered code while believing it operates on previously-vetted content. This represents a failure in atomic operations and inadequate file integrity verification across the approval-to-execution pipeline. The CVSS 4.0 vector indicates local attack surface (AV:L) with user interaction required (UI:P), suggesting the victim must trigger script execution after the attacker modifies the file. The CPE identifier (cpe:2.3:a:openclaw:openclaw) confirms this affects the core OpenClaw application runtime environment.
RemediationAI
Upgrade immediately to OpenClaw version 2026.3.11 or later, which implements atomic file binding and integrity verification between approval and execution phases to prevent TOCTOU exploitation. Download the patched release from the official OpenClaw repository and follow standard upgrade procedures for your deployment. Review the GitHub security advisory at https://github.com/openclaw/openclaw/security/advisories/GHSA-xf99-j42q-5w5p for version-specific guidance and migration notes. If immediate patching proves infeasible, implement compensating controls including restricting write access to script directories after approval, deploying file integrity monitoring to detect unauthorized modifications, running OpenClaw with minimal privileges in isolated environments, and auditing all script execution events. However, these workarounds provide incomplete protection against determined local attackers and should be considered temporary measures only until patching completes.
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
Share
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-17018
GHSA-wmgj-hrx3-23gj