OpenClaw Server-Side Request Forgery Vulnerability in WebSocket CDP Endpoint

Vulnerability

A server-side request forgery (SSRF) vulnerability has been identified in OpenClaw versions prior to 2026.4.5. The issue resides in the CDP /json/version WebSocket endpoint, where the webSocketDebuggerUrl response field is not properly validated. This lack of validation allows attackers to redirect connections to arbitrary hosts, enabling them to pivot to untrusted second-hop targets and perform SSRF-style attacks.

Impact

Exploitation of this vulnerability could lead to unauthorized requests being sent to internal or external services, potentially allowing attackers to access sensitive information or perform actions on behalf of the vulnerable application.

Reproduction

To reproduce this vulnerability, connect to the CDP WebSocket endpoint and request the /json/version resource. The response will include the webSocketDebuggerUrl field, which can be manipulated to point to an untrusted second-hop target. If the target is within the allowed hostnames of the SSRF policy, the connection will be established, demonstrating the pivot capability.

Remediation

Users should upgrade to OpenClaw version 2026.4.5 or later. The latest npm release, 2026.4.14, includes the fix.

Added: May 6, 2026, 9:17 PM
Updated: May 6, 2026, 9:17 PM

Vulnerability Rating

Custom Algorithm
spread
0.0
impact
0.6
exploitability
7.1
remediation
0.0
relevance
7.6
threat
4.8
urgency
2.9
incentive
0.0

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