VDB
Sign up
MEDIUM4.8

GHSA-xxvh-5hwj-42pp

OpenClaw's sandbox config hash sorted primitive arrays and suppressed needed container recreation

Quick fix

GHSA-xxvh-5hwj-42pp — openclaw: upgrade to the fixed version with the command below.

npm install openclaw@2026.2.15

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

npm/openclaw
Introduced in: 0Fixed in: 2026.2.15
Fixnpm install openclaw@2026.2.15

References