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

CVE-2026-32302: OpenClaw Authentication Bypass Vulnerability

CVE-2026-32302 is an authentication bypass flaw in OpenClaw that allows untrusted WebSocket connections to bypass origin validation and gain privileged access. This article covers technical details, affected versions, and mitigation.

Published: March 20, 2026

CVE-2026-32302 Overview

CVE-2026-32302 is an Origin Validation Bypass vulnerability in OpenClaw, a personal AI assistant application. Prior to version 2026.3.11, browser-originated WebSocket connections could bypass origin validation when gateway.auth.mode was set to trusted-proxy and the request arrived with proxy headers. This flaw allows a page served from an untrusted origin to connect through a trusted reverse proxy, inherit proxy-authenticated identity, and establish a privileged operator session.

Critical Impact

An attacker can exploit this vulnerability to hijack authenticated sessions and gain unauthorized privileged access to the OpenClaw AI assistant by bypassing origin validation through crafted WebSocket connections.

Affected Products

  • OpenClaw versions prior to 2026.3.11
  • OpenClaw deployments using gateway.auth.mode set to trusted-proxy
  • OpenClaw instances behind trusted reverse proxies

Discovery Timeline

  • 2026-03-13 - CVE CVE-2026-32302 published to NVD
  • 2026-03-16 - Last updated in NVD database

Technical Details for CVE-2026-32302

Vulnerability Analysis

This vulnerability is classified under CWE-346 (Origin Validation Error), which occurs when a product fails to properly verify that the source of data or communication is valid. In the context of OpenClaw, the WebSocket message handler in the gateway server incorrectly trusted requests when proxy headers were present, effectively disabling origin checks for browser clients connecting through reverse proxies.

The fundamental flaw lies in the conditional logic that determines whether to enforce origin validation. The original implementation would skip origin checks for any browser-originated request that also contained proxy headers, under the flawed assumption that proxy presence implied trusted traffic. This created a dangerous scenario where attackers could craft malicious pages that leverage a legitimate proxy to establish privileged sessions.

Root Cause

The root cause is improper conditional logic in the WebSocket connection handler. The enforceOriginCheckForAnyClient flag was incorrectly set to false when both hasBrowserOriginHeader was true AND params.hasProxyHeaders was true. This meant that browser requests arriving through proxies bypassed origin validation entirely, allowing cross-origin WebSocket connections to inherit authenticated proxy identities.

Attack Vector

The attack is network-based and requires user interaction. An attacker would need to:

  1. Host a malicious web page on an untrusted origin
  2. Trick a victim into visiting the malicious page
  3. The page initiates a WebSocket connection to the target OpenClaw instance
  4. If the victim's traffic routes through a trusted reverse proxy (common in corporate environments), the proxy headers cause origin validation to be skipped
  5. The WebSocket connection inherits the proxy-authenticated identity
  6. The attacker gains a privileged operator session through the victim's browser
typescript
   );
   return {
     hasBrowserOriginHeader,
-    enforceOriginCheckForAnyClient: hasBrowserOriginHeader && !params.hasProxyHeaders,
+    enforceOriginCheckForAnyClient: hasBrowserOriginHeader,
     rateLimitClientIp:
       hasBrowserOriginHeader && isLoopbackAddress(params.clientIp)
         ? BROWSER_ORIGIN_LOOPBACK_RATE_LIMIT_IP

Source: GitHub Commit Update

The patch removes the && !params.hasProxyHeaders condition, ensuring that origin checks are enforced for all browser-originated connections regardless of proxy header presence.

Detection Methods for CVE-2026-32302

Indicators of Compromise

  • Unexpected WebSocket connections from external or untrusted origin headers in gateway logs
  • Authenticated operator sessions initiated from unrecognized or suspicious browser origins
  • WebSocket connection logs showing origin headers that don't match expected application domains
  • Anomalous proxy header combinations paired with cross-origin browser requests

Detection Strategies

  • Monitor WebSocket connection logs for origin mismatches where authenticated sessions are established from untrusted domains
  • Implement alerting on gateway logs when trusted-proxy mode accepts connections with suspicious origin headers
  • Review authentication logs for sessions that were established via proxy authentication but originated from external browser origins
  • Deploy network monitoring to detect WebSocket upgrade requests from anomalous referrers

Monitoring Recommendations

  • Enable detailed logging for the OpenClaw gateway WebSocket handler to capture origin headers and proxy header combinations
  • Set up security information and event management (SIEM) rules to correlate proxy-authenticated sessions with unexpected browser origins
  • Periodically audit gateway.auth.mode configurations to identify instances running in trusted-proxy mode

How to Mitigate CVE-2026-32302

Immediate Actions Required

  • Upgrade OpenClaw to version 2026.3.11 or later immediately
  • Review gateway logs for any evidence of exploitation prior to patching
  • Temporarily disable trusted-proxy authentication mode if an immediate upgrade is not possible
  • Audit all active operator sessions and invalidate any suspicious or unrecognized sessions

Patch Information

The vulnerability is fixed in OpenClaw version 2026.3.11. The security patch modifies src/gateway/server/ws-connection/message-handler.ts to enforce browser origin checks regardless of proxy headers. Organizations should update to this version or later by pulling the latest release from the official GitHub repository.

For detailed patch information, refer to the GitHub Security Advisory GHSA-5wcw-8jjv-m286.

Workarounds

  • Switch gateway.auth.mode from trusted-proxy to a more restrictive authentication mode until patching is complete
  • Implement additional origin validation at the reverse proxy layer to reject requests with suspicious origin headers
  • Restrict WebSocket endpoint access through network-level controls to limit exposure from untrusted origins
  • Deploy a Web Application Firewall (WAF) rule to validate origin headers on WebSocket upgrade requests
bash
# Example: Disable trusted-proxy mode in OpenClaw configuration
# Edit openclaw.config.yaml

gateway:
  auth:
    mode: "direct"  # Change from "trusted-proxy" to "direct" authentication

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

  • SeverityHIGH

  • CVSS Score8.1

  • EPSS Probability0.02%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityHigh
  • AvailabilityNone
  • CWE References
  • CWE-346
  • Technical References
  • GitHub Commit Update

  • GitHub Release v2026.3.11

  • GitHub Security Advisory GHSA-5wcw-8jjv-m286
  • 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