GitHub Advisoryadvisory · npm
GHSA-47q7-97xp-m272 OpenClaw: Config writes could persist resolved ${VAR} secrets to disk
MEDIUM
Official page ↗
- Aliases
- CVE-2026-28475
- Ecosystem
- npm
- Packages
- openclaw
- Severity
- Moderate
- CVSS vector
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N
- Weaknesses
- CWE-208
- Reviewed
- 2026-03-02
Affected packages
• npm openclaw: < 2026.2.13 → fixed in 2026.2.13
Description
Summary
OpenClaw hooks previously compared the provided hook token using a regular string comparison. Because this comparison is not constant-time, an attacker with network access to the hooks endpoint could potentially use timing measurements across many requests to gradually infer the token.
In practice, this typically requires hooks to be exposed to an untrusted network and a large number of requests; real-world latency and jitter can make reliable measurement difficult.
Affected Packages / Versions
• openclaw (npm): = 2026.2.12
Mitigations
• Upgrade to openclaw >= 2026.2.12.
• If users cannot upgrade immediately: restrict network access to the hooks endpoint and rotate the hooks token after updating.
Fix Commit(s)
• 113ebfd6a23c4beb8a575d48f7482593254506ec
OpenClaw thanks @akhmittra for reporting.
Related
Alias · CVE (1)
- CVE-2026-28475 OpenClaw versions prior to 2026.2.13 use non-constant-time string comparison for hook token validation, allowing attackers to infer tokens… vulnerability
Weakness · CWE (1)
- CWE-208 Observable Timing Discrepancy weakness
References
- https://github.com/openclaw/openclaw/security/advisories/GHSA-47q7-97xp-m272 web
- https://nvd.nist.gov/vuln/detail/CVE-2026-28475 advisory
- https://github.com/openclaw/openclaw/commit/113ebfd6a23c4beb8a575d48f7482593254506ec web
- https://github.com/openclaw/openclaw package
- https://www.vulncheck.com/advisories/openclaw-timing-attack-via-hook-token-comparison web