Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
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-32060

CVE-2026-32060: OpenClaw Path Traversal Vulnerability

CVE-2026-32060 is a path traversal flaw in OpenClaw that enables attackers to write or delete files outside the workspace directory. This article covers the technical details, affected versions, impact, and mitigation.

Published: March 13, 2026

CVE-2026-32060 Overview

OpenClaw versions prior to 2026.2.14 contain a path traversal vulnerability (CWE-22) in the apply_patch function that allows attackers to write or delete files outside the configured workspace directory. When apply_patch is enabled without filesystem sandbox containment, attackers can exploit crafted paths including directory traversal sequences (such as ../) or absolute paths to escape workspace boundaries and modify arbitrary files on the target system.

Critical Impact

This path traversal vulnerability enables unauthorized file system access, allowing attackers to write malicious files or delete critical system files outside the intended workspace, potentially leading to remote code execution, data corruption, or complete system compromise.

Affected Products

  • OpenClaw versions prior to 2026.2.14
  • Systems running apply_patch without filesystem sandbox containment
  • Deployments where workspace boundaries are not enforced

Discovery Timeline

  • 2026-03-11 - CVE CVE-2026-32060 published to NVD
  • 2026-03-12 - Last updated in NVD database

Technical Details for CVE-2026-32060

Vulnerability Analysis

This path traversal vulnerability exists in the apply_patch functionality of OpenClaw. The core issue stems from insufficient validation of file paths provided to the patch application mechanism. When processing patch requests, the vulnerable code fails to properly sanitize input paths, allowing attackers to use directory traversal sequences like ../ or absolute paths to escape the designated workspace directory.

The vulnerability is exploitable over the network with low complexity, requiring only basic user privileges. When successfully exploited, attackers gain the ability to read, write, or delete files anywhere on the filesystem accessible to the OpenClaw process, potentially compromising system integrity and confidentiality.

Root Cause

The root cause of CVE-2026-32060 is the absence of path canonicalization and boundary validation in the apply_patch function located in src/agents/apply-patch.ts. Prior to the security fix, the code did not enforce that resolved file paths remained within the configured workspace directory, allowing crafted paths to traverse outside the intended boundaries.

Attack Vector

The attack vector is network-based, where an attacker can submit specially crafted patch requests containing malicious path components. By including sequences such as ../../../etc/passwd or absolute paths like /etc/shadow, an attacker can instruct the vulnerable apply_patch function to operate on files outside the workspace. This could be leveraged to:

  1. Overwrite critical configuration files
  2. Plant malicious executables in system directories
  3. Delete important system or application files
  4. Exfiltrate sensitive data by writing to attacker-accessible locations
typescript
 import type { AgentTool } from "@mariozechner/pi-agent-core";
 import { Type } from "@sinclair/typebox";
 import fs from "node:fs/promises";
-import os from "node:os";
 import path from "node:path";
 import type { SandboxFsBridge } from "./sandbox/fs-bridge.js";
 import { applyUpdateHunk } from "./apply-patch-update.js";
+import { assertSandboxPath } from "./sandbox-paths.js";

 const BEGIN_PATCH_MARKER = "*** Begin Patch";
 const END_PATCH_MARKER = "*** End Patch";

Source: GitHub Commit Details

The patch introduces the assertSandboxPath function from ./sandbox-paths.js to validate that all paths remain within the workspace boundary before file operations are performed.

Detection Methods for CVE-2026-32060

Indicators of Compromise

  • Unusual file system access patterns originating from OpenClaw processes outside the workspace directory
  • Log entries showing patch operations targeting paths with ../ sequences or absolute paths
  • Unexpected modification timestamps on system files or files outside workspace directories
  • Evidence of deleted or modified files in sensitive system directories

Detection Strategies

  • Monitor OpenClaw process file operations for attempts to access paths outside configured workspace directories
  • Implement file integrity monitoring (FIM) on critical system files and directories
  • Analyze application logs for patch requests containing directory traversal patterns such as ../, ..\\, or absolute paths
  • Deploy runtime application self-protection (RASP) to detect path traversal attempts

Monitoring Recommendations

  • Configure alerting for any apply_patch operations targeting paths outside the workspace boundary
  • Enable detailed logging of all file system operations performed by OpenClaw components
  • Implement anomaly detection for unusual file access patterns from the application
  • Regularly audit workspace configurations to ensure sandbox containment is properly enabled

How to Mitigate CVE-2026-32060

Immediate Actions Required

  • Upgrade OpenClaw to version 2026.2.14 or later immediately
  • Enable filesystem sandbox containment if not already configured
  • Review and audit recent file operations performed by OpenClaw for signs of exploitation
  • Implement network segmentation to limit exposure of vulnerable OpenClaw instances

Patch Information

The vulnerability is addressed in OpenClaw version 2026.2.14 through the introduction of the assertSandboxPath function that validates all file paths before operations are performed. The security fix ensures paths are canonicalized and verified to remain within the workspace boundary. For detailed patch information, see the GitHub Security Advisory and the GitHub Commit Details.

Workarounds

  • Disable the apply_patch functionality if not required for operations until patching is possible
  • Enable filesystem sandbox containment to restrict file operations to the workspace directory
  • Implement external input validation at the network layer to filter requests containing path traversal sequences
  • Run OpenClaw with minimal file system permissions to limit the impact of successful exploitation
bash
# Configuration example
# Ensure filesystem sandbox is enabled in OpenClaw configuration
# Set workspace_sandbox_enabled to true to enforce path boundaries
export OPENCLAW_SANDBOX_ENABLED=true
export OPENCLAW_WORKSPACE_ROOT=/var/openclaw/workspace
# Restrict file permissions for the OpenClaw process
chmod 700 /var/openclaw/workspace

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

  • Vulnerability Details
  • TypePath Traversal

  • Vendor/TechOpenclaw

  • SeverityHIGH

  • CVSS Score8.7

  • EPSS Probability0.28%

  • Known ExploitedNo
  • CVSS Vector
  • 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/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
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-22
  • Technical References
  • GitHub Commit Details

  • GitHub Security Advisory

  • VulnCheck Advisory
  • Related CVEs
  • CVE-2026-35668: Openclaw Path Traversal Vulnerability

  • CVE-2026-35658: Openclaw Path Traversal Vulnerability

  • CVE-2026-3689: OpenClaw Canvas Path Traversal Vulnerability

  • CVE-2026-33581: Openclaw Path Traversal 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