CVE-2026-32004: OpenClaw has encoded-path auth bypass in plugin `/api/channels` route classification
OpenClaw 2026.3.1 and earlier can be reached without authentication on plugin `/api/channels/*` routes by sending multi-encoded slash variants such as `%2f`. The auth check and the router decode the path to different depths. Upgrade to openclaw 2026.3.2 if your gateway exposes plugin HTTP routes.
Published Mar 3, 2026 · Updated Mar 30, 2026 · Analysis Oct 31, 2026
What an attacker can do
OpenClaw decides whether a request needs gateway auth by classifying its path. The plugin route handler then canonicalizes the path separately. For deeply encoded slashes, the two steps disagree. The classifier does not see a protected /api/channels prefix, so it skips auth, while the router decodes the same path further and lands on /api/channels/....
An attacker needs only network access to the gateway and a crafted URL. No account or user action is needed, but the CVSS vectors mark attack complexity as high. The vectors rate integrity impact as high and confidentiality impact as low. The sources do not say which actions the channel endpoints allow, so treat any plugin route under that prefix as open to unauthenticated callers.
Deployments are exposed if they publish plugin HTTP routes and rely on gateway auth to protect /api/channels/*. Gateways reachable only on localhost carry less risk.
Who is affected
openclaw (npm) versions up to and including 2026.3.1; 2026.3.1 is the latest vulnerable release. Only deployments that expose plugin HTTP routes and rely on gateway auth for /api/channels/* are affected.
npm ls openclawFor a global install, run npm ls -g openclaw.
openclaw
- Ecosystem
- npm
- Affected
- <= 2026.3.1
- Fixed in
- 2026.3.2
- Check
npm ls openclaw
How to fix it
Upgrade to openclaw 2026.3.2:
npm install [email protected]The fix set canonicalizes route paths to a bounded fixpoint and fails closed when canonicalization is malformed or unresolved. It also requires each plugin route to declare its auth contract, with no implicit default, and adds guards against duplicate route registrations. The sources list no workaround. Until you upgrade, avoid exposing the gateway to untrusted networks.
How to tell if you were hit
Search gateway and reverse-proxy access logs for requests to /api/channels paths that contain %2f, %252f or deeper encodings, particularly ones with a 2xx response and no auth credentials. Compare these with legitimate authenticated traffic. Repeated probes with varying encoding depth suggest scanning.
Original advisory
From the GitHub Advisory Database (CC BY 4.0).
Summary (Updated March 2, 2026)
Encoded alternate-path requests could bypass plugin route auth checks for /api/channels/* due to canonicalization depth mismatch in vulnerable builds.
Affected Packages / Versions
- Package:
openclaw(npm) - Latest published vulnerable version:
2026.3.1 - Affected range:
<= 2026.3.1 - Patched release:
2026.3.2(patched_versions: >= 2026.3.2)
Technical Details
In affected versions, plugin auth-path classification and route-path canonicalization could diverge for deeply encoded slash variants (for example multi-encoded %2f). That mismatch allowed alternate encoded paths to evade protected-prefix auth checks while still resolving to /api/channels/... in plugin route handling.
The fix set hardens this class of issue by:
- canonicalizing route paths to a bounded fixpoint,
- failing closed on malformed or unresolved canonicalization depth,
- requiring explicit plugin-route auth contracts (no implicit auth default),
- enforcing route ownership/conflict guards for duplicate route registrations, and
- using shared webhook route lifecycle registration to avoid stale/conflicting route surfaces.
Affected Deployments
Deployments exposing plugin HTTP routes and relying on gateway auth for /api/channels/* protection.
Fix Commit(s)
93b07240257919f770d1e263e1f22753937b80ea2fd8264ab03bd178e62a5f0c50d1c8556c17f12dd74bc257d8432f17e50b23ae713d7e0623a1fe0f7a7eee920a176a0043398c6b37bf4cc6eb983eeb
Credited to tdjackey.
Questions
- What does CVE-2026-32004 let an attacker do?
Reach plugin
/api/channels/*routes without gateway authentication by using multi-encoded slashes. The sources do not list which channel actions are exposed.- Is 2026.3.1 affected?
Yes. It is the latest published vulnerable version. The patched release is 2026.3.2.
- Is this exploited in the wild?
No source reports exploitation, and it is not in the CISA KEV catalog.
References
Read for this analysis:
- https://www.vulncheck.com/advisories/openclaw-authentication-bypass-via-encoded-path-in-api-channels-route
- https://github.com/advisories/GHSA-v865-p3gq-hw6m
- https://github.com/openclaw/openclaw/security/advisories/GHSA-v865-p3gq-hw6m
- https://github.com/openclaw/openclaw/commit/2fd8264ab03bd178e62a5f0c50d1c8556c17f12d
- https://github.com/openclaw/openclaw/commit/7a7eee920a176a0043398c6b37bf4cc6eb983eeb
- https://github.com/openclaw/openclaw/commit/93b07240257919f770d1e263e1f22753937b80ea
- https://github.com/openclaw/openclaw/commit/d74bc257d8432f17e50b23ae713d7e0623a1fe0f
- https://nvd.nist.gov/vuln/detail/CVE-2026-32004
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
