Openclaw cli: OpenClaw: Config writes could persist resolved ${VAR} secrets to disk (CVE-2026-28475)
Description
OpenClaw CLI versions prior to 2026.2.12 use a non-constant-time string comparison for hook tokens, allowing an attacker with network access to the hooks endpoint to potentially infer the token via timing attacks. This requires many requests and is complicated by real-world network latency. The vulnerability has a medium severity score of 4.8. A patch is available in version 2026.2.12.
CVSS v3.1
Score 4.8medium
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
OpenClaw CLI's hook token comparison was implemented using a regular string comparison instead of a constant-time comparison. This timing side-channel vulnerability allows an attacker with network access to the hooks endpoint to perform timing measurements over multiple requests to gradually infer the secret hook token. Exploitation requires the hooks endpoint to be exposed to an untrusted network and a large number of requests, with real-world network conditions potentially limiting reliability. The issue affects openclaw versions >=2026.1.29 and <2026.2.13 and is fixed in version 2026.2.12.
Potential Impact
An attacker able to send numerous requests to the hooks endpoint could use timing measurements to infer the secret hook token, potentially allowing unauthorized access to hook functionality. The impact is limited by the need for network access to the hooks endpoint and the difficulty of reliable timing measurements in real-world conditions. The CVSS score is 4.8 (medium severity), reflecting limited confidentiality and integrity impact without privilege or user interaction requirements.
Mitigation Recommendations
Upgrade openclaw to version 2026.2.12 or later, which includes a fix using constant-time token comparison. If immediate upgrade is not possible, restrict network access to the hooks endpoint to trusted sources and rotate the hook token after applying the update.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- BREW-openclaw-cli-CVE-2026-28475
- Osv Schema Version
- 1.7.3
- Ecosystems
- ["Homebrew"]
- Cvss Version
- 3.1
Threat ID: 6ac245dd12601ec6a31684c5
Added to database: 10/04/2026, 12:26:05 UTC
Last enriched: 10/04/2026, 13:22:38 UTC
Last updated: 10/04/2026, 16:08:37 UTC
Views: 4
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.