OpenClaw Timing Attack Vulnerability in Hook Token Validation

Vulnerability

A timing attack vulnerability has been identified in OpenClaw versions prior to 2026.2.13. The issue arises from the use of non-constant-time string comparison for validating hook tokens, which allows remote attackers to infer token values through careful timing measurements. This vulnerability can be exploited by sending multiple requests to the hooks endpoint, taking advantage of timing discrepancies to gradually recover the authentication token.

Impact

Exploitation of this vulnerability allows for a timing attack that can be used to infer authentication tokens, potentially leading to unauthorized actions or access.

Reproduction

The vulnerability can be reproduced by sending a series of requests to the hooks endpoint while measuring the response times. The non-constant-time comparison can be exploited to infer the correct hook token by analyzing the timing variations across the requests.

Remediation

Users are advised to upgrade to OpenClaw version 2026.2.13 or later. If an immediate upgrade is not possible, restrict network access to the hooks endpoint and rotate the hooks token after updating.

Added: Mar 5, 2026, 10:30 PM
Updated: Mar 5, 2026, 10:30 PM

Vulnerability Rating

Custom Algorithm
spread
0.0
impact
5.0
exploitability
8.4
remediation
0.0
relevance
3.5
threat
4.8
urgency
2.9
incentive
4.2

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