The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2026-32043

CVE-2026-32043: Openclaw Time-of-Check RCE Vulnerability

CVE-2026-32043 is a time-of-check-time-of-use RCE flaw in Openclaw that allows attackers to bypass command execution restrictions via symlink manipulation. This article covers technical details, affected versions, and mitigation.

Published: March 27, 2026

CVE-2026-32043 Overview

OpenClaw versions prior to 2026.2.25 contain a Time-of-Check Time-of-Use (TOCTOU) vulnerability in the approval-bound system.run execution mechanism. The vulnerability exists because the cwd parameter is validated at approval time but resolved at execution time, creating a race condition window. Attackers can exploit this by retargeting a symlinked cwd directory between the approval and execution phases, effectively bypassing command execution restrictions and gaining the ability to execute arbitrary commands on node hosts.

Critical Impact

Attackers with local access can bypass command execution restrictions through symlink manipulation, potentially executing arbitrary commands on node hosts and compromising system integrity.

Affected Products

  • OpenClaw versions prior to 2026.2.25
  • OpenClaw for Node.js environments
  • Systems using approval-bound system.run execution with configurable cwd parameter

Discovery Timeline

  • 2026-03-21 - CVE-2026-32043 published to NVD
  • 2026-03-24 - Last updated in NVD database

Technical Details for CVE-2026-32043

Vulnerability Analysis

This vulnerability falls under CWE-367 (Time-of-Check Time-of-Use Race Condition), a class of vulnerabilities where a resource's state is verified at one point in time but used at another, allowing the resource to change between these two operations.

In OpenClaw's approval-bound execution system, when a user requests to run a command via system.run, the cwd (current working directory) parameter undergoes validation during the approval phase. However, the actual resolution of this path occurs later during execution time. This temporal gap creates an exploitable window where an attacker can manipulate the filesystem state.

The attack scenario involves creating a symlink pointing to a benign directory during the approval check, then quickly retargeting that symlink to point to a sensitive or restricted directory before execution occurs. Since the validation has already passed, the command executes in the attacker-controlled directory context, bypassing intended restrictions.

Root Cause

The root cause is a fundamental design flaw in how directory path validation is decoupled from path resolution. The approval system validates the cwd parameter as a string or resolved path at approval time, but does not lock or atomically verify the path at execution time. This allows mutable filesystem objects like symbolic links to be changed between validation and use, violating the security assumptions of the approval mechanism.

Attack Vector

This is a local attack vector requiring an attacker to have local access to the system with permissions to create and modify symbolic links. The attacker must be able to:

  1. Submit a system.run request with a cwd parameter pointing to a symlink they control
  2. Wait for the approval to pass validation
  3. Quickly retarget the symlink to a restricted directory before execution
  4. Achieve arbitrary command execution in the context of the retargeted directory
typescript
// Security patch in src/cli/nodes-cli/register.invoke.ts
// fix(security): harden approval-bound node exec cwd handling
               {
                 id: approvalId,
                 command: rawCommand ?? argv.join(" "),
+                commandArgv: argv,
                 cwd: opts.cwd,
                 nodeId,
                 host: "node",

Source: GitHub Commit Update

typescript
// Security patch in src/node-host/invoke-system-run.ts
// fix(security): harden approval-bound node exec cwd handling
 import crypto from "node:crypto";
+import fs from "node:fs";
+import path from "node:path";
 import { resolveAgentConfig } from "../agents/agent-scope.js";
 import { loadConfig } from "../config/config.js";
 import type { GatewayClient } from "../gateway/client.js";

Source: GitHub Commit Update

The patch introduces additional imports for fs and path modules, enabling proper filesystem verification at execution time rather than relying solely on approval-time validation.

Detection Methods for CVE-2026-32043

Indicators of Compromise

  • Unusual symlink creation or modification activity in directories used by OpenClaw system.run operations
  • Rapid filesystem changes (symlink retargeting) occurring between approval and execution timestamps
  • Command executions originating from unexpected or restricted directories
  • Audit log discrepancies showing approved cwd paths that differ from actual execution paths

Detection Strategies

  • Monitor filesystem events for symlink creation and modification in OpenClaw working directories using tools like inotify or auditd
  • Implement integrity monitoring on directories commonly used as cwd parameters in approval-bound operations
  • Correlate approval events with execution events to identify path mismatches indicating potential exploitation attempts
  • Deploy behavioral analysis to detect race condition exploitation patterns

Monitoring Recommendations

  • Enable verbose logging for all system.run approval and execution events including resolved paths
  • Configure file integrity monitoring (FIM) on critical directories to alert on symlink changes
  • Establish baseline behavior for normal cwd usage patterns and alert on deviations
  • Review OpenClaw audit logs regularly for unusual command execution patterns

How to Mitigate CVE-2026-32043

Immediate Actions Required

  • Upgrade OpenClaw to version 2026.2.25 or later immediately
  • Audit existing approval-bound command executions for signs of compromise
  • Review filesystem permissions to restrict symlink creation in sensitive directories
  • Temporarily disable or restrict system.run functionality until patching is complete

Patch Information

OpenClaw has released version 2026.2.25 which addresses this vulnerability by hardening the approval-bound node execution cwd handling. The fix ensures that directory paths are properly validated at execution time in addition to approval time, preventing symlink retargeting attacks.

For detailed information, see the GitHub Security Advisory and the security patch commit f789f880.

Workarounds

  • Disable symlink resolution in OpenClaw configurations where supported
  • Restrict local user permissions to prevent symlink creation in directories used by system.run
  • Implement additional filesystem monitoring to detect and block rapid symlink changes
  • Use immutable or read-only filesystems for critical working directories
bash
# Configuration example - Restrict symlink creation in OpenClaw working directories
# Set restrictive permissions on cwd directories
chmod 755 /path/to/openclaw/workdir
chown root:root /path/to/openclaw/workdir

# Enable filesystem auditing for symlink operations
auditctl -w /path/to/openclaw/workdir -p wa -k openclaw_symlink_monitor

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechOpenclaw

  • SeverityMEDIUM

  • CVSS Score5.9

  • EPSS Probability0.01%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:L/AC:H/AT:N/PR:L/UI:N/VC:L/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
  • Impact Assessment
  • ConfidentialityHigh
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-367
  • Technical References
  • VulnCheck Advisory on TOCTOU
  • Vendor Resources
  • GitHub Commit Update

  • GitHub Security Advisory
  • Related CVEs
  • CVE-2026-35641: Openclaw RCE Vulnerability

  • CVE-2026-35650: Openclaw RCE Vulnerability

  • CVE-2026-35643: Openclaw Openclaw RCE Vulnerability

  • CVE-2026-32917: Openclaw Remote Command Injection Flaw
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English