Skip to main content

Openclaw CVE-2026-32979

| EUVDEUVD-2026-17018 HIGH
Time-of-check Time-of-use (TOCTOU) Race Condition (CWE-367)
7.0
CVSS 4.0 · NVD
View

Attack ChainAIDerived

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

  1. Access
    Obtain local access to OpenClaw system
  2. Exploit
    Approve malicious script through OpenClaw approval process
  3. Execution
    Modify approved script before execution
  4. Impact
    Execute rewritten code as OpenClaw runtime user

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A04:2021 - Insecure Design
ASVS 5.0
V15 - Secure Coding and Architecture TOCTOU prevention
Exploitation Conditions

Requires local access to OpenClaw before version 2026.3.11 with low-privilege user account. Attacker must modify approved local scripts between approval and execution when exact file binding cannot occur. Victim interaction needed to approve and execute the script.

Impact

Real-world risk assessment reveals moderate-to-high concern despite the 7.0 CVSS score. The CVSS 4.0 vector shows low attack complexity (AC:L) and low privileges required (PR:L), making exploitation straightforward for any local authenticated user, though user interaction (UI:P) provides partial friction. The vulnerability enables complete confidentiality, integrity, and availability compromise of the vulnerable component (VC:H/VI:H/VA:H) with no subsequent system impact (SC:N/SI:N/SA:N), indicating the blast radius remains contained to the OpenClaw runtime context. The local attack vector (AV:L) significantly limits exposure compared to network-accessible vulnerabilities, requiring prior system access. Without EPSS data or confirmed exploitation (no KEV listing), determining active targeting probability proves difficult. However, the RCE classification combined with trivial exploitation complexity elevates priority for environments where OpenClaw processes untrusted scripts or operates with elevated privileges. Organizations should prioritize patching based on whether OpenClaw handles sensitive operations or runs in multi-user environments where local attackers could exploit the TOCTOU window. The requirement for user interaction and local access substantially reduces urgency compared to unauthenticated remote vulnerabilities with similar CVSS scores.

Exploit ScenarioDerived

An authenticated attacker with low-level local access identifies an OpenClaw deployment processing approved scripts in a shared environment. The attacker crafts a malicious script and waits for a legitimate user to request approval for a benign script through the OpenClaw workflow. During the time window between when the administrator approves the legitimate script and when the runtime executes it, the attacker exploits the race condition by rapidly replacing the approved script file with their malicious payload. When execution occurs, OpenClaw runs the attacker's code with runtime user privileges, potentially enabling data exfiltration, lateral movement, or persistence establishment depending on the runtime's permission context. The attack requires precise timing but benefits from low complexity (AC:L) and succeeds whenever the approval-to-execution delay creates sufficient opportunity for file substitution.

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

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

Alert me

AnalysisAIv1 – Mar 29, 2026

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.

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.

Affected VersionsENISA

OpenClaw 0 <2026.3.11

Affected Packages

npm openclaw fix: 2026.3.11

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

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

NVD PRIMARY 7.0 HIGH
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

Primary rating from NVD · only source for this CVE.

CVSS VectorNVD

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
Passive
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

2
Patch released
Apr 07, 2026 - 02:30 nvd
Patch available
CVE Published
Mar 29, 2026 - 12:44 nvd
HIGH 7.0

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.

Blast Radius

ecosystem impact
† from your stack dependencies † transitive graph · vuln.today resolves 4-path depth
  • 3 npm packages depend on openclaw (3 direct, 0 indirect)

Ecosystem-wide dependent count for version 2026.3.11.

Executive ViewAI

Why It Matters

OpenClaw runtime versions prior to 2026.3.11 contain a race condition vulnerability that allows authenticated users to escalate privileges and execute arbitrary code by manipulating scripts during the authorization window. Organizations running OpenClaw should immediately assess deployment scope and plan for urgent patching, as this vulnerability enables unauthorized code execution within the runtime environment despite current lack of public exploits.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: (1) Restrict OpenClaw runtime to highly privileged users only; (2) implement immutable file storage for approved scripts using OS-level controls or containerization; (3) enable comprehensive audit logging of script modifications and execution; (4) isolate OpenClaw runtime processes in restricted environments with minimal privilege elevation paths; (5) enforce code signing for all scripts and validate signatures before execution.

Threat Intelligence Overview

EPSS Score
0.0%
Top 85% exploitable
Threat Intel
1
1 source
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA 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.0%
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
Small
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

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

Attack Technique

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

Related Vulnerabilities in OpenClaw Authentication and Token Bypass

View all 4
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-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

CVE-2026-32049 HIGH POC
7.5 Mar 21

OpenClaw versions prior to 2026.2.22 contain a resource exhaustion vulnerability where the application fails to consiste

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