CVE-2026-42421

OpenClaw < 2026.4.8 - WebSocket Session Persistence via Shared Gateway Token Rotation

Published Apr 28, 2026 CVSS 4.0 · 2.3 Low EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

OpenClaw versions before 2026.4.8 suffer from a session‑management flaw where WebSocket connections that use a shared gateway token continue to remain active after the token is rotated, allowing an attacker who already holds a session to retain unauthorized access. This persistence of authenticated sessions is a weakness classified as CWE‑613. The consequence is that the attacker can keep an existing connection alive and potentially exercise privileged operations during the period after token rotation, though no new credentials are required.

Affected Systems

The vulnerable product is OpenClaw, a Node.js‑based web application framework. Any installation using a release prior to 2026.4.8 is affected; newer releases contain the fix.

Risk and Exploitability

The CVSS score of 2.3 indicates low severity, and EPSS is not available, with the vulnerability not listed in the CISA KEV catalog. The likely attack vector involves an attacker who already possesses an active WebSocket session before the shared gateway token is rotated; no new authentication is required to maintain the session. Accordingly, the risk is limited to the persistence of an existing session rather than elevation of privileges or system compromise.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade OpenClaw to version 2026.4.8 or later.
  • If an immediate upgrade is not feasible, enforce disconnection of all WebSocket sessions during shared gateway token rotation to prevent session persistence.
  • Continuously monitor WebSocket connections after token rotation for unexpected persistence, indicating potential abuse.

Generated by OpenCVE AI on April 28, 2026 at 22:55 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-5h3f-885m-v22w OpenClaw: Existing WS sessions survive shared gateway token rotation
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Title OpenClaw < 2026.4.8 - WebSocket Session Persistence via Shared Gateway Token Rotation
First Time appeared Openclaw
Openclaw openclaw
Weaknesses CWE-613
CPEs cpe:2.3:a:openclaw:openclaw:*:*:*:*:*:node.js:*:*
Vendors & Products Openclaw
Openclaw openclaw
References
Metrics cvssV3_1

{'score': 5.4, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N'}

cvssV4_0

{'score': 2.3, 'vector': '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'}

Weaknesses
  • CWE-613

    Insufficient Session Expiration

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Apr 29, 2026, 12:15 PM
Reserved
Apr 27, 2026, 11:38 AM
Status
Analyzed
Published
Apr 28, 2026, 7:37 PM
Modified
Nov 11, 2026, 9:10 PM