OpenClaw < 2026.4.2 - Approval Integrity Bypass in pnpm dlx Local Script Binding
cve-program · CVE-2026-41360
PublishedOpenClaw before 2026.4.2 contains an approval integrity vulnerability in pnpm dlx that fails to bind local script operands consistently with pnpm exec flows. Attackers can replace approved local scripts before execution without invalidating the approval plan, allowing execution of modified script contents.
Read the publisher's advisoryeuvd · EUVD-2026-25344
PublishedOpenClaw before 2026.4.2 contains an approval integrity vulnerability in pnpm dlx that fails to bind local script operands consistently with pnpm exec flows. Attackers can replace approved local scripts before execution without invalidating the approval plan, allowing execution of modified script contents.
Read the publisher's advisorynvd · CVE-2026-41360
PublishedOpenClaw before 2026.4.2 contains an approval integrity vulnerability in pnpm dlx that fails to bind local script operands consistently with pnpm exec flows. Attackers can replace approved local scripts before execution without invalidating the approval plan, allowing execution of modified script contents.
Read the publisher's advisoryosv · GHSA-w6wx-jq6j-6mcj
Published## Summary 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. ## Impact 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. ## Affected Packages / Versions - Package: `openclaw` (npm) - Affected versions: `<= 2026.4.1` - Patched versions: `>= 2026.4.2` - Latest published npm version: `2026.4.1` ## Fix Commit(s) - `176c059b05357df1bc09d4328a2380670859eeff` — bind local scripts in `pnpm dlx` approval plans ## Release Process Note The 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.
Read the publisher's advisoryAffected versions, risk and source history
Related advisories and sources
Publishers link these advisories through the identifiers shown below. A shared identifier or date alone does not tell you whether your software is affected or whether the advisories describe the same cause.
CVE-2026-41360 · CVE overview and exploitation status
cve-program · CVE-2026-41360
- https://github.com/openclaw/openclaw/security/advisories/GHSA-w6wx-jq6j-6mcj
- https://github.com/openclaw/openclaw/commit/176c059b05357df1bc09d4328a2380670859eeff
- https://www.vulncheck.com/advisories/openclaw-approval-integrity-bypass-in-pnpm-dlx-local-script-binding
euvd · EUVD-2026-25344
- https://github.com/openclaw/openclaw/security/advisories/GHSA-w6wx-jq6j-6mcj
- https://github.com/openclaw/openclaw/commit/176c059b05357df1bc09d4328a2380670859eeff
- https://www.vulncheck.com/advisories/openclaw-approval-integrity-bypass-in-pnpm-dlx-local-script-binding
nvd · CVE-2026-41360
- https://github.com/openclaw/openclaw/commit/176c059b05357df1bc09d4328a2380670859eeff
- https://github.com/openclaw/openclaw/security/advisories/GHSA-w6wx-jq6j-6mcj
- https://www.vulncheck.com/advisories/openclaw-approval-integrity-bypass-in-pnpm-dlx-local-script-binding
osv · GHSA-w6wx-jq6j-6mcj
Related changes
Linked by CVE identifierNo related changes are available here.