GHSA-47q7-97xp-m272

Suggest an improvement
Source
https://github.com/advisories/GHSA-47q7-97xp-m272
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/03/GHSA-47q7-97xp-m272/GHSA-47q7-97xp-m272.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-47q7-97xp-m272
Aliases
Published
2026-03-02T22:43:10Z
Modified
2026-03-06T01:17:27.601888Z
Severity
  • 4.8 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N CVSS Calculator
  • 6.9 (Medium) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N CVSS Calculator
Summary
OpenClaw: Config writes could persist resolved ${VAR} secrets to disk
Details

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

Patched 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.

Database specific
{
    "github_reviewed": true,
    "github_reviewed_at": "2026-03-02T22:43:10Z",
    "cwe_ids": [
        "CWE-208"
    ],
    "severity": "MODERATE",
    "nvd_published_at": "2026-03-05T22:16:21Z"
}
References

Affected packages

npm / openclaw

Package

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2026.2.13

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/03/GHSA-47q7-97xp-m272/GHSA-47q7-97xp-m272.json"