GitHub Advisoryadvisory · npm

GHSA-xxvh-5hwj-42pp OpenClaw's sandbox config hash sorted primitive arrays and suppressed needed container recreation

MEDIUM Published 2026-02-18 Modified 2026-02-20 Official page ↗
Aliases
CVE-2026-27007
Ecosystem
npm
Packages
openclaw
Severity
Moderate
CVSS vector
CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N
Weaknesses
CWE-1254
Reviewed
2026-02-18

Affected packages

• npm openclaw: < 2026.2.15 → fixed in 2026.2.15

Description

Description `normalizeForHash` in `src/agents/sandbox/config-hash.ts` recursively sorted arrays that contained only primitive values. This made order-sensitive sandbox configuration arrays hash to the same value even when order changed. In OpenClaw sandbox flows, this hash is used to decide whether existing sandbox containers should be recreated. As a result, order-only config changes (for example Docker `dns` and `binds` array order) could be treated as unchanged and stale containers could be reused. This is a configuration integrity issue affecting sandbox recreation behavior. Affected Packages / Versions • Package: `openclaw` (npm) • Affected: `=2026.2.15` • Latest published npm version at triage time (2026-02-16): `2026.2.14` Remediation Array ordering is now preserved during hash normalization; only object key ordering remains normalized for deterministic hashing. Fix Commit(s) • `41ded303b4f6dae5afa854531ff837c3276ad60b` Release Process Note `patched_versions` is pre-set to the planned next release (`2026.2.15`) so after npm publish, the advisory can be published directly without reopening version metadata edits. Thanks @kexinoh ( of Tencent zhuque Lab, by https://github.com/Tencent/AI-Infra-Guard) for reporting.

Related

Alias · CVE (1)

Weakness · CWE (1)

  • CWE-1254 Incorrect Comparison Logic Granularity weakness

References