CVE-2026-32034: OpenClaw has an opt-in insecure Control UI auth over plaintext HTTP could allow privileged access
OpenClaw up to 2026.2.19-2 lets gateway.controlUi.allowInsecureAuth: true skip device identity and pairing for the Control UI over plaintext HTTP. Anyone with a leaked or intercepted token or password gets operator access. Upgrade openclaw to 2026.2.21.
Published Mar 3, 2026 · Updated Mar 25, 2026 · Analysis Nov 8, 2026
What an attacker can do
The Control UI normally requires a secure context (HTTPS or localhost) and a paired device identity. In affected releases, turning on allowInsecureAuth made the WebSocket handshake handler in src/gateway/server/ws-connection/message-handler.ts set allowControlUiBypass to true. That skipped the secure-context check and the pairing step. A client with only a valid token or password then got operator-level access over unencrypted HTTP, with no device registered.
This needs an insecure choice by the operator: the option is off by default, and the gateway must be exposed over plain HTTP. The attacker also needs a credential. Plaintext transit makes interception easy on a shared network, and a token leaked earlier works too. With it, the attacker controls the gateway as an operator, and that gateway drives an AI agent that can run commands and use connected tools.
Instances that keep the default and use HTTPS or loopback are not at risk. The pairing check was the second factor that this setting removed.
Who is affected
The npm package openclaw up to and including 2026.2.19-2, and only where gateway.controlUi.allowInsecureAuth is true and the gateway is reachable over plaintext HTTP. Check:
npm ls -g openclawThen look for allowInsecureAuth in your OpenClaw config.
openclaw
- Ecosystem
- npm
- Affected
- <= 2026.2.19-2
- Fixed in
- 2026.2.21
- Check
npm ls openclaw
How to fix it
Upgrade to openclaw 2026.2.21:
npm install -g [email protected]The fix, in commit 40a2926 from PR 20684, stops allowInsecureAuth from skipping the secure-context and device-auth checks, so token-only auth over HTTP is rejected and pairing is enforced. Also set allowInsecureAuth back to false, serve the Control UI over HTTPS, and rotate gateway tokens and passwords that crossed plaintext HTTP.
How to tell if you were hit
Check your config for gateway.controlUi.allowInsecureAuth set to true. Review gateway connection logs for Control UI sessions over HTTP that have no paired device. The fix adds telemetry that logs when insecureAuthConfigured is set during a failed handshake. Beam records the shell commands and tool calls an agent runs, so you can review what an unexpected operator session did.
Original advisory
From the GitHub Advisory Database (CC BY 4.0).
Description
In affected releases, when an operator explicitly enabled gateway.controlUi.allowInsecureAuth: true and exposed the gateway over plaintext HTTP, Control UI authentication could permit privileged operator access without the intended device identity + pairing guarantees.
This required an insecure deployment choice and credential exposure risk (for example, plaintext transit or prior token leak). It was fixed on main in commit 40a292619e1f2be3a3b1db663d7494c9c2dc0abf (PR #20684).
Affected Packages / Versions
- Package:
openclaw(npm) - Affected published versions:
<= 2026.2.19-2 - Planned patched version:
2026.2.21
Impact
In these explicitly insecure deployments, an attacker with leaked/intercepted credentials could obtain high-privilege Control UI access.
Fix Commit(s)
40a292619e1f2be3a3b1db663d7494c9c2dc0abf(merged 2026-02-20)
OpenClaw thanks @Vasco0x4 for reporting.
Credited to Vasco0x4.
Questions
- Is OpenClaw affected by CVE-2026-32034 by default?
No. It needs gateway.controlUi.allowInsecureAuth: true and exposure over plaintext HTTP. Both are deliberate choices by the operator.
- Which version fixes it?
openclaw 2026.2.21. Versions up to 2026.2.19-2 are affected.
- What does the attacker need?
A valid token or password for the gateway, for example from plaintext interception or an earlier leak. The bug removes the device pairing requirement that should also apply.
- Should I rotate credentials?
If you ran this setting over HTTP, yes. Credentials sent in plaintext should be treated as exposed.
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
