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

CVE-2026-43529: Openclaw Race Condition Vulnerability

CVE-2026-43529 is a time-of-check-time-of-use race condition flaw in Openclaw that allows local attackers to bypass workspace boundary checks. This article covers the technical details, affected versions, and mitigation.

Published: May 7, 2026

CVE-2026-43529 Overview

CVE-2026-43529 is a time-of-check-time-of-use (TOCTOU) race condition [CWE-367] in OpenClaw versions before 2026.4.10. The flaw resides in the validateScriptFileForShellBleed function, which performs workspace boundary checks separately from the preflight read. A local attacker with workspace write access can swap the target file between validation and read, causing the validator to inspect a different file than the one ultimately consumed.

Critical Impact

Local attackers with workspace write access can bypass workspace boundary checks by race-condition swapping target files between validation and preflight read operations.

Affected Products

  • OpenClaw versions prior to 2026.4.10
  • OpenClaw running on Node.js runtimes
  • OpenClaw bash-tools.exec agent components

Discovery Timeline

  • 2026-05-05 - CVE-2026-43529 published to NVD
  • 2026-05-07 - Last updated in NVD database

Technical Details for CVE-2026-43529

Vulnerability Analysis

The vulnerability stems from a non-atomic file handling pattern in OpenClaw's script preflight validator. The validateScriptFileForShellBleed function performs two sequential operations: a workspace boundary check on a file path, and a subsequent read of that file's contents. Between these operations, the file path identity can change because the validator does not pin the underlying file descriptor.

A local attacker with write access to the workspace can exploit this gap. The attacker substitutes the file referenced by the validated path with a different file or symbolic link target after the boundary check passes but before the read completes. The validator then inspects content that differs from what initially passed inspection, undermining the boundary enforcement guarantee.

This is classified as a TOCTOU race condition under [CWE-367]. The exploitation requires precise timing and local privileges, but the attack window is reachable through standard filesystem operations.

Root Cause

The root cause is the separation of path validation from file open. The original implementation validated a path string and then re-opened the file by path, allowing an attacker to swap the underlying inode between the two operations. The fix introduces atomic pinned file descriptor opens with O_NOFOLLOW and O_NONBLOCK flags so that validation and read operate on the same file identity.

Attack Vector

Exploitation requires local access with write permissions to the OpenClaw workspace directory. The attacker creates a benign file that passes the boundary check, then races to replace it with a symlink or different file before the preflight read executes. Successful timing causes the validator to authorize content it never actually inspected.

typescript
// Patch: src/infra/fs-safe.ts
// fix(exec): replace TOCTOU check-then-read with atomic pinned-fd open
 const SUPPORTS_NOFOLLOW = process.platform !== "win32" && "O_NOFOLLOW" in fsConstants;
+const NONBLOCK_OPEN_FLAG = "O_NONBLOCK" in fsConstants ? fsConstants.O_NONBLOCK : 0;
 const OPEN_READ_FLAGS = fsConstants.O_RDONLY | (SUPPORTS_NOFOLLOW ? fsConstants.O_NOFOLLOW : 0);
+const OPEN_READ_NONBLOCK_FLAGS = OPEN_READ_FLAGS | NONBLOCK_OPEN_FLAG;
+const OPEN_READ_FOLLOW_FLAGS = fsConstants.O_RDONLY;
+const OPEN_READ_FOLLOW_NONBLOCK_FLAGS = OPEN_READ_FOLLOW_FLAGS | NONBLOCK_OPEN_FLAG;

Source: GitHub Commit b024fae

Detection Methods for CVE-2026-43529

Indicators of Compromise

  • Rapid file replacement or symlink creation events targeting paths inside OpenClaw workspaces
  • Unexpected rename(2) or symlink(2) syscalls occurring concurrently with validateScriptFileForShellBleed execution
  • Script execution logs showing successful validation followed by content mismatches with on-disk files
  • Workspace files whose inode numbers change between consecutive OpenClaw operations

Detection Strategies

  • Monitor filesystem audit logs for write or rename operations on workspace files during script preflight windows
  • Correlate OpenClaw application logs with Linux audit framework events for path-to-inode anomalies
  • Apply behavioral rules that flag a process performing both validation and replacement of the same path within microsecond ranges

Monitoring Recommendations

  • Enable auditd rules on OpenClaw workspace directories to capture open, rename, and symlink syscalls
  • Track OpenClaw version strings across deployments to identify hosts still running pre-2026.4.10 builds
  • Review process accounting for local accounts that have workspace write access and have invoked OpenClaw script execution paths

How to Mitigate CVE-2026-43529

Immediate Actions Required

  • Upgrade OpenClaw to version 2026.4.10 or later, which includes the atomic pinned file descriptor fix
  • Audit workspace directory permissions and remove write access for accounts that do not require it
  • Inventory all OpenClaw deployments and confirm patch status before resuming script execution workflows

Patch Information

The fix is committed in b024fae9e5df43e9b69b2daebb72be3469d52e91 and published in the GitHub Security Advisory GHSA-gj9q-8w99-mp8j. The patch replaces the check-then-read pattern with an atomic pinned file descriptor open using O_NOFOLLOW and O_NONBLOCK flags in src/infra/fs-safe.ts and src/agents/bash-tools.exec.ts. Additional technical context is available in the VulnCheck Advisory on TOCTOU.

Workarounds

  • Restrict workspace write access to trusted local users only, eliminating the attacker's ability to swap files
  • Mount workspace directories with noexec and nosymfollow options where supported to limit symlink-based races
  • Disable script execution features in OpenClaw until the patched version is deployed
bash
# Configuration example: restrict workspace permissions
chmod 700 /path/to/openclaw/workspace
chown openclaw-service:openclaw-service /path/to/openclaw/workspace

# Optional: mount with hardened flags on Linux
mount -o remount,nosuid,nodev,nosymfollow /path/to/openclaw/workspace

# Verify installed version is patched
npm list openclaw | grep openclaw

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

  • Vulnerability Details
  • TypeRace Condition

  • Vendor/TechOpenclaw

  • SeverityLOW

  • CVSS Score2.0

  • EPSS Probability0.01%

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

  • GitHub Security Advisory
  • Related CVEs
  • CVE-2026-44112: OpenClaw Race Condition Vulnerability

  • CVE-2026-44113: OpenClaw Race Condition Vulnerability

  • CVE-2026-41913: OpenClaw Race Condition Vulnerability

  • CVE-2026-41296: OpenClaw Race Condition Vulnerability
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