Skip to main content

OpenClaw CVE-2026-41372

MEDIUM
Authorization Bypass Through User-Controlled Key (CWE-639)
2026-04-28 disclosure@vulncheck.com
6.9
CVSS 4.0 · Vendor: vulncheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Attacker crafts malicious CDP discovery response
  2. Delivery
    Injects response into network or spoofs discovery source
  3. Exploit
    OpenClaw receives response with 'localhost.' hostname
  4. Install
    Loopback validation fails due to trailing-dot bypass
  5. C2
    OpenClaw initiates CDP connection to attacker endpoint
  6. Execute
    Browser control session redirected to attacker
  7. Impact
    Attacker intercepts browser state and authentication tokens

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Object-level authorization, IDOR prevention
Exploitation Conditions

OpenClaw must have Chrome DevTools Protocol (CDP) discovery enabled and actively accepting discovery responses from the network. The attacker must be able to inject or intercept CDP discovery responses (via mDNS, DNS spoofing, ARP spoofing, network sniffing, or compromised network infrastructure). The loopback protection must be in place (which it is by default, as the vulnerability describes a bypass of that protection). No special authentication is required on the attacker side because discovery responses are evaluated before authentication checks. The exploitation is limited by network position: the attacker must be on the same network segment or be able to intercept/spoof discovery traffic; remote exploitation from an arbitrary internet location is not feasible unless the OpenClaw instance has been configured to accept CDP discovery from external sources, which would be a non-default configuration. Additionally, successful exploitation requires that the targeted OpenClaw instance actually has an authenticated browser connection active; if no browser session exists, the redirect succeeds but yields no sensitive data.

Impact

The CVSS 4.0 vector indicates network attack surface (AV:N), low complexity (AC:L), no privileges required (PR:N), and no user interaction (UI:N), confirming an easily exploitable remote vulnerability. Confidentiality impact is rated low (VC:L), which aligns with exposure of browser state rather than full system compromise. The lack of integrity and availability impacts (VI:N, VA:N, SA:N) reflects that this is primarily a data disclosure issue. EPSS exploitation probability is not provided in the input, so relative risk cannot be cross-validated against real-world prevalence signals. KEV (CISA Known Exploited Vulnerabilities) status is not indicated in the input-if this is genuinely a future-dated CVE (2026), no real-world exploitation data can exist. The authentication bypass tag and low-complexity network attack vector suggest real risk to any OpenClaw deployment accepting external CDP discovery responses. However, practical impact depends on deployment context: if OpenClaw is isolated to internal networks or only accepts discovery from trusted sources, exploitation becomes significantly harder despite low CVSS complexity. Defenders should verify whether CDP discovery is enabled, whether discovery responses are validated/signed, and whether network segmentation limits CDP endpoint reachability.

Exploit ScenarioDerived

An attacker on the same network as an OpenClaw instance crafts a malicious mDNS or HTTP discovery response advertising a CDP endpoint at 'localhost.' (with trailing dot) instead of 'localhost' or a legitimate external service. When OpenClaw parses the response, it fails to normalize the trailing dot and treats 'localhost.' as distinct from the loopback whitelist entry 'localhost', bypassing the loopback protection check. The OpenClaw instance then connects to the attacker's endpoint with the authenticated browser context, allowing the attacker to intercept and manipulate browser state, read authentication tokens, or inject malicious JavaScript into the browser session.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Apr 28, 2026

OpenClaw before version 2026.4.2 fails to normalize trailing-dot localhost hostnames in Chrome DevTools Protocol (CDP) discovery responses, allowing attackers to bypass loopback address protections. An unauthenticated remote attacker can craft malicious CDP discovery responses that return 'localhost.' (with trailing dot) instead of the standard 'localhost', causing the browser control mechanism to treat it as a different hostname and redirect authenticated browser sessions to attacker-controlled endpoints, potentially exposing sensitive browser state and authentication tokens.

RemediationAI

Upgrade OpenClaw to version 2026.4.2 or later. The fix is confirmed in commit 9c22d636697336a6b22b0ae24798d8b8325d7828 at https://github.com/openclaw/openclaw, which implements proper DNS FQDN normalization for hostname comparison in CDP discovery responses. If immediate patching is not feasible, restrict network access to CDP discovery responses by implementing network segmentation so that only trusted, internal CDP discovery mechanisms can reach the OpenClaw process; alternatively, configure OpenClaw to only accept CDP discovery from hardcoded, pre-configured sources rather than dynamic discovery. Monitor network traffic for suspicious CDP discovery responses containing trailing-dot localhost variants ('localhost.', '127.0.0.1.', etc.). These mitigations are less robust than patching because they rely on network controls that may be bypassed if an attacker gains access to the internal network or can perform man-in-the-middle attacks on CDP discovery channels.

