Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconObtain valid bearer token
-
DeliveryWait for SecretRef rotation event
-
ExploitSend HTTP request with rotated-out token
-
InstallGateway validates against stale startup auth
-
C2Bypass authentication checks
-
ExecuteAccess protected API endpoints
-
ImpactMaintain unauthorized gateway access
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Operation on resource after expiration or release
|
| Exploitation Conditions | Exploitation requires the adversary to possess a previously valid OpenClaw gateway bearer token obtained before SecretRef rotation. The vulnerability is exploitable specifically when administrators perform runtime secret rotation via secrets.reload or config hot-reload without immediately restarting gateway processes. Attack surface is limited to deployments using bearer token authentication backed by SecretRef configuration; static token configurations or alternative authentication schemes are not vulnerable. The window of opportunity extends from the moment of SecretRef rotation until gateway process restart, which in long-running container or VM deployments may span hours or days. Network reachability to gateway HTTP endpoints (AV:N) is required, but no additional privileges (PR:N) or user interaction (UI:N) are needed once the token is possessed. The CVSS vector AC:H (high complexity) reflects the coordination required between token possession and the rotation timing window, not technical difficulty of exploitation itself. |
| Impact | Real-world risk is HIGH but nuanced. CVSS 9.2 (AV:N/AC:H/PR:N) indicates network-accessible attack without authentication but with high complexity and specific timing conditions. The attack requires the adversary to possess a previously valid bearer token AND exploit the window between SecretRef rotation and gateway process restart - a narrow but exploitable condition in continuous-operation environments. No EPSS score provided, but the authentication bypass tag and CISA KEV absence suggest this is not yet widely exploited in the wild. The vulnerability is particularly dangerous in microservices architectures where operators rotate secrets in response to suspected compromise; they may believe rotated tokens are invalidated when the gateway silently continues accepting them. SSVC considerations: exploitation requires prior token possession (not automatable from zero knowledge), technical impact is total gateway compromise (VC:H/VI:H/VA:H), and the fix is a straightforward code change with vendor patch available. Priority depends heavily on deployment model - critical for multi-tenant SaaS gateways with frequent secret rotation, moderate for single-tenant deployments with infrequent rotation cycles. |
| Exploit ScenarioDerived | An attacker who previously obtained a valid OpenClaw gateway bearer token (through phishing, insider access, or prior compromise) monitors the target organization's security practices. When defenders detect suspicious activity and rotate the SecretRef to invalidate all tokens, the attacker continues using the old token to access gateway HTTP endpoints. The gateway accepts the rotated-out token because its authentication validator still references the startup-time credential snapshot. The attacker maintains unauthorized access to /v1/* API routes, invokes tools via /tools/invoke, and establishes canvas WebSocket connections until administrators discover the ongoing breach and manually restart gateway processes. High attack complexity (AC:H) reflects the requirement for precise timing between rotation event and process restart. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – May 06, 2026
Bearer token revocation bypass in OpenClaw gateway allows attackers to authenticate using rotated-out tokens until process restart. OpenClaw gateway HTTP and WebSocket handlers captured bearer authentication configuration at startup, failing to re-resolve credentials after SecretRef rotation. Attackers possessing a previously valid token can maintain unauthorized gateway access to /v1/* endpoints, /tools/invoke, plugin routes, and canvas upgrade paths even after operators rotate secrets, believing the old token is revoked. Fixed in version 2026.4.15. CVSS 9.2 reflects network-accessible attack with high complexity; no public exploit identified at time of analysis.
RemediationAI
Upgrade to OpenClaw 2026.4.15 or later immediately, which resolves active gateway authentication from the runtime secret snapshot per-request via the new getResolvedAuth() pattern. The fix is included in commit acd4e0a32f12e1ad85f3130f63b42443ce90f094 and PR #66651. For environments unable to upgrade immediately, implement these compensating controls: (1) Restart all gateway processes immediately after every SecretRef rotation to flush stale authentication state - note this causes brief service interruption and requires coordination with deployment pipelines. (2) Reduce bearer token lifetime to minimize exposure window - trade-off is increased token refresh overhead and potential user session disruption. (3) Monitor gateway access logs for authentication attempts with recently rotated tokens and alert on unexpected matches - requires log aggregation infrastructure and may generate false positives during legitimate rotation windows. (4) Implement network-layer access controls restricting gateway endpoints to known client IP ranges as defense-in-depth - reduces attack surface but does not prevent exploitation by compromised internal clients. Vendor advisory with patch details: https://github.com/openclaw/openclaw/security/advisories/GHSA-xmxx-7p24-h892. VulnCheck analysis: https://www.vulncheck.com/advisories/openclaw-bearer-token-validation-bypass-via-stale-secretref-resolution.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in npm
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
This vulnerability stems from CWE-672 (Operation on a Resource after Expiration or Release) in OpenClaw's gateway authentication architecture. The gateway server uses bearer token authentication backed by Kubernetes-style SecretRef configuration that supports runtime rotation through secrets.reload or config hot-reload. At startup, the HTTP server (server-http.ts) and WebSocket upgrade handler captured the resolved bearer authentication state into a closure variable. Subsequent requests validated tokens against this stale snapshot rather than re-resolving credentials from the current runtime secret store. The fix introduces a getResolvedAuth() function that queries the live secret snapshot per-request, ensuring rotated tokens are immediately invalidated across all gateway surfaces: HTTP REST endpoints, WebSocket upgrades, and canvas protocol handlers. The commit diff shows the pattern change from static resolvedAuth captured at initialization to dynamic getResolvedAuth() invoked before each authentication check.
Know when Openclaw gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Primary rating from NVD · only source for this CVE.
CVSS VectorNVD
Lifecycle Timeline
2DescriptionCVE.org
OpenClaw before 2026.4.15 captures resolved bearer-auth configuration at startup, allowing revoked tokens to remain valid after SecretRef rotation. Gateway HTTP and WebSocket handlers fail to re-resolve authentication per-request, enabling attackers to use rotated-out bearer tokens for unauthorized gateway access.
Blast Radius
ecosystem impact- 6 npm packages depend on openclaw (6 direct, 0 indirect)
Ecosystem-wide dependent count for version 2026.4.15.
Executive ViewAI
OpenClaw gateway versions prior to 2026.4.15 contain a critical authentication bypass vulnerability that allows attackers with previously valid bearer tokens to maintain unauthorized access to API endpoints even after secret rotation, potentially exposing sensitive gateway operations and plugin invocations until the gateway process is restarted. This vulnerability directly undermines credential lifecycle management controls and affects all organizations relying on OpenClaw for API gateway authentication.
Vendor-released patch: OpenClaw gateway version 2026.4.15. Until patched, implement mandatory process restart immediately following any secret rotation event; restrict gateway network access via firewall to trusted clients only; implement real-time monitoring of /v1/*, /tools/invoke, and plugin routes for anomalous access patterns post-rotation; and maintain aggressive token rotation cycles (shorter than normal process restart intervals).
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
Auth bypass in OpenClaw voice-call extension before 2026.2.1. EPSS 0.68%. PoC and patch available.
Privilege escalation in OpenClaw (pre-2026.3.28) allows unauthenticated remote attackers to gain administrative access b
OpenClaw versions 2026.2.22 through 2026.2.24 contain a privilege escalation vulnerability that allows authenticated att
An authorization mismatch vulnerability in OpenClaw versions prior to 2026.3.1 allows authenticated users with operator.
OpenClaw versions prior to 2026.1.29 automatically establish WebSocket connections to attacker-controlled gateway URLs e
Path traversal in OpenClaw through version 2026.3.23 enables unauthenticated remote attackers to read arbitrary files in
Directory-context bypass in OpenClaw before 2026.8.1 allows authenticated attackers with user interaction to reuse an 'a
Unauthenticated access to the noVNC observer interface in OpenClaw's Docker sandbox browser allows anyone who can reach
OpenClaw versions before 2026.2.26 allow authenticated attackers to write arbitrary files outside the workspace director
OpenClaw versions prior to 2026.2.22 contain a shell environment variable injection vulnerability in the system.run func
OpenClaw versions prior to 2026.2.22 contain a resource exhaustion vulnerability where the application fails to consiste
OpenClaw versions prior to 2026.3.1 contain a sandbox escape vulnerability that allows authenticated attackers with low
EUVD-2026-28182
GHSA-xmxx-7p24-h892
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB