OpenClaw Bearer Token Validation Bypass Vulnerability

Vulnerability

A vulnerability in OpenClaw versions prior to 2026.4.15 allows revoked bearer tokens to remain valid after SecretRef rotation. This issue arises because the application captures the resolved bearer-auth configuration at startup and does not re-resolve authentication for each request. As a result, tokens that should have been invalidated can still be used for unauthorized access through gateway HTTP and WebSocket handlers.

Impact

Exploitation of this vulnerability could lead to unauthorized access via revoked bearer tokens, allowing attackers to bypass authentication checks on gateway HTTP and WebSocket upgrade paths.

Reproduction

The vulnerability can be reproduced by starting an OpenClaw gateway server with a bearer token. After rotating the SecretRef, the old token can still be used for authentication on HTTP requests and WebSocket upgrades, until the server is restarted.

Remediation

Users can upgrade to OpenClaw version 2026.4.15 or later, which addresses this vulnerability by re-resolving authentication per request and per WebSocket upgrade, ensuring that rotated tokens are no longer accepted.

Added: May 6, 2026, 9:09 PM
Updated: May 6, 2026, 9:09 PM

Vulnerability Rating

Custom Algorithm
spread
0.0
impact
1.3
exploitability
6.7
remediation
0.0
relevance
7.6
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.