GHSA-xxvh-5hwj-42pp

Suggest an improvement
Source
https://github.com/advisories/GHSA-xxvh-5hwj-42pp
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/02/GHSA-xxvh-5hwj-42pp/GHSA-xxvh-5hwj-42pp.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-xxvh-5hwj-42pp
Aliases
Published
2026-02-18T22:44:10Z
Modified
2026-02-20T17:02:59Z
Severity
  • 4.8 (Medium) CVSS_V4 - 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 CVSS Calculator
Summary
OpenClaw's sandbox config hash sorted primitive arrays and suppressed needed container recreation
Details

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.14
  • Patched (planned next release): >=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.

Database specific
{
    "cwe_ids":  [
        "CWE-1254"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2026-02-18T22:44:10Z",
    "nvd_published_at":  "2026-02-20T00:16:17Z",
    "severity":  "MODERATE"
}
References

Affected packages

npm / openclaw

Package

Affected ranges

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

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/02/GHSA-xxvh-5hwj-42pp/GHSA-xxvh-5hwj-42pp.json"