CVE-2026-35634: OpenClaw: Gateway Canvas local-direct requests bypass Canvas HTTP and WebSocket authentication
Before OpenClaw 2026.3.23, Canvas and A2UI requests that looked like local loopback traffic skipped Canvas authentication on both HTTP and WebSocket. Anything that could reach the Gateway as a local-direct request could use Canvas without a bearer token or node capability. Upgrade openclaw to 2026.3.23 or later.
Published Mar 26, 2026 · Updated Apr 10, 2026 · Analysis Oct 31, 2026
What an attacker can do
In src/gateway/server/http-auth.ts, authorizeCanvasRequest() returned ok for any request that isLocalDirectRequest() accepted, before it checked a bearer token or an active node canvas capability (CWE-287). Loopback was treated as trusted by itself.
Loopback trust breaks down when something else on the host, or a reverse proxy running on the same machine, forwards outside traffic to the Gateway. Then a remote client looks local. It also fails when a local process or a browser page on the same machine can reach the port. In those cases an attacker gets Canvas HTTP routes and WebSocket access without credentials, which the CVSS 4.0 vector scores as low confidentiality and low integrity impact.
Canvas shows content and sends actions to the agent, so access lets an attacker read what the agent displays and push content or actions into its UI. The advisory does not say it leads to code execution. The risk is highest on hosts where OpenClaw sits behind a local proxy or shares the machine with untrusted users.
Who is affected
Affected: the openclaw npm package before 2026.3.23. Note that 2026.3.22, the fix release for most other March 2026 OpenClaw advisories, is still vulnerable to this one. Check your version:
npm ls openclaw
openclaw --versionopenclaw
- Ecosystem
- npm
- Affected
- < 2026.3.23
- Fixed in
- 2026.3.23
- Check
npm ls openclaw
How to fix it
Upgrade to openclaw 2026.3.23 or later; 2026.3.23-2 also includes the fix.
npm install -g openclaw@latestFix commit d5dc6b6573ae489bc7e5651090f4767b93537c9e, "fix(gateway): require auth for canvas routes", removes the local-direct early return from authorizeCanvasRequest(). Loopback requests now need a bearer token or a node canvas capability, as covered by the new test "denies canvas HTTP/WS on loopback without bearer or capability by default". The advisory names no workaround.
How to tell if you were hit
Check Gateway access logs for Canvas and A2UI HTTP requests or WebSocket upgrades that came from 127.0.0.1 or ::1 with no Authorization header, and especially ones that a local reverse proxy forwarded for outside clients. Look for Canvas content you did not create. After upgrading, the same requests fail with an authentication error, so a rise in those failures shows probing.
Original advisory
From the GitHub Advisory Database (CC BY 4.0).
Summary
Before v2026.3.23, Canvas and A2UI loopback requests could bypass Canvas bearer-or-capability authentication because authorizeCanvasRequest(...) treated isLocalDirectRequest(...) as an unconditional allow path.
Affected Packages / Versions
- Package:
openclaw(npm) - Affected:
< 2026.3.23 - Fixed:
>= 2026.3.23 - Latest released tag checked:
v2026.3.23-2(630f1479c44f78484dfa21bb407cbe6f171dac87) - Latest published npm version checked:
2026.3.23-2
Root Cause
The vulnerable logic lived in src/gateway/server/http-auth.ts. authorizeCanvasRequest(...) returned { ok: true } for local-direct requests before checking bearer authentication or an active node canvas capability, which meant unauthenticated loopback Canvas HTTP and WebSocket requests could succeed.
Fix Commit(s)
d5dc6b6573ae489bc7e5651090f4767b93537c9e—fix(gateway): require auth for canvas routes
Release Status
The fix commit is contained in released tags v2026.3.23 and v2026.3.23-2. The latest shipped tag and npm release both include the fix.
Code-Level Confirmation
src/gateway/server/http-auth.tsno longer contains the local-direct early return inauthorizeCanvasRequest(...).src/gateway/server.canvas-auth.test.tsadds the regression testdenies canvas HTTP/WS on loopback without bearer or capability by default.
Thanks @smaeljaish771 for reporting.
Credited to smaeljaish771, KeenSecurityLab.
Questions
- Is OpenClaw 2026.3.22 affected by CVE-2026-35634?
Yes. The affected range is below 2026.3.23, so 2026.3.22 is still vulnerable. Version 2026.3.23 is the first fixed release.
- Does the attacker have to be on the same machine?
The CVSS vector is network-based with no privileges. The bypass applies to requests that the Gateway classifies as local-direct, which can include traffic forwarded by a proxy on the host.
- Which parts are exposed?
Canvas and A2UI HTTP routes and WebSocket connections, which are checked by authorizeCanvasRequest().
- Is it exploited in the wild?
No source reports exploitation, and it is not in CISA's KEV catalog. The EPSS score is 0.0014.
References
Read for this analysis:
- https://github.com/openclaw/openclaw/commit/d5dc6b6573ae489bc7e5651090f4767b93537c9e
- https://nvd.nist.gov/vuln/detail/CVE-2026-35634
- https://github.com/openclaw/openclaw/commit/630f1479c44f78484dfa21bb407cbe6f171dac87
- https://www.vulncheck.com/advisories/openclaw-authentication-bypass-via-local-direct-requests-in-canvas-gateway
- https://github.com/advisories/GHSA-6mqc-jqh6-x8fc
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
