OpenClaw: pnpm dlx approvals did not bind local script operands
Key facts
- Attack vector
- —
- Privileges required
- —
- User interaction
- —
- Attack complexity
- —
- Impact type
- Security bypass
- Confidentiality · integrity · availability
- —
- Fix status
- Fixed
No CVSS vector from any source. Fix status from GitHub. Impact type from CWE-863.
Summary
## 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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | openclaw (npm) | before 2026.4.2 | 2026.4.2 | Patch available | GHSA-w6wx-jq6j-6mcj |
- openclaw (npm) Vendor— Affected before 2026.4.2 Fixed in 2026.4.2 Patch available GHSA-w6wx-jq6j-6mcj
Remediation
- Fix · GHSA-w6wx-jq6j-6mcj openclaw (npm) Fixed in 2026.4.2 Advisory →
Timeline
- 2026-10-03 Threatist record created from GHSA-w6wx-jq6j-6mcj
References
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences