OpenClaw
CVE-2026-41372
MEDIUM
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconAttacker crafts malicious CDP discovery response
-
DeliveryInjects response into network or spoofs discovery source
-
ExploitOpenClaw receives response with 'localhost.' hostname
-
InstallLoopback validation fails due to trailing-dot bypass
-
C2OpenClaw initiates CDP connection to attacker endpoint
-
ExecuteBrowser control session redirected to attacker
-
ImpactAttacker 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
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
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
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- 5 npm packages depend on openclaw (5 direct, 0 indirect)
Ecosystem-wide dependent count for version 2026.4.2.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
Affected Products (CPE)CVE.org
Related Vulnerabilities in OpenClaw Multiple Security Flaws
View all 11Auth bypass in OpenClaw voice-call extension before 2026.2.1. EPSS 0.68%. PoC and patch available.
Privilege escalation in OpenClaw (pre-2026.3.28) allows unauthenticated remote attackers to gain administrative access b
OpenClaw versions 2026.2.22 through 2026.2.24 contain a privilege escalation vulnerability that allows authenticated att
An authorization mismatch vulnerability in OpenClaw versions prior to 2026.3.1 allows authenticated users with operator.
OpenClaw versions prior to 2026.1.29 automatically establish WebSocket connections to attacker-controlled gateway URLs e
Path traversal in OpenClaw through version 2026.3.23 enables unauthenticated remote attackers to read arbitrary files in
Authentication bypass in OpenClaw before 2026.5.3 allows remote attackers with low privileges to receive agent responses
Directory-context bypass in OpenClaw before 2026.8.1 allows authenticated attackers with user interaction to reuse an 'a
Unauthenticated access to the noVNC observer interface in OpenClaw's Docker sandbox browser allows anyone who can reach
OpenClaw versions before 2026.2.26 allow authenticated attackers to write arbitrary files outside the workspace director
OpenClaw versions prior to 2026.2.22 contain a shell environment variable injection vulnerability in the system.run func
OpenClaw versions prior to 2026.2.22 contain a resource exhaustion vulnerability where the application fails to consiste
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB