CVE-2026-42421
JSON

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 packageVersionsReported by
OpenClaw OpenClawbefore 2026.4.8
Not affected: 2026.4.8
CVE List, NVD
openclaw (npm)before 2026.4.8GitHub Advisory Database

All scores

VulnCheck2.3low CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N
VulnCheck5.4medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
GitHubmedium CVSS:4.0CVSS: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

CWE-613

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

SourceRecordLicence
CVE ListCVE-2026-42421 changed 2026-04-29CVE Terms of Use
GitHub Advisory DatabaseGHSA-5h3f-885m-v22w changed 2026-05-05CC-BY-4.0
NVDCVE-2026-42421 changed 2026-11-11Public domain