CVE-2026-32025: OpenClaw's browser-origin WebSocket auth hardening gap could enable loopback password brute-force chains
OpenClaw up to 2026.2.24 let a malicious web page brute-force the local gateway password over a browser WebSocket. Origin checks, loopback throttling and pairing approval were all missing for some browser clients. A guessed password gives an operator session. Fixed in 2026.2.25.
Published Mar 3, 2026 · Updated Mar 20, 2026 · Analysis Nov 15, 2026
What an attacker can do
Three gaps combined in affected versions. Origin checks were not enforced for WebSocket clients other than Control UI and Webchat. Auth attempts from loopback were exempt from password-failure throttling. Browser-origin clients other than Control UI could also pair silently on the local machine.
The attack runs like this. The victim opens an attacker-controlled web page. Script on the page connects to the gateway on loopback, which is the default bind. It then guesses passwords at full speed, since loopback attempts are never throttled. If it guesses the password, the page holds an authenticated operator WebSocket session and can call control-plane methods open to that role.
The advisory is explicit about the limits. It needs password auth mode, a victim who opens the page, and a password weak enough to guess in a feasible number of attempts. It is not an unauthenticated internet RCE. A strong, unique password makes it impractical.
For teams running AI agents through OpenClaw, an operator session means control over the agent gateway. That is the reason to patch even though the preconditions are demanding. The CVSS 3.1 vector has high attack complexity and user interaction required.
Who is affected
The openclaw npm package, versions up to and including 2026.2.24. Check your install:
npm ls openclawYou are exposed when the gateway is reachable on loopback and uses password auth. A guessable password raises the risk. Token-based setups are not the case the advisory describes.
openclaw
- Ecosystem
- npm
- Affected
- <= 2026.2.24
- Fixed in
- 2026.2.25
- Check
npm ls openclaw
How to fix it
Upgrade to openclaw 2026.2.25:
npm install -g [email protected]The fix is commit c736f11a. It enforces the browser-origin check for any client that sends a browser Origin header, with trusted-proxy flows still supported. It adds a separate rate limiter for browser-origin auth attempts with the loopback exemption disabled. It also stops silent auto-pairing for browser clients other than Control UI and Webchat, so they get a pending pairing request that needs approval.
Until you upgrade, use a long random gateway password. The advisory gives no other workaround.
How to tell if you were hit
Review gateway logs for many failed password attempts from loopback in a short window, which was not throttled before the fix. Look for WebSocket connections that carry a browser Origin header from a site other than your own. Check the paired-device list for entries you did not approve. After upgrading, rejected attempts show as "origin not allowed" or "retry later", and new browser clients show "pairing required". If you suspect a hit, change the password. If an AI agent is connected, Beam records agent shell commands and MCP tool calls, which would show what an unexpected operator session made the agent do.
Original advisory
From the GitHub Advisory Database (CC BY 4.0).
This issue is a browser-origin WebSocket auth chain on local loopback deployments using password auth. It is serious, but conditional: an attacker must get the user to open a malicious page and then successfully guess the gateway password.
Context and Preconditions
OpenClaw’s web/gateway surface is designed for local use and trusted-operator workflows. In affected versions, a browser-origin client could combine three behaviors:
- Origin checks not enforced for some non-Control-UI WebSocket client IDs.
- Loopback auth attempts exempt from password-failure throttling.
- Silent local pairing path available to browser-origin non-Control-UI clients.
Successful exploitation requires all of the following:
- Gateway reachable on loopback (default).
- Password auth mode in use.
- Victim opens attacker-controlled web content.
- Password is guessable within feasible brute-force/dictionary attempts.
Practical Impact
If the password is guessed, an attacker can establish an authenticated operator WebSocket session and invoke control-plane methods available to that role. This is not an unauthenticated internet-exposed RCE class issue by itself; it is a local browser-origin auth-hardening gap with meaningful impact under the conditions above.
Affected Packages / Versions
- Package:
openclaw(npm) - Affected versions:
<=2026.2.24(latest published npm version as of February 26, 2026) - Patched versions :
>=2026.2.25
Fix Commit(s)
c736f11a16d6bc27ea62a0fe40fffae4cb071fdb
Fix Details
- Enforce browser-origin checks for direct browser WebSocket clients beyond Control UI/Webchat (trusted-proxy forwarded flows remain supported).
- Apply browser-origin auth failure throttling with loopback exemption disabled.
- Block silent auto-pairing for non-Control-UI browser-origin clients.
Release Process Note
patched_versions is pre-set to the planned next npm release (2026.2.25) so once that release is published, the advisory is published.
OpenClaw thanks @luz-oasis for reporting.
Credited to luz-oasis.
Questions
- Can this be exploited from the internet?
Not by itself. The advisory says it is a local browser-origin gap. The victim has to open a malicious page, and the gateway has to be reachable on loopback with password auth.
- Does a strong password protect me?
In practice, largely yes. The attack depends on guessing the password within feasible brute-force or dictionary attempts. Upgrading to 2026.2.25 is still the real fix.
- Which version fixes CVE-2026-32025?
2026.2.25. Versions up to 2026.2.24 are affected.
- Is it exploited in the wild?
No source reports exploitation, and the entry has no CISA KEV data.
References
Read for this analysis:
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
