OpenClaw WebSocket Session Persistence Vulnerability via Shared Gateway Token Rotation

Vulnerability

A session management vulnerability has been identified in OpenClaw versions prior to 2026.4.8. This vulnerability allows existing WebSocket sessions to remain active even after the shared gateway token has been rotated. As a result, attackers can exploit this oversight to maintain unauthorized access to WebSocket connections, taking advantage of the failure to disconnect sessions associated with the old token.

Impact

The vulnerability leads to insufficient session expiration, allowing WebSocket sessions to persist after token rotation, which could be exploited to maintain unauthorized access to those sessions.

Reproduction

The vulnerability can be reproduced by establishing a WebSocket connection that uses a shared gateway token. After the token is rotated, the WebSocket session remains active, demonstrating that the rotation did not disconnect the session as it should have.

Remediation

Users can update to OpenClaw version 2026.4.8 or later to address this vulnerability.

Added: Apr 28, 2026, 8:31 PM
Updated: Apr 28, 2026, 8:31 PM

Vulnerability Rating

Custom Algorithm
spread
0.0
impact
5.0
exploitability
6.7
remediation
0.0
relevance
6.9
threat
4.8
urgency
2.9
incentive
0.0

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.