GHSA-93rg-2xm5-2p9v: OpenClaw's Gateway Control UI bootstrap config required Gateway auth
In OpenClaw 2026.4.21 and earlier, the Gateway Control UI bootstrap config endpoint answered without a valid Gateway token, even with Gateway authentication enabled. Anyone who can reach the Gateway could read bootstrap fields meant for logged-in Control UI sessions. Fixed in openclaw 2026.4.22.
Published May 4, 2026 · Updated May 29, 2026 · Analysis Oct 28, 2026
What an attacker can do
With Gateway authentication turned on, most Control UI reads require a Gateway token. The bootstrap config route did not go through that read-auth path (CWE-287). A request with no token still returned the bootstrap response.
The response could contain sensitive bootstrap and config fields that the advisory says were intended only for authenticated Control UI sessions. It does not list the exact fields. The attacker needs only network reach to the Gateway; the CVSS 4.0 vector shows no privileges, no user interaction and low confidentiality impact.
The risk grows with exposure. A Gateway bound to localhost is reachable only from the same host. A Gateway exposed on a LAN, tunnel or the internet gives the same information to anyone who can connect, and that can help with follow-up attacks on the instance.
Who is affected
The npm package openclaw at 2026.4.21 and earlier, when the Gateway is running with authentication enabled and its Control UI is reachable from other hosts.
npm ls -g openclawCheck where the Gateway listens:
ss -ltnp | grep -i openclawopenclaw
- Ecosystem
- npm
- Affected
- <= 2026.4.21
- Fixed in
- 2026.4.22
- Check
npm ls openclaw
How to fix it
Upgrade to openclaw 2026.4.22:
npm install -g [email protected]The fix (commit 2321d67) routes the bootstrap config through the same Gateway read-auth path as the other authenticated Control UI reads. Regression tests cover rejection without a token, access with a valid token and basePath handling. The advisory names no workaround; limiting network access to the Gateway reduces exposure.
How to tell if you were hit
In Gateway or reverse proxy logs, look for requests to the Control UI bootstrap config route that have no Authorization or token and still got a 200 response, especially from non-local addresses. After upgrading, the same request should be rejected. If the Gateway was exposed on an untrusted network, consider rotating tokens and secrets that the bootstrap response could contain.
Original advisory
From the GitHub Advisory Database (CC BY 4.0).
Summary
Gateway Control UI bootstrap config required Gateway auth.
Affected Packages / Versions
- Package: openclaw (npm)
- Affected versions: <= 2026.4.21
- Fixed version: 2026.4.22
Impact
When Gateway authentication was enabled, the Control UI bootstrap config endpoint could still be read without a valid Gateway token. That response could expose sensitive bootstrap/config fields intended only for authenticated Control UI sessions.
Fix
The bootstrap config route now goes through the same Gateway read-auth path as other authenticated Control UI reads. Regression tests cover unauthenticated rejection, valid-token access, and basePath handling.
Fix Commit(s)
- 2321d67263bc710e357644d59f746b08d891051b
Verification
- The fix commit is contained in the public v2026.4.22 tag.
- [email protected] is published on npm and the compiled package contains the fix.
- Focused regression coverage for this path passed before publication.
OpenClaw thanks @zsxsoft for reporting.
Credited to zsxsoft, qclawer, KeenSecurityLab.
Questions
- Does the attacker need a token?
No. That is the flaw: the bootstrap config route could be read without a valid Gateway token while authentication was enabled.
- What does the response contain?
The advisory says sensitive bootstrap and config fields meant for authenticated Control UI sessions. It does not list them.
- Which version fixes it?
openclaw 2026.4.22, which is on npm. Versions up to and including 2026.4.21 are affected.
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
