Before OpenClaw 2026.4.2, system-run approval binding normalized environment override keys differently from host execution. Windows-compatible keys could be omitted from the approval binding while still being injected at execution time.
An approved command could run with attacker-chosen environment overrides that were not represented in the approval binding. This created an approval-integrity gap for affected host-exec flows.
openclaw (npm)<= 2026.4.1>= 2026.4.22026.4.17eb094a00d80e9f6bf0e62f2c45d3b88ff67c04d — align approval binding with execution-time env-key normalizationThe fix is present on main and is staged for OpenClaw 2026.4.2. Publish this advisory after the 2026.4.2 npm release is live.
Thanks @iskindar for reporting, and thanks @wsparks-vc for coordination.
{
"github_reviewed": true,
"github_reviewed_at": "2026-04-07T18:15:48Z",
"nvd_published_at": null,
"severity": "MODERATE",
"cwe_ids": [
"CWE-178"
]
}