CVE-2026-32045: OpenClaw's gateway tokenless Tailscale auth applied to HTTP routes
OpenClaw versions before 2026.2.21 let the tokenless Tailscale header auth, meant only for Control UI websocket login, also apply to HTTP gateway routes. With that option on, an attacker who can reach the gateway may skip the token or password on HTTP routes. Upgrade the `openclaw` npm package to 2026.2.21.
Published Mar 3, 2026 · Updated Mar 24, 2026 · Analysis Oct 31, 2026
What an attacker can do
OpenClaw's gateway can trust forwarded Tailscale headers instead of a token for Control UI websocket authentication on trusted hosts. In affected versions the gateway auth code applied that same tokenless path at HTTP gateway call sites. A deployment that relied on a token or password for HTTP routes was downgraded to tokenless behavior as soon as Tailscale header auth was enabled. The weakness is a spoofing flaw (CWE-290), and the CVSS vector rates it network-reachable with no privileges and low integrity impact.
The advisory limits the scope. It does not affect the recommended setup: a loopback-only gateway, or one inside a trusted host or network boundary, remote access through Tailscale serve or funnel, and tokenless Tailscale auth scoped to the Control UI websocket login. The exposed case is a gateway where tokenless Tailscale auth is enabled and HTTP routes are reachable by parties you did not intend to trust. Those parties could call HTTP routes without the token or password. Because OpenClaw is an agent gateway, HTTP routes can expose agent controls, so treat it as an access-control gap in front of an AI agent.
Who is affected
The openclaw npm package below 2026.2.21 (the advisory text names <= 2026.2.19-2 as the latest published version when written). Only gateways with tokenless Tailscale auth enabled are exposed. Check the installed version:
npm ls openclaw
openclaw --versionThen check your gateway config for Tailscale header auth, and for whether the gateway listens beyond loopback.
openclaw
- Ecosystem
- npm
- Affected
- < 2026.2.21
- Fixed in
- 2026.2.21
- Check
npm ls openclaw
How to fix it
Upgrade to 2026.2.21:
npm install -g [email protected]The fix (commit 356d61aacfa5b0f1d5830716ec59d70682a3e7b8) adds an auth-surface gate, allowTailscaleHeaderAuth, which defaults to false. It turns tokenless Tailscale header auth on only for Control UI websocket authentication and keeps HTTP gateway call sites on token or password auth. Until you can upgrade, follow the advisory's guidance: keep the gateway loopback-only or within a trusted boundary and use Tailscale serve or funnel for remote access.
How to tell if you were hit
Review gateway access logs for HTTP route requests that succeeded without a token or password, especially from Tailscale peers or addresses outside your intended trust boundary. Compare them with the websocket logins you expect. Check whether the gateway bound beyond loopback while tokenless Tailscale auth was enabled on a version before 2026.2.21. The sources publish no specific log string for this flaw. If you find unexplained HTTP calls, rotate the gateway token and password and review what the agent did in that window.
Original advisory
From the GitHub Advisory Database (CC BY 4.0).
Summary
When tokenless Tailscale auth is enabled, OpenClaw should only allow forwarded-header auth for Control UI websocket authentication on trusted hosts. In affected versions, that tokenless path could also be used by HTTP gateway auth call sites, which could bypass token/password requirements for HTTP routes in trusted-network deployments.
Affected Packages / Versions
- Package:
openclaw(npm) - Affected range:
<= 2026.2.19-2(latest published npm version as of February 21, 2026) - Patched in: planned
2026.2.21release
Impact
Deployments relying on token/password for HTTP gateway routes could be downgraded to tokenless behavior when Tailscale header auth is enabled. This weakens expected HTTP route authentication boundaries even in trusted-host network setups.
Per SECURITY.md, this does not affect the recommended setup: keep the Gateway loopback-only (or otherwise within a trusted host/network boundary), use Tailscale serve/funnel for remote access, and keep tokenless Tailscale auth scoped to Control UI websocket login.
Fix
- Added an explicit auth-surface gate (
allowTailscaleHeaderAuth, defaultfalse) in gateway auth. - Enabled tokenless Tailscale header auth only for Control UI websocket authentication.
- Kept HTTP gateway auth call sites on token/password auth paths.
- Added regression coverage for HTTP-vs-websocket behavior and Tailscale header handling.
Fix Commit(s)
356d61aacfa5b0f1d5830716ec59d70682a3e7b8
Release Process Note
patched_versions is pre-set to the planned next release (2026.2.21) so once npm release is published, this advisory can be published directly without further field edits.
OpenClaw thanks @zpbrent for reporting.
Credited to zpbrent.
Questions
- Which OpenClaw version fixes CVE-2026-32045?
2026.2.21. Versions before it are affected, and the advisory names 2026.2.19-2 as the latest published version when it was written.
- Am I affected if my gateway is loopback-only?
The advisory says the recommended setup is not affected: a loopback-only or trusted-boundary gateway, remote access via Tailscale serve or funnel, and tokenless Tailscale auth limited to Control UI websocket login.
- What does the fix change in config terms?
It adds an internal gate, allowTailscaleHeaderAuth, defaulting to false. Tokenless header auth is enabled only for Control UI websocket authentication. HTTP gateway routes stay on token or password auth.
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
