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

CVE-2026-32846: OpenClaw Path Traversal Vulnerability

CVE-2026-32846 is a path traversal flaw in OpenClaw through 2026.3.23 that enables attackers to read arbitrary files by bypassing path validation. This post covers technical details, affected versions, impact, and mitigation.

Published: March 27, 2026

CVE-2026-32846 Overview

CVE-2026-32846 is a path traversal vulnerability in OpenClaw through version 2026.3.23 that allows attackers to read arbitrary files by bypassing path validation in the isLikelyLocalPath() and isValidMedia() functions. The vulnerability exists in the media parsing functionality, where incomplete validation and the allowBareFilename bypass enable attackers to reference files outside the intended application sandbox.

Critical Impact

Successful exploitation allows unauthenticated remote attackers to disclose sensitive information including system files, environment files, and SSH keys through path traversal sequences.

Affected Products

  • OpenClaw versions through 2026.3.23
  • OpenClaw installations prior to commit 4797bbc

Discovery Timeline

  • 2026-03-26 - CVE CVE-2026-32846 published to NVD
  • 2026-03-26 - Last updated in NVD database

Technical Details for CVE-2026-32846

Vulnerability Analysis

This path traversal vulnerability (CWE-22) exists in OpenClaw's media parsing layer. The vulnerable functions isLikelyLocalPath() and isValidMedia() fail to properly validate file paths before processing, allowing attackers to break out of the intended application sandbox. The vulnerability is exploitable over the network without authentication and can be triggered without user interaction.

The root issue stems from a design assumption that security validation would be handled by downstream functions (loadWebMedia / resolveSandboxedMediaSource), but the parsing layer accepted traversal patterns that could be exploited before reaching those enforcement points.

Root Cause

The vulnerability originates from incomplete path validation in the media parsing layer. The original isLikelyLocalPath() function was designed only to recognize local file path patterns, with security validation intentionally deferred to the load layer. However, this deferral created a gap where path traversal sequences (../, .., ~) were not rejected early in the parsing process, allowing attackers to reference files outside the sandbox before proper validation could occur.

Attack Vector

Attackers can exploit this vulnerability by crafting malicious media references containing path traversal sequences. The network-accessible attack vector requires no authentication or user interaction. By leveraging patterns such as ../../../etc/passwd or ~/.ssh/id_rsa, attackers can traverse directory structures and access sensitive files including:

  • System configuration files (/etc/passwd, /etc/shadow)
  • Environment files containing secrets
  • SSH private keys
  • Application configuration with credentials

The following patch demonstrates the security fix implemented in commit 4797bbc:

typescript
 const SCHEME_RE = /^[a-zA-Z][a-zA-Z0-9+.-]*:/;
 const HAS_FILE_EXT = /\.\w{1,10}$/;
 
-// Recognize local file path patterns. Security validation is deferred to the
-// load layer (loadWebMedia / resolveSandboxedMediaSource) which has the context
-// needed to enforce sandbox roots and allowed directories.
-function isLikelyLocalPath(candidate: string): boolean {
+// Matches ".." as a standalone path segment (start, middle, or end).
+const TRAVERSAL_SEGMENT_RE = /(?:^|[/\\])\.\.(?:[/\\]|$)/;
+
+function hasTraversalOrHomeDirPrefix(candidate: string): boolean {
+  return (
+    candidate.startsWith("../") ||
+    candidate === ".." ||
+    candidate.startsWith("~") ||
+    TRAVERSAL_SEGMENT_RE.test(candidate)
+  );
+}
+
+// Broad structural check: does this look like a local file path? Used only for
+// stripping MEDIA: lines from output text — never for media approval.
+function looksLikeLocalFilePath(candidate: string): boolean {
   return (
     candidate.startsWith("/") ||
     candidate.startsWith("./") ||

Source: GitHub Commit Details

Detection Methods for CVE-2026-32846

Indicators of Compromise

  • HTTP requests containing path traversal sequences (../, ..%2F, %2e%2e/) in media-related parameters
  • Access attempts to sensitive system files (/etc/passwd, ~/.ssh/) through the media parsing endpoint
  • Unusual file read operations originating from the OpenClaw application process
  • Log entries showing media requests with traversal patterns or home directory prefixes (~)

Detection Strategies

  • Deploy web application firewall (WAF) rules to detect and block path traversal patterns in request parameters
  • Monitor application logs for media parsing requests containing .., ~, or encoded traversal sequences
  • Implement file integrity monitoring (FIM) on sensitive system directories to detect unauthorized access
  • Configure intrusion detection systems (IDS) to alert on directory traversal attack signatures

Monitoring Recommendations

  • Enable verbose logging for the OpenClaw media parsing module to capture all file access attempts
  • Set up alerts for any file access operations outside the designated media sandbox directory
  • Monitor network traffic for anomalous file disclosure patterns in HTTP responses
  • Regularly audit access logs for patterns consistent with path traversal exploitation attempts

How to Mitigate CVE-2026-32846

Immediate Actions Required

  • Update OpenClaw to a version containing commit 4797bbc or later
  • Audit logs for evidence of exploitation attempts using path traversal patterns
  • Review any exposed sensitive files and rotate credentials if compromise is suspected
  • Implement network-level controls to restrict access to OpenClaw instances until patching is complete

Patch Information

The vulnerability is fixed in commit 4797bbc5b96e2cca5532e43b58915c051746fe37. The patch introduces a new hasTraversalOrHomeDirPrefix() function that explicitly rejects path traversal patterns (../, ..) and home directory prefixes (~) at the media parsing layer, preventing sandbox escape attempts before they reach downstream processing.

For detailed information about the fix, refer to the GitHub Pull Request and GitHub Security Advisory.

Workarounds

  • Implement a reverse proxy or WAF rule to filter requests containing ../, ..%2F, or ~ patterns in media-related parameters
  • Restrict OpenClaw to trusted network segments until the patch can be applied
  • Apply operating system-level file permissions to limit the application's read access to only required directories
  • Consider containerizing the OpenClaw application with restricted filesystem access as defense-in-depth
bash
# Example WAF rule to block path traversal (ModSecurity syntax)
SecRule REQUEST_URI|ARGS|ARGS_NAMES "@rx (\.\./|\.\.\\|%2e%2e%2f|%2e%2e/|\.%2e/|%2e\./)" \
    "id:100001,phase:2,deny,status:403,msg:'Path Traversal Attempt Blocked'"

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

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/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
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-22
  • Technical References
  • GitHub Commit Details

  • GitHub Pull Request

  • 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