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
    • 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-22174

CVE-2026-22174: Openclaw Authentication Bypass Vulnerability

CVE-2026-22174 is an authentication bypass flaw in Openclaw that leaks Gateway tokens through CDP probe traffic on loopback interfaces. This article covers the technical details, affected versions, and mitigation strategies.

Published: March 20, 2026

CVE-2026-22174 Overview

CVE-2026-22174 is an information disclosure vulnerability in OpenClaw, a Node.js browser automation tool. Versions prior to 2026.2.22 inject the x-OpenClaw-relay-token header into Chrome DevTools Protocol (CDP) probe traffic on loopback interfaces, allowing local processes to capture the Gateway authentication token. An attacker controlling a loopback port can intercept CDP reachability probes to the /json/version endpoint and reuse the leaked token as Gateway bearer authentication.

Critical Impact

Local attackers can capture Gateway authentication tokens from CDP probe traffic, enabling unauthorized access to OpenClaw Gateway services with the privileges of the compromised token.

Affected Products

  • OpenClaw versions prior to 2026.2.22
  • OpenClaw for Node.js (all affected versions)
  • Systems running OpenClaw with Gateway authentication enabled

Discovery Timeline

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

Technical Details for CVE-2026-22174

Vulnerability Analysis

This vulnerability falls under CWE-306 (Missing Authentication for Critical Function). The core issue stems from OpenClaw's extension relay authentication mechanism, which improperly exposed Gateway authentication tokens through CDP probe requests sent to loopback interfaces. When OpenClaw probes browser instances to establish CDP connections, it includes the sensitive x-OpenClaw-relay-token header in HTTP requests to the /json/version endpoint. Any process listening on loopback ports could intercept these probes and extract the authentication token.

The leaked token provides full bearer authentication to the OpenClaw Gateway, meaning an attacker with local access could impersonate legitimate OpenClaw sessions, potentially accessing or manipulating automated browser workflows.

Root Cause

The vulnerability exists because the original implementation did not properly scope or derive authentication tokens for relay probes. The Gateway authentication token was directly included in CDP probe requests without consideration for the security implications of sending credentials to potentially untrusted local endpoints. The fix introduces a derived token mechanism using HMAC-SHA256, creating port-specific tokens that cannot be used to authenticate against the Gateway directly.

Attack Vector

Exploitation requires local access to the system running OpenClaw. An attacker must:

  1. Establish a listener on a loopback interface port that OpenClaw may probe
  2. Wait for OpenClaw to send CDP reachability probes to the /json/version endpoint
  3. Capture the x-OpenClaw-relay-token header from the intercepted request
  4. Reuse the captured token as bearer authentication against the OpenClaw Gateway

The security patch introduces a proper token derivation function that creates port-specific tokens, preventing captured tokens from being reused for Gateway authentication:

typescript
+import { createHmac } from "node:crypto";
+import { loadConfig } from "../config/config.js";
+
+const RELAY_TOKEN_CONTEXT = "openclaw-extension-relay-v1";
+const DEFAULT_RELAY_PROBE_TIMEOUT_MS = 500;
+const OPENCLAW_RELAY_BROWSER = "OpenClaw/extension-relay";
+
+function resolveGatewayAuthToken(): string | null {
+  const envToken =
+    process.env.OPENCLAW_GATEWAY_TOKEN?.trim() || process.env.CLAWDBOT_GATEWAY_TOKEN?.trim();
+  if (envToken) {
+    return envToken;
+  }
+  try {
+    const cfg = loadConfig();
+    const configToken = cfg.gateway?.auth?.token?.trim();
+    if (configToken) {
+      return configToken;
+    }
+  } catch {
+    // ignore config read failures; caller can fallback to per-process random token
+  }
+  return null;
+}
+
+function deriveRelayAuthToken(gatewayToken: string, port: number): string {
+  return createHmac("sha256", gatewayToken).update(`${RELAY_TOKEN_CONTEXT}:${port}`).digest("hex");
+}
+
+export function resolveRelayAuthTokenForPort(port: number): string {

Source: GitHub Commit Change

Detection Methods for CVE-2026-22174

Indicators of Compromise

  • Unusual processes listening on loopback ports commonly used by browser debugging (e.g., ports 9222, 9229, or dynamic ports)
  • Network traffic containing x-OpenClaw-relay-token headers captured by unauthorized processes
  • Unexpected Gateway authentication attempts using tokens associated with local relay probes
  • Logs showing CDP probe requests to unknown or suspicious local endpoints

Detection Strategies

  • Monitor for processes binding to loopback ports that may intercept CDP traffic
  • Implement logging for Gateway authentication events and correlate with expected OpenClaw session activity
  • Audit local network listeners on development and automation systems running OpenClaw
  • Review application logs for anomalous /json/version endpoint access patterns

Monitoring Recommendations

  • Enable verbose logging for OpenClaw Gateway authentication events
  • Deploy endpoint detection solutions to monitor for suspicious loopback port listeners
  • Implement network monitoring on development systems to detect potential token interception attempts
  • Regularly audit running processes and their network bindings on systems using OpenClaw

How to Mitigate CVE-2026-22174

Immediate Actions Required

  • Upgrade OpenClaw to version 2026.2.22 or later immediately
  • Rotate any Gateway authentication tokens that may have been exposed
  • Audit systems for unauthorized processes that may have captured relay tokens
  • Review Gateway access logs for suspicious authentication patterns

Patch Information

The vulnerability has been addressed in OpenClaw version 2026.2.22. The fix implements a hardened extension relay authentication token flow that derives port-specific tokens using HMAC-SHA256 with a context string, preventing captured relay tokens from being reused for Gateway authentication.

The patch is available via the GitHub Commit. Additional details can be found in the GitHub Security Advisory.

Workarounds

  • Restrict which processes can bind to loopback interfaces on systems running OpenClaw
  • Implement network isolation for development and automation environments
  • Use firewall rules to limit loopback interface access to trusted processes only
  • Consider running OpenClaw in containerized environments with restricted network namespaces
bash
# Example: Restrict loopback port binding (Linux iptables)
# Allow only specific UIDs to bind to common CDP debugging ports
iptables -A OUTPUT -o lo -p tcp --dport 9222 -m owner ! --uid-owner openclaw -j DROP
iptables -A OUTPUT -o lo -p tcp --dport 9229 -m owner ! --uid-owner openclaw -j DROP

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

  • Vulnerability Details
  • TypeAuth Bypass

  • Vendor/TechOpenclaw

  • SeverityMEDIUM

  • CVSS Score5.9

  • EPSS Probability0.02%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:H/VI:L/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-306
  • Technical References
  • VulnCheck Advisory on Token Disclosure
  • Vendor Resources
  • GitHub Commit Change

  • GitHub Security Advisory
  • Related CVEs
  • CVE-2026-34511: OpenClaw OAuth Auth Bypass Vulnerability

  • CVE-2026-34426: OpenClaw Auth Bypass Vulnerability

  • CVE-2026-32916: Openclaw Auth Bypass Vulnerability

  • CVE-2026-32921: Openclaw Auth Bypass 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