CVE-2026-43576: OpenClaw: CDP /json/version WebSocket URL could pivot to untrusted second-hop targets
OpenClaw before 2026.4.5 trusted the webSocketDebuggerUrl returned by a Chrome DevTools Protocol /json/version response, even when it named a different host. A CDP endpoint on an allowed host could steer OpenClaw's browser connection to an internal address such as the cloud metadata IP. Upgrade the openclaw npm package to 2026.4.5 or later.
Published Apr 17, 2026 · Updated May 12, 2026 · Analysis Oct 30, 2026
What an attacker can do
OpenClaw's browser tooling first asks a CDP endpoint for /json/version, then connects to the WebSocket URL in the reply. The SSRF policy checked the initial cdpUrl but not that second URL. A CDP server on an allowed host could therefore answer with a webSocketDebuggerUrl pointing at 169.254.169.254 or another internal service, and OpenClaw would open the second connection. This is a second-hop SSRF.
The attacker needs control over a CDP endpoint that a browser profile trusts, or the ability to tamper with its responses. The CVSS 4.0 vector needs low privileges and attack prerequisites, and shows high impact on subsequent systems, not on OpenClaw itself. A WebSocket handshake is a narrower primitive than a plain HTTP fetch. The practical risk is probing internal hosts and reaching services that accept a WebSocket upgrade from the OpenClaw host.
The advisory gives no proof of data theft. Teams that point OpenClaw at remote or shared browser endpoints, or at cloud hosts with metadata services, should treat it as a real exposure.
Who is affected
The openclaw npm package below 2026.4.5. It matters when a browser profile uses a CDP endpoint, including a remote one. Check your version:
npm ls openclawVersions 2026.4.5 and later contain the fix, including 2026.4.14, which the advisory names as the latest release at publication.
openclaw
- Ecosystem
- npm
- Affected
- < 2026.4.5
- Fixed in
- 2026.4.5
- Check
npm ls openclaw
How to fix it
Upgrade to openclaw 2026.4.5 or later:
npm install openclaw@latestThe fix is PR #60469, commit bc356cc. It adds an assertCdpEndpointAllowed check on the normalized webSocketDebuggerUrl in createTargetViaCdp (extensions/browser/src/browser/cdp.ts) and getChromeWebSocketUrl (extensions/browser/src/browser/chrome.ts). In strict SSRF mode a cross-host WebSocket URL now fails with SsrFBlockedError. The advisory names no workaround. Until you upgrade, use only CDP endpoints you control and keep the host's access to metadata and internal services restricted.
How to tell if you were hit
After upgrading, search logs for SsrFBlockedError tied to browser or CDP actions. These mark attempts to redirect the second hop. On older versions, look for outbound WebSocket connections from the OpenClaw process to hosts different from the configured cdpUrl, especially 169.254.169.254, loopback or private ranges. Compare the host in each /json/version response with the configured endpoint. Where OpenClaw runs under an agent, Beam records the agent's shell commands and MCP tool calls, which helps trace what prompted the browser action.
Original advisory
From the GitHub Advisory Database (CC BY 4.0).
Summary
CDP /json/version WebSocket URL could pivot to untrusted second-hop targets.
Affected Packages / Versions
- Package:
openclaw - Ecosystem: npm
- Affected versions:
< 2026.4.5 - Patched versions:
>= 2026.4.5
Impact
A browser profile could trust a CDP /json/version response whose webSocketDebuggerUrl pointed at a different host, enabling a second-hop SSRF-style pivot.
Technical Details
The fix normalizes and re-validates direct CDP WebSocket targets before connecting.
Fix
The issue was fixed in #60469. The first stable tag containing the fix is v2026.4.5, and [email protected] includes the fix.
Fix Commit(s)
bc356cc8c2beaa747c71dd86cceab8f804699665- PR: #60469
Release Process Note
Users should upgrade to openclaw 2026.4.5 or newer. The latest npm release, 2026.4.14, already includes the fix.
Credits
Thanks to @tdjackey for reporting this issue.
Credited to nicky-cc.
Questions
- Which OpenClaw version fixes CVE-2026-43576?
2026.4.5. Anything earlier is affected, and 2026.4.14 also includes the fix.
- What is the second hop?
OpenClaw checks the CDP URL it was configured with, then connects to the webSocketDebuggerUrl that endpoint returns. That second URL was not checked, so it could point at a different host.
- Is it exploited in the wild?
The sources do not report exploitation, and the entry is not in CISA's KEV catalog.
References
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. The analysis is written by an AI model from the sources listed above and checked by automated rules before it is published. Check versions against the vendor's advisory before you act. Methodology
More OpenClaw vulnerabilities
All OpenClaw entriesCVE-2026-62197
OpenClaw: Browser CDP discovery could accept blocked WebSocket URLs
medium8.5Oct 21, 2026CVE-2026-35630
OpenClaw: QQBot native approval buttons did not enforce configured approver identity
high8.0Jul 2, 2026CVE-2026-53806
OpenClaw: Combined POSIX shell options could confuse exec revalidation
high8.8Jul 2, 2026CVE-2026-53809
OpenClaw: Embedded runner policy could be confused by provider aliases
medium3.8Jul 2, 2026CVE-2026-53810
OpenClaw's marketplace runtime extension metadata could point at unscanned payloads
high8.8Jul 2, 2026CVE-2026-53811
OpenClaw: Matrix allowFrom could bind to mutable display names
high8.8Jul 2, 2026