Affected Packages

npm openclaw fix: 2026.4.2

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in npm

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

OpenClaw implements Chrome DevTools Protocol (CDP) client functionality for browser automation and debugging. CDP discovery uses DNS-like service discovery or HTTP-based endpoint enumeration to locate CDP websocket endpoints. The vulnerability stems from improper hostname canonicalization: standard DNS and network stacks normalize 'localhost.' (fully qualified with trailing dot) to the same loopback address (127.0.0.1) as 'localhost' (unqualified). OpenClaw's loopback protection logic compares hostnames as strings without normalizing the trailing dot, creating a logical bypass. CWE-639 (Authorization Bypass Through User-Controlled Key) describes this class of flaw where user-influenced input (the attacker-crafted discovery response) bypasses access control checks that rely on string comparison rather than semantic equivalence. The root cause is a hostname validation flaw in the CDP discovery response handler, likely in URL/host parsing code that fails to apply DNS FQDN normalization before checking against a loopback whitelist.

Know when Openclaw gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (vulncheck) PRIMARY 6.9 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:L/SI:N/SA:N

Primary rating from Vendor (vulncheck) · only source for this CVE.

CVSS VectorVendor: vulncheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
None
Vulnerable system: Availability
None
Subsequent system: Confidentiality
Low
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

OpenClaw before 2026.4.2 fails to normalize trailing-dot localhost hosts in remote CDP discovery responses, allowing bypass of loopback protections. Attackers can craft hostile discovery responses returning localhost. to retarget authenticated browser control toward localhost endpoints and expose browser state.

Blast Radius

ecosystem impact
† from your stack dependencies † transitive graph · vuln.today resolves 4-path depth
  • 5 npm packages depend on openclaw (5 direct, 0 indirect)

Ecosystem-wide dependent count for version 2026.4.2.

Threat Intelligence Overview

EPSS Score
0.0%
Top 92% exploitable
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

34
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +34
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

Affected Products (CPE)CVE.org

cpe:2.3:a:openclaw:openclaw:*:*:*:*:*:node.js:*:*
CVE-2026-28446 CRITICAL POC
9.4 Mar 05

Auth bypass in OpenClaw voice-call extension before 2026.2.1. EPSS 0.68%. PoC and patch available.

CVE-2026-33579 CRITICAL POC
9.4 Mar 31

Privilege escalation in OpenClaw (pre-2026.3.28) allows unauthenticated remote attackers to gain administrative access b

CVE-2026-32042 HIGH POC
8.8 Mar 21

OpenClaw versions 2026.2.22 through 2026.2.24 contain a privilege escalation vulnerability that allows authenticated att

CVE-2026-32051 HIGH POC
8.8 Mar 21

An authorization mismatch vulnerability in OpenClaw versions prior to 2026.3.1 allows authenticated users with operator.

CVE-2026-25253 HIGH POC
8.8 Feb 01

OpenClaw versions prior to 2026.1.29 automatically establish WebSocket connections to attacker-controlled gateway URLs e

CVE-2026-32846 HIGH POC
8.7 Mar 26

Path traversal in OpenClaw through version 2026.3.23 enables unauthenticated remote attackers to read arbitrary files in

CVE-2026-53857 HIGH POC
8.6 Jun 16

Authentication bypass in OpenClaw before 2026.5.3 allows remote attackers with low privileges to receive agent responses

CVE-2026-100530 HIGH POC
8.5 Sep 26

Directory-context bypass in OpenClaw before 2026.8.1 allows authenticated attackers with user interaction to reuse an 'a

CVE-2026-32064 HIGH POC
8.5 Mar 21

Unauthenticated access to the noVNC observer interface in OpenClaw's Docker sandbox browser allows anyone who can reach

CVE-2026-32055 HIGH POC
7.6 Mar 21

OpenClaw versions before 2026.2.26 allow authenticated attackers to write arbitrary files outside the workspace director

CVE-2026-32056 HIGH POC
7.5 Mar 21

OpenClaw versions prior to 2026.2.22 contain a shell environment variable injection vulnerability in the system.run func

CVE-2026-32049 HIGH POC
7.5 Mar 21

OpenClaw versions prior to 2026.2.22 contain a resource exhaustion vulnerability where the application fails to consiste

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy