CVE-2026-41394: OpenClaw: Unauthenticated plugin-auth HTTP routes receive operator runtime scopes
In OpenClaw up to 2026.3.28, HTTP routes registered by plugins with auth "plugin" run with operator write scope even though the gateway never authenticated the caller. An unauthenticated request can reach privileged runtime actions if the plugin route performs any. Upgrade to 2026.3.31.
Published Apr 2, 2026 · Updated May 6, 2026 · Analysis Nov 7, 2026
What an attacker can do
OpenClaw plugins can register HTTP routes and choose between gateway auth and plugin auth. With auth "plugin", the plugin does its own checking. The gateway's createPluginRouteRuntimeClient() in src/gateway/server/plugins-http.ts always handed the route handler a runtime client holding operator.write (WRITE_SCOPE), whether or not gateway authentication had been satisfied (CWE-862, CWE-269).
So a plugin route that calls a write-capable runtime function, for example to drive a subagent, did so with operator rights on behalf of an anonymous caller, unless the plugin's own check stopped it first. The attacker needs network access to the gateway and a plugin route of that kind.
The maintainers call the issue narrow, with medium severity. Impact is limited to plugin routes that reach privileged runtime actions before plugin auth completes. Third-party scoring (VulnCheck) rates the integrity impact higher, so assess by which plugins you run.
Who is affected
The openclaw npm package, 2026.3.28 and earlier. Fixed in 2026.3.31. You are exposed only if you enable plugins that register HTTP routes with auth set to "plugin" and expose the gateway to untrusted networks.
npm ls openclawopenclaw
- Ecosystem
- npm
- Affected
- <= 2026.3.28
- Fixed in
- 2026.3.31
- Check
npm ls openclaw
How to fix it
Upgrade to openclaw 2026.3.31:
npm install [email protected]The fix gives createPluginRouteRuntimeClient() a requiresGatewayAuth flag. It returns operator.write only when gateway auth is required, and an empty scope list otherwise. After the fix, a write-capable runtime call from a plugin-auth route fails with "missing scope: operator.write" and the handler returns 500. Plugins that relied on the old behaviour may break and need to move the route to gateway auth. The sources give no other workaround.
How to tell if you were hit
List the plugin routes with auth "plugin" in your setup and review their access logs for requests with no credentials. Look for runtime actions, such as subagent runs, started by those routes. After upgrading, a "missing scope: operator.write" error with an HTTP 500 shows a plugin route still tries a write action without gateway auth.
Original advisory
From the GitHub Advisory Database (CC BY 4.0).
Summary
Unauthenticated plugin-auth HTTP routes receive operator runtime scopes
Current Maintainer Triage
- Status: narrow
- Normalized severity: medium
- Assessment: v2026.3.28 still gives auth:"plugin" routes operator WRITE_SCOPE, but impact should stay limited to plugin routes that actually touch privileged runtime actions before plugin auth completes.
Affected Packages / Versions
- Package:
openclaw(npm) - Latest published npm version:
2026.3.31 - Vulnerable version range:
<=2026.3.28 - Patched versions:
>= 2026.3.31 - First stable tag containing the fix:
v2026.3.31
Fix Commit(s)
2a1db0c0f1fa375004a95ba0ef030534790a6d47— 2026-04-01T00:20:49+09:00
OpenClaw thanks @davidluzsilva for reporting.
Credited to davidluzsilva.
Questions
- Does every OpenClaw install give anonymous users operator access?
No. The scope was granted to plugin-auth routes only, and the risk exists where such a route touches a privileged runtime action before its own plugin auth runs.
- Which version fixes CVE-2026-41394?
2026.3.31. Versions up to and including 2026.3.28 are listed as vulnerable.
- Could the fix break my plugins?
Possibly. Plugin-auth routes now get no scopes, so write-capable runtime calls from them fail. Use gateway auth for routes that need write actions.
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
