Description
OpenClaw before 2026.4.5 contains a server-side request forgery vulnerability in the CDP /json/version WebSocket endpoint that allows attackers to pivot to untrusted second-hop targets. The webSocketDebuggerUrl response field is not properly validated, enabling attackers to redirect connections to arbitrary hosts and perform SSRF-style attacks.
Problem types
CWE-601 URL Redirection to Untrusted Site ('Open Redirect')
CWE-918 Server-Side Request Forgery (SSRF)
Product status
Any version before 2026.4.5
2026.4.5 (semver)
Credits
Nicky (@nicky-cc)
References
github.com/...enclaw/security/advisories/GHSA-f7fh-qg34-x2xh (GitHub Security Advisory (GHSA-f7fh-qg34-x2xh))
github.com/...ommit/bc356cc8c2beaa747c71dd86cceab8f804699665 (Patch Commit)
www.vulncheck.com/...ssrf-via-cdp-json-version-websocket-url (VulnCheck Advisory: OpenClaw < 2026.4.5 - Second-hop SSRF via CDP /json/version WebSocket URL)