Before OpenClaw 2026.4.2, pnpm dlx approval planning did not bind local script operands the same way as related pnpm exec flows. A local script approved through a pnpm dlx path could be replaced before execution without invalidating the approval.
An operator could approve a benign local script and then execute modified script contents through the still-valid approval plan. This was an approval-integrity bug in the node-host command-planning path.
openclaw (npm)<= 2026.4.1>= 2026.4.22026.4.1176c059b05357df1bc09d4328a2380670859eeff — bind local scripts in pnpm dlx approval plansThe 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 @Kazamayc for reporting.
{
"severity": "MODERATE",
"cwe_ids": [
"CWE-863"
],
"github_reviewed": true,
"github_reviewed_at": "2026-04-07T18:15:52Z",
"nvd_published_at": null
}