openclaw
Affected
- introduced
2026.1.20, fixed2026.2.1(semver)
Fixed versions
2026.2.1
Fix
- Fixed version
2026.2.1npm install [email protected]
Advisory
Also known as: CVE-2026-28458
OpenClaw's Browser Relay /cdp websocket is missing auth which could allow cross-tab cookie access
Summary
In affected versions, the Browser Relay /cdp WebSocket endpoint did not require an authentication token. As a result, a website running in the browser could potentially connect to the local relay (via loopback WebSocket) and use CDP to access cookies from other open tabs and run JavaScript in the context of other tabs.
Affected Packages / Versions
openclaw >= 2026.1.20, < 2026.2.1moltbot <= 0.1.0Details
The Chrome extension Browser Relay service exposes a local WebSocket endpoint at ws://127.0.0.1:18792/cdp (default port) for forwarding Chrome DevTools Protocol (CDP) messages.
In affected versions, the /cdp upgrade path verified the TCP peer was loopback but did not require a shared secret and did not block browser-initiated cross-origin requests.
Impact
Users must have the Browser Relay extension installed and active, and must visit an untrusted site.
Fixopenclaw now requires a per-instance shared secret header for Browser Relay access:
x-openclaw-relay-tokenIt also rejects /cdp WebSocket upgrades when the Origin header is present but is not chrome-extension://..., and refuses /cdp connections unless the extension is connected.
Fix Commit(s)
a1e89afcc19efd641c02b24d66d689f181ae2b5cReleases
[email protected] includes the fix.openclaw at time of writing: 2026.2.13.Mitigation
openclaw@>= 2026.2.1.Thanks @johnatzeropath, @LeftenantZero, and @yueyueL for reporting.
High Basis: The source's own band: HIGH
2026.1.20, fixed 2026.2.1 (semver)2026.2.1
2026.2.1npm install [email protected]0, last affected 0.1.0 (semver)None listed
No fixed version is listed.
Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0