2.3low
OpenClaw < 2026.4.8 - WebSocket Session Persistence via Shared Gateway Token Rotation
- Severity
- 2.3low CVSS:4.0 by VulnCheck
- Exploit likelihood
- 0.19% (higher than 9% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- VulnCheck
- Also known as
- GHSA-5h3f-885m-v22w
Description
OpenClaw before 2026.4.8 contains a session management vulnerability where existing WebSocket sessions survive shared gateway token rotation. Attackers can maintain unauthorized access to WebSocket connections after token rotation by exploiting the failure to disconnect existing shared-token sessions.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| OpenClaw OpenClaw | before 2026.4.8 Not affected: 2026.4.8 | CVE List, NVD |
| openclaw (npm) | before 2026.4.8 | GitHub Advisory Database |
All scores
| VulnCheck | 2.3low CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N |
| VulnCheck | 5.4medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N |
| GitHub | medium CVSS:4.0 | CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
OpenClaw before 2026.4.8 contains a session management vulnerability where existing WebSocket sessions survive shared gateway token rotation. Attackers can maintain unauthorized access to WebSocket connections after token rotation by exploiting the failure to disconnect existing shared-token sessions.
GitHub Advisory Database
Impact
Existing WS sessions survive shared gateway token rotation.
Rotating the shared gateway token did not disconnect existing shared-token WebSocket sessions.
OpenClaw is a user-controlled local assistant. This advisory is scoped to the OpenClaw trust model and does not assume a multi-tenant service boundary.
Affected Packages / Versions
- Package:
openclaw(npm) - Affected versions:
<= 2026.4.1 - Patched versions:
2026.4.8
Fix
The issue was fixed on main and is available in the patched npm version listed above. The verified fixed tree is commit d7c3210cd6f5fdfdc1beff4c9541673e814354d5.
Verification
The fix was re-checked against main before publication, including targeted regression tests for the affected security boundary.
Credits
Thanks @kexinoh of Tencent zhuque Lab (https://github.com/Tencent/AI-Infra-Guard) for reporting.
NVD (es)
OpenClaw anterior a 2026.4.8 contiene una vulnerabilidad de gestión de sesiones donde las sesiones WebSocket existentes sobreviven a la rotación de tokens de la pasarela compartida. Los atacantes pueden mantener acceso no autorizado a las conexiones WebSocket después de la rotación de tokens al explotar el fallo al desconectar las sesiones existentes con token compartido.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-42421 changed 2026-04-29 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-5h3f-885m-v22w changed 2026-05-05 | CC-BY-4.0 |
| NVD | CVE-2026-42421 changed 2026-11-11 | Public domain |