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

CVE-2026-40045: OpenClaw Information Disclosure Flaw

CVE-2026-40045 is an information disclosure vulnerability in OpenClaw that exposes gateway credentials over unencrypted connections. This article covers the technical details, affected versions, impact, and mitigation.

Published: April 23, 2026

CVE-2026-40045 Overview

CVE-2026-40045 is a cleartext transmission vulnerability in OpenClaw versions prior to 2026.4.2. The application accepts non-loopback cleartext ws:// gateway endpoints and transmits stored gateway credentials over unencrypted connections. This flaw enables attackers on the adjacent network to forge discovery results or craft malicious setup codes that redirect clients to attacker-controlled endpoints, resulting in the disclosure of plaintext gateway credentials.

Critical Impact

Attackers can intercept gateway credentials transmitted in cleartext over unencrypted WebSocket connections, potentially gaining unauthorized access to OpenClaw gateway infrastructure.

Affected Products

  • OpenClaw versions before 2026.4.2
  • OpenClaw Android application with remote gateway endpoint functionality

Discovery Timeline

  • 2026-04-21 - CVE-2026-40045 published to NVD
  • 2026-04-21 - Last updated in NVD database

Technical Details for CVE-2026-40045

Vulnerability Analysis

This vulnerability falls under CWE-319 (Cleartext Transmission of Sensitive Information). The root issue lies in OpenClaw's failure to enforce TLS encryption for remote gateway endpoints. When users configure or discover gateway endpoints, the application accepts ws:// (unencrypted WebSocket) connections for non-loopback addresses. This means that gateway credentials stored in the application's secure preferences are transmitted over the network without encryption, exposing them to any attacker with adjacent network access.

The attack requires physical proximity or network access (adjacent network attack vector) and some user interaction, as the victim must be redirected to a malicious endpoint. However, once these conditions are met, the attacker gains access to highly confidential gateway credentials without requiring any authentication.

Root Cause

The vulnerability stems from insufficient validation of gateway endpoint protocols. Prior to the patch, the OpenClaw Android application did not enforce TLS requirements for remote (non-loopback) gateway connections. The NodeRuntime class lacked TLS fingerprint probing capabilities, and there was no security check to distinguish between local loopback addresses (which may legitimately use unencrypted connections for development) and remote addresses that require encryption.

Attack Vector

An attacker positioned on the same network segment can exploit this vulnerability through several methods:

  1. Discovery Result Forgery: Intercept and modify gateway discovery responses to redirect victims to attacker-controlled endpoints
  2. Malicious Setup Codes: Craft setup codes containing ws:// endpoints pointing to malicious servers
  3. Man-in-the-Middle: Passively intercept credentials transmitted over unencrypted WebSocket connections

The security patch introduces a new GatewayHostSecurity.kt module that validates whether gateway hosts are loopback addresses:

kotlin
+package ai.openclaw.app.gateway
+
+import android.os.Build
+import java.net.InetAddress
+import java.util.Locale
+
+internal fun isLoopbackGatewayHost(
+  rawHost: String?,
+  allowEmulatorBridgeAlias: Boolean = isAndroidEmulatorRuntime(),
+): Boolean {
+  var host =
+    rawHost
+      ?.trim()
+      ?.lowercase(Locale.US)
+      ?.trim('[', ']')
+      .orEmpty()
+  if (host.endsWith(".")) {
+    host = host.dropLast(1)
+  }
+  val zoneIndex = host.indexOf('%')
+  if (zoneIndex >= 0) {
+    host = host.substring(0, zoneIndex)
+  }
+  if (host.isEmpty()) return false
+  if (host == "localhost") return true
+  if (allowEmulatorBridgeAlias && host == "10.0.2.2") return true
+
+  parseIpv4Address(host)?.let { ipv4 ->
+    return ipv4.first() == 127.toByte()
+  }

Source: GitHub Commit Update

The NodeRuntime class was also updated to include TLS fingerprint probing:

kotlin
 class NodeRuntime(
   context: Context,
   val prefs: SecurePrefs = SecurePrefs(context.applicationContext),
+  private val tlsFingerprintProbe: suspend (String, Int) -> String? = ::probeGatewayTlsFingerprint,
 ) {
   data class GatewayConnectAuth(
     val token: String?,

Source: GitHub Commit Update

Detection Methods for CVE-2026-40045

Indicators of Compromise

  • Outbound WebSocket connections using ws:// protocol to non-loopback remote addresses from OpenClaw applications
  • Unexpected gateway discovery responses from unknown network sources
  • Gateway credential usage from unauthorized IP addresses or locations
  • Network traffic containing plaintext credential data on WebSocket ports

Detection Strategies

  • Monitor network traffic for unencrypted WebSocket (ws://) connections originating from OpenClaw application instances
  • Implement network-level detection rules to alert on cleartext credential patterns in WebSocket traffic
  • Audit gateway access logs for connections from unexpected sources following potential credential exposure
  • Deploy intrusion detection signatures to identify forged gateway discovery packets

Monitoring Recommendations

  • Enable logging of all gateway endpoint configuration changes in OpenClaw deployments
  • Monitor for unusual patterns in gateway credential usage that may indicate credential theft
  • Implement network segmentation to limit adjacent network attack exposure
  • Use SentinelOne Singularity™ Platform to monitor for suspicious application network behavior and potential credential exfiltration

How to Mitigate CVE-2026-40045

Immediate Actions Required

  • Upgrade OpenClaw to version 2026.4.2 or later immediately
  • Audit all configured gateway endpoints and ensure they use wss:// (encrypted WebSocket) protocol
  • Rotate any gateway credentials that may have been transmitted over unencrypted connections
  • Review network logs for evidence of credential interception or malicious endpoint redirection

Patch Information

The vulnerability has been addressed in OpenClaw version 2026.4.2. The fix introduces mandatory TLS validation for all remote (non-loopback) gateway endpoints. The security patch is documented in GitHub Security Advisory GHSA-83f3-hh45-vfw9 and the specific code changes can be reviewed in commit a941a4f.

Workarounds

  • If immediate upgrade is not possible, configure firewall rules to block outbound ws:// connections from OpenClaw applications to non-loopback addresses
  • Use network segmentation to isolate OpenClaw clients from potentially hostile adjacent networks
  • Manually verify all gateway endpoints use wss:// protocol before configuring them in the application
  • Consider VPN or other encrypted tunnel solutions for environments where OpenClaw must operate on untrusted networks
bash
# Network firewall rule to block unencrypted WebSocket traffic (example using iptables)
# Block outbound ws:// connections on common WebSocket ports
iptables -A OUTPUT -p tcp --dport 80 -m string --string "Upgrade: websocket" --algo bm -j DROP
iptables -A OUTPUT -p tcp --dport 8080 -m string --string "Upgrade: websocket" --algo bm -j DROP

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

  • Vulnerability Details
  • TypeInformation Disclosure

  • Vendor/TechOpenclaw

  • SeverityMEDIUM

  • CVSS Score5.9

  • EPSS Probability0.01%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:A/AC:L/AT:P/PR:N/UI:P/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-319
  • Technical References
  • GitHub Commit Update

  • GitHub Security Advisory GHSA-83f3-hh45-vfw9

  • VulnCheck Advisory on OpenClaw
  • Related CVEs
  • CVE-2026-41389: OpenClaw Information Disclosure Flaw

  • CVE-2026-35651: Openclaw Information Disclosure Flaw

  • CVE-2026-3691: OpenClaw Client Info Disclosure Flaw

  • CVE-2026-32982: Openclaw Information Disclosure Flaw
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