OpenClaw Loopback Protection Bypass Vulnerability via Trailing-Dot Localhost in CDP Discovery

Vulnerability

A loopback protection bypass vulnerability has been identified in OpenClaw versions prior to 2026.4.2. The issue arises because the application fails to properly normalize trailing-dot localhost hosts in remote Chrome DevTools Protocol (CDP) discovery responses. This oversight allows attackers to craft malicious discovery responses that include localhost. to redirect authenticated browser control to localhost endpoints, potentially exposing sensitive browser state.

Impact

Exploitation of this vulnerability could lead to unauthorized access to localhost-resolving endpoints, allowing exposure of browser state backed by localhost.

Reproduction

The vulnerability can be reproduced by sending a remote CDP discovery response that includes a trailing-dot localhost host, such as 'localhost.'. This response will bypass OpenClaw's loopback normalization, allowing a non-loopback remote CDP profile to redirect connections back to localhost.

Remediation

Users can update to OpenClaw version 2026.4.2 or later, where this vulnerability has been patched.

Added: Apr 28, 2026, 12:21 AM
Updated: Apr 28, 2026, 12:21 AM

Vulnerability Rating

Custom Algorithm
spread
0.0
impact
1.3
exploitability
8.4
remediation
0.0
relevance
6.9
threat
4.8
urgency
2.9
incentive
4.2

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.