banner logoJoin us at RSAC™ 2026 Conference, March 23–March 26 | North Expo, Booth N-5863Join us at RSAC™ 2026, March 23–March 26Learn More
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI Security Portfolio
      Leading the Way in AI-Powered Security Solutions
    • 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
    • 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
    • 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-28456

CVE-2026-28456: OpenClaw Gateway RCE Vulnerability

CVE-2026-28456 is a remote code execution vulnerability in OpenClaw Gateway that allows attackers with configuration access to execute unintended code. This article covers technical details, affected versions, impact, and mitigation.

Published: March 6, 2026

CVE-2026-28456 Overview

CVE-2026-28456 is a code execution vulnerability affecting OpenClaw Gateway versions 2026.1.5 prior to 2026.2.14. The vulnerability exists in the Gateway component, which fails to sufficiently constrain configured hook module paths before passing them to Node.js dynamic import(). This allows an attacker with gateway configuration modification access to load and execute unintended local modules within the Node.js process, potentially leading to full system compromise.

Critical Impact

An attacker with configuration modification privileges can execute arbitrary code by manipulating hook module paths, enabling them to load malicious local modules and gain control of the Node.js runtime environment.

Affected Products

  • OpenClaw Gateway versions 2026.1.5 through 2026.2.13
  • OpenClaw versions prior to 2026.2.14
  • Node.js environments running vulnerable OpenClaw Gateway instances

Discovery Timeline

  • 2026-03-05 - CVE-2026-28456 published to NVD
  • 2026-03-05 - Last updated in NVD database

Technical Details for CVE-2026-28456

Vulnerability Analysis

This vulnerability is classified under CWE-427 (Uncontrolled Search Path Element), which occurs when an application does not properly control the path used to locate resources such as dynamically loaded modules. In the case of OpenClaw Gateway, the InternalHookHandlerConfig type originally accepted both absolute and relative module paths without proper validation or sanitization.

The core issue stems from how hook module paths were processed before being passed to Node.js dynamic import(). The original implementation allowed arbitrary path specifications including absolute paths, paths with tilde expansion (~), URL-ish forms, drive-relative forms, and path traversal sequences (..). This lack of constraint enables an attacker with configuration modification access to specify a malicious module path that escapes the intended workspace directory.

The attack requires elevated privileges (configuration modification access), but once exploited, it provides complete control over the Node.js process with high impact on confidentiality, integrity, and availability.

Root Cause

The root cause lies in insufficient input validation of the module field within the InternalHookHandlerConfig type. The original implementation documentation indicated the path could be "absolute or relative to cwd," which inherently introduced security risks by allowing path specifications outside the intended workspace boundaries.

The vulnerable code path accepted any string value for the module path and directly passed it to dynamic import() without first verifying that:

  1. The path is strictly relative
  2. The path does not contain traversal sequences
  3. The path does not use special prefixes like ~ or URL schemes

Attack Vector

The attack vector is network-based and requires the attacker to have gateway configuration modification access. The exploitation flow involves:

  1. Attacker gains access to modify OpenClaw Gateway configuration
  2. Attacker specifies a malicious hook module path using path traversal sequences (e.g., ../../malicious-module) or absolute paths
  3. Gateway loads the specified module via dynamic import() without path validation
  4. Malicious code executes within the Node.js process context

The following code shows the security patch that addresses this vulnerability by implementing strict path validation:

typescript
+import path from "node:path";
 import { z } from "zod";
 import { sensitive } from "./zod-schema.sensitive.js";
 
+function isSafeRelativeModulePath(raw: string): boolean {
+  const value = raw.trim();
+  if (!value) {
+    return false;
+  }
+  // Hook modules are loaded via file-path resolution + dynamic import().
+  // Keep this strictly relative to a configured base dir to avoid path traversal and surprises.
+  if (path.isAbsolute(value)) {
+    return false;
+  }
+  if (value.startsWith("~")) {
+    return false;
+  }
+  // Disallow URL-ish and drive-relative forms (e.g. "file:...", "C:foo").
+  if (value.includes(":")) {
+    return false;
+  }
+  const parts = value.split(/[\\/]+/g);
+  if (parts.some((part) => part === "..")) {
+    return false;
+  }
+  return true;
+}
+
+const SafeRelativeModulePathSchema = z
+  .string()

Source: GitHub OpenClaw Commit

The patch introduces a isSafeRelativeModulePath() function that validates module paths are strictly relative to the workspace, rejecting absolute paths, tilde-prefixed paths, URL-ish forms, and any path containing traversal sequences.

Detection Methods for CVE-2026-28456

Indicators of Compromise

  • Unusual module paths in OpenClaw Gateway configuration files containing .., absolute paths, or tilde (~) prefixes
  • Unexpected Node.js process activity or child process spawning from OpenClaw Gateway
  • Configuration changes to hook module paths that reference directories outside the workspace
  • Log entries showing attempts to load modules from non-standard locations

Detection Strategies

  • Implement file integrity monitoring on OpenClaw Gateway configuration files to detect unauthorized modifications
  • Monitor Node.js process execution patterns for anomalous module loading behavior
  • Review gateway configuration audit logs for changes to hook module path settings
  • Deploy runtime application self-protection (RASP) to detect and block suspicious dynamic imports

Monitoring Recommendations

  • Enable verbose logging for OpenClaw Gateway module loading operations
  • Configure alerts for configuration file changes in production environments
  • Implement baseline monitoring of loaded modules and flag deviations
  • Correlate gateway configuration changes with user authentication events to identify unauthorized access

How to Mitigate CVE-2026-28456

Immediate Actions Required

  • Upgrade OpenClaw to version 2026.2.14 or later immediately
  • Audit all existing hook module path configurations for suspicious entries containing path traversal sequences or absolute paths
  • Review access controls for users with gateway configuration modification privileges
  • Implement the principle of least privilege for configuration management access

Patch Information

The vulnerability has been addressed in OpenClaw version 2026.2.14. The security fix implements strict validation of hook module paths through the isSafeRelativeModulePath() function, ensuring only workspace-relative paths without traversal sequences are accepted. Two commits address this vulnerability:

  • Primary security patch - Implements path validation logic
  • Additional hardening - Further security improvements

For detailed information, refer to the GitHub Security Advisory GHSA-v6c6-vqqg-w888.

Workarounds

  • Restrict access to gateway configuration modification to only essential personnel until patching is complete
  • Implement network segmentation to limit exposure of OpenClaw Gateway configuration interfaces
  • Deploy application-level firewalls or WAF rules to monitor and block suspicious configuration changes
  • Consider running OpenClaw Gateway in a containerized environment with restricted file system access to limit the impact of potential exploitation
bash
# Configuration example - Restrict configuration file permissions
chmod 600 /path/to/openclaw/config/*.yaml
chown openclaw:openclaw /path/to/openclaw/config/*.yaml

# Enable audit logging for configuration changes
auditctl -w /path/to/openclaw/config/ -p wa -k openclaw_config_changes

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 Score8.6

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:N/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-427
  • Technical References
  • GitHub OpenClaw Commit Update

  • GitHub OpenClaw Commit Change

  • GitHub Security Advisory GHSA-v6c6-vqqg-w888

  • VulnCheck OpenClaw Advisory
  • Related CVEs
  • CVE-2026-29610: OpenClaw Command Hijacking RCE Vulnerability

  • CVE-2026-28484: OpenClaw Option Injection RCE Vulnerability

  • CVE-2026-28470: OpenClaw Allowlist Bypass RCE Vulnerability

  • CVE-2026-28393: OpenClaw Path Traversal RCE Vulnerability
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
  • English
  • 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