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

CVE-2026-27522: Openclaw Path Traversal Vulnerability

CVE-2026-27522 is a path traversal vulnerability in Openclaw that allows attackers to bypass the local media root and read arbitrary files. This article covers the technical details, affected versions, impact, and mitigation.

Published: March 20, 2026

CVE-2026-27522 Overview

OpenClaw versions prior to 2026.2.24 contain a local media root bypass vulnerability (CWE-22: Path Traversal) in the sendAttachment and setGroupIcon message actions when sandboxRoot is unset. This vulnerability allows attackers to hydrate media from local absolute paths, enabling them to read arbitrary host files accessible by the runtime user.

Critical Impact

Attackers with low-level privileges can exploit this path traversal vulnerability to access sensitive files on the host system, potentially exposing configuration files, credentials, API keys, and other confidential data accessible to the OpenClaw runtime user.

Affected Products

  • OpenClaw versions prior to 2026.2.24
  • OpenClaw for Node.js (all affected versions)

Discovery Timeline

  • 2026-03-18 - CVE-2026-27522 published to NVD
  • 2026-03-18 - Last updated in NVD database

Technical Details for CVE-2026-27522

Vulnerability Analysis

This vulnerability is a classic path traversal issue that occurs due to insufficient validation of file paths in the OpenClaw message handling system. When users invoke the sendAttachment or setGroupIcon message actions, the application fails to properly enforce media root boundaries when the sandboxRoot configuration is not explicitly set.

The vulnerability allows authenticated users to bypass intended directory restrictions by providing absolute file paths instead of relative paths within the expected media directories. This enables attackers to "hydrate" (load and access) media files from arbitrary locations on the host file system, limited only by the file permissions of the runtime user account.

The network-accessible nature of the vulnerability combined with low attack complexity makes it particularly concerning for deployments exposed to untrusted users or networks.

Root Cause

The root cause lies in the missing validation of local media root paths during attachment hydration. The application's message-action-params.ts and message-action-runner.ts components did not enforce sandboxRoot and mediaLocalRoots restrictions when processing file paths for attachments and group icons. Without these constraints, the application accepted absolute paths that could traverse outside the intended media directory structure.

Attack Vector

The attack vector is network-based, requiring an authenticated user with low privileges. The attacker can exploit this vulnerability through the following mechanism:

  1. The attacker authenticates to the OpenClaw application with minimal privileges
  2. The attacker crafts a malicious request to either sendAttachment or setGroupIcon message actions
  3. Instead of providing a relative path within the expected media directory, the attacker supplies an absolute path (e.g., /etc/passwd or application configuration files)
  4. Due to the missing sandboxRoot enforcement, the application loads the requested file
  5. The file contents are returned to the attacker as media content

The security patch introduces proper enforcement of local media root checks:

typescript
   contentTypeParam?: string | null;
   mediaHint?: string | null;
   fileHint?: string | null;
+  sandboxRoot?: string;
+  mediaLocalRoots?: readonly string[];
 }) {
   const contentTypeParam = params.contentTypeParam ?? undefined;
   const rawBuffer = readStringParam(params.args, "buffer", { trim: false });

Source: GitHub Commit Update

The fix also adds proper import and integration of media local root validation:

typescript
   ChannelThreadingToolContext,
 } from "../../channels/plugins/types.js";
 import type { OpenClawConfig } from "../../config/config.js";
+import { getAgentScopedMediaLocalRoots } from "../../media/local-roots.js";
 import {
   isDeliverableMessageChannel,
   normalizeMessageChannel,

Source: GitHub Commit Update

Detection Methods for CVE-2026-27522

Indicators of Compromise

  • Unusual file access patterns by the OpenClaw process accessing files outside designated media directories
  • Log entries showing absolute paths in sendAttachment or setGroupIcon requests
  • Access attempts to sensitive system files such as /etc/passwd, /etc/shadow, or application configuration files
  • Anomalous outbound data transfers containing sensitive file content through message attachments

Detection Strategies

  • Monitor application logs for path traversal sequences (e.g., ../) or absolute path references in message action parameters
  • Implement file integrity monitoring on sensitive configuration files to detect unauthorized read access
  • Deploy network-level inspection to identify exfiltration of sensitive file content through message attachments
  • Review audit logs for patterns of systematic file enumeration attempts

Monitoring Recommendations

  • Enable verbose logging for all message action handlers in OpenClaw
  • Configure alerts for file access operations outside the expected media root directories
  • Implement runtime application monitoring to detect abnormal file system access patterns
  • Monitor for reconnaissance activity targeting sensitive files commonly targeted in path traversal attacks

How to Mitigate CVE-2026-27522

Immediate Actions Required

  • Upgrade OpenClaw to version 2026.2.24 or later immediately
  • Audit application logs for any evidence of exploitation attempts
  • Review file access permissions for the OpenClaw runtime user account to minimize exposed sensitive files
  • Explicitly configure sandboxRoot even on patched versions as a defense-in-depth measure

Patch Information

The vulnerability has been addressed in OpenClaw version 2026.2.24. The patch introduces proper enforcement of local media root checks through the addition of sandboxRoot and mediaLocalRoots parameters in the message action handling code. The fix ensures that attachment hydration operations are constrained to designated media directories.

For detailed patch information, see the GitHub Security Advisory GHSA-fqcm-97m6-w7rm and the GitHub Commit Update.

Workarounds

  • Configure sandboxRoot explicitly in your OpenClaw configuration to enforce media directory boundaries
  • Implement network segmentation to limit access to OpenClaw instances from untrusted networks
  • Run OpenClaw with a dedicated service account having minimal file system permissions
  • Deploy a Web Application Firewall (WAF) with path traversal detection rules
bash
# Configuration example - Ensure sandboxRoot is explicitly set in OpenClaw config
# openclaw.config.js or equivalent configuration file
export OPENCLAW_SANDBOX_ROOT="/var/lib/openclaw/media"
export OPENCLAW_MEDIA_LOCAL_ROOTS="/var/lib/openclaw/media/attachments,/var/lib/openclaw/media/icons"

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

  • EPSS Probability0.03%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:N/PR:L/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
  • VulnCheck Advisory for OpenClaw
  • Vendor Resources
  • GitHub Commit Update

  • GitHub Security Advisory GHSA-fqcm-97m6-w7rm
  • Related CVEs
  • CVE-2026-33581: Openclaw Path Traversal Vulnerability

  • CVE-2026-34510: OpenClaw Path Traversal Vulnerability

  • CVE-2026-33574: Openclaw Path Traversal Vulnerability

  • CVE-2026-32846: 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