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

CVE-2026-22179: Openclaw RCE Vulnerability

CVE-2026-22179 is a remote code execution flaw in Openclaw that enables attackers to bypass allowlist restrictions and execute arbitrary commands. This article covers the technical details, affected versions, and mitigation.

Published: March 20, 2026

CVE-2026-22179 Overview

CVE-2026-22179 is a command injection vulnerability (CWE-78) affecting OpenClaw versions prior to 2026.2.22 in the macOS node-host system.run component. The vulnerability stems from an allowlist bypass that enables remote attackers to execute non-allowlisted commands by exploiting improper parsing of command substitution tokens. Attackers can craft shell payloads with command substitution syntax within double-quoted text to bypass security restrictions and execute arbitrary commands on the system.

Critical Impact

Remote attackers can bypass command allowlist restrictions to execute arbitrary commands on affected macOS systems running vulnerable OpenClaw versions, potentially leading to complete system compromise.

Affected Products

  • OpenClaw versions prior to 2026.2.22
  • OpenClaw Node.js macOS installations
  • Systems using OpenClaw node-host system.run functionality

Discovery Timeline

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

Technical Details for CVE-2026-22179

Vulnerability Analysis

This vulnerability exists in OpenClaw's command execution resolution logic within the macOS implementation. The core issue lies in the ExecCommandResolution.swift file, which failed to properly validate command substitution syntax when processing double-quoted shell strings. While the original implementation checked for shell substitution patterns in unquoted contexts, it neglected to apply the same security controls to content within double-quoted text.

The vulnerability allows attackers to embed command substitution tokens (such as $(...) or backtick notation) inside double-quoted strings, effectively bypassing the allowlist mechanism designed to restrict which commands can be executed through the system.run interface.

Root Cause

The root cause of CVE-2026-22179 is improper input validation in the command allowlist checking mechanism. The original code only invoked shouldFailClosedForUnquotedShell() when the parser was outside both single and double quotes (!inSingle, !inDouble). This created a security gap where command substitution patterns embedded within double-quoted strings would not trigger the fail-closed security check, allowing malicious commands to pass through the allowlist filter undetected.

Attack Vector

The attack vector is network-based, requiring the attacker to have elevated privileges to interact with the OpenClaw node-host system.run interface. Once access is obtained, an attacker can craft a malicious payload containing command substitution syntax enclosed in double quotes. When this payload is processed by the vulnerable allowlist checking code, the embedded commands bypass security validation and are executed with the privileges of the OpenClaw process.

The security patch addresses this by introducing shouldFailClosedForShell() which is invoked regardless of double-quote context, ensuring command substitution detection applies uniformly:

text
                 continue
             }
 
+            if !inSingle, self.shouldFailClosedForShell(ch: ch, next: next) {
+                // Fail closed on command/process substitution in allowlist mode,
+                // including inside double-quoted shell strings.
+                return nil
+            }
+
             if !inSingle, !inDouble {
-                if self.shouldFailClosedForUnquotedShell(ch: ch, next: next) {
-                    // Fail closed on command/process substitution in allowlist mode.
-                    return nil
-                }
                 let prev: Character? = idx > 0 ? chars[idx - 1] : nil
                 if let delimiterStep = self.chainDelimiterStep(ch: ch, prev: prev, next: next) {
                     guard appendCurrent() else { return nil }

Source: GitHub Commit Update

Detection Methods for CVE-2026-22179

Indicators of Compromise

  • Unusual shell commands executed by OpenClaw processes containing $(...) or backtick substitution patterns
  • Log entries showing system.run invocations with double-quoted strings containing embedded shell metacharacters
  • Unexpected child processes spawned from OpenClaw node-host on macOS systems

Detection Strategies

  • Monitor OpenClaw process activity for unexpected command executions, particularly those containing shell substitution syntax
  • Implement application-layer logging to capture all system.run invocations and flag those with suspicious patterns
  • Deploy endpoint detection rules that alert on command injection patterns within OpenClaw process context

Monitoring Recommendations

  • Enable verbose logging for OpenClaw node-host operations on macOS systems
  • Configure SIEM alerts for command substitution patterns ($(, backticks) in process command lines associated with OpenClaw
  • Establish baseline behavior for OpenClaw command execution and alert on deviations

How to Mitigate CVE-2026-22179

Immediate Actions Required

  • Upgrade OpenClaw to version 2026.2.22 or later immediately
  • Audit systems for any signs of exploitation prior to patching
  • Restrict network access to OpenClaw node-host interfaces where possible
  • Review and minimize privileges granted to OpenClaw processes

Patch Information

The vulnerability has been addressed in OpenClaw version 2026.2.22. The fix modifies the ExecCommandResolution.swift file to check for command substitution patterns regardless of quote context, ensuring the fail-closed security mechanism applies uniformly. The patch is available via the GitHub Commit Update. Additional details can be found in the GitHub Security Advisory GHSA-9p38-94jf-hgjj.

Workarounds

  • Implement network-level access controls to restrict who can interact with OpenClaw system.run endpoints
  • Deploy web application firewall rules to detect and block command substitution patterns in requests
  • Consider temporarily disabling the system.run functionality if not critical to operations until patching is complete
bash
# Verify OpenClaw version to confirm patch status
openclaw --version
# Expected output for patched version: 2026.2.22 or higher

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

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechOpenclaw

  • SeverityHIGH

  • CVSS Score7.5

  • EPSS Probability0.14%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:P/PR:H/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-78
  • Technical References
  • VulnCheck Advisory: Openclaw Command Bypass
  • Vendor Resources
  • GitHub Commit Update

  • GitHub Security Advisory GHSA-9p38-94jf-hgjj
  • Related CVEs
  • CVE-2026-41295: OpenClaw RCE Vulnerability

  • CVE-2026-35641: Openclaw RCE Vulnerability

  • CVE-2026-35650: Openclaw RCE Vulnerability

  • CVE-2026-35643: Openclaw Openclaw RCE 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