
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-42421 is a session management vulnerability in OpenClaw, a user-controlled local AI assistant, where existing WebSocket sessions survive shared gateway token rotation. Affected versions are all releases up to and including 2026.4.1 (npm package); the patched version is 2026.4.8. The vulnerability was published on April 28, 2026, with the fix committed on April 8, 2026. It carries a CVSS v3.1 base score of 5.4 (Medium) and a CVSS v4.0 base score of 2.3 (Low) (GitHub Advisory, Feedly).
The root cause is classified as CWE-613 (Insufficient Session Expiration): when a shared gateway token is rotated, OpenClaw fails to terminate existing WebSocket sessions that were authenticated using the old token. This means an attacker who has already established a WebSocket connection using a shared gateway token can maintain that connection indefinitely, even after the token is rotated as a remediation or access-revocation measure. The vulnerability is scoped to OpenClaw's local trust model and does not assume a multi-tenant service boundary, meaning exploitation requires the attacker to have already obtained low-level access to initiate a WebSocket session. The fix (commit d7c3210) was applied to the main branch and includes targeted regression tests for the affected security boundary (GitHub Advisory, GitHub Commit).
Successful exploitation allows a low-privileged attacker to maintain unauthorized access to WebSocket connections after a gateway token rotation event, effectively bypassing the intended access revocation. This results in low-level impacts to both confidentiality and integrity — the attacker may continue to observe or interact with data and functionality exposed over the persistent WebSocket session. Availability is not impacted, and the vulnerability does not cross system or tenant boundaries given OpenClaw's local assistant trust model (GitHub Advisory, Feedly).
There is no public proof-of-concept exploit and no evidence of in-the-wild exploitation at this time. The EPSS score is approximately 0.025%, reflecting a very low probability of exploitation in the near term. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. Exploitation requires an attacker to already hold low-level privileges and have an established WebSocket session prior to token rotation (Feedly, GitHub Advisory).
Upgrade OpenClaw (npm) to version 2026.4.8 or later, which contains the fix committed at d7c3210cd6f5fdfdc1beff4c9541673e814354d5. As an interim workaround, administrators should manually restart the OpenClaw service or forcibly terminate all active WebSocket sessions immediately after rotating the shared gateway token to ensure no stale sessions persist. Additionally, implement monitoring to detect WebSocket connections that survive token rotation events, and review access controls for shared gateway tokens (GitHub Advisory, GitHub Commit).
The vulnerability was reported by @kexinoh of Tencent Zhuque Lab (AI-Infra-Guard project) and credited in the official GitHub Security Advisory. The advisory was published by OpenClaw maintainer steipete and rated as Moderate severity. No significant broader media coverage or notable community debate has been observed beyond standard CVE tracking and aggregator sites (GitHub Advisory).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."