{"id":"GHSA-w6wx-jq6j-6mcj","revision":"0cefdb5d52434bfe911301d924d1c625","records":[{"revision":"0cefdb5d52434bfe911301d924d1c625","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"GHSA-w6wx-jq6j-6mcj","aliases":["CVE-2026-41360"],"title":"OpenClaw: pnpm dlx approvals did not bind local script operands","description":"## Summary\n\nBefore 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.\n\n## Impact\n\nAn 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.\n\n## Affected Packages / Versions\n\n- Package: `openclaw` (npm)\n- Affected versions: `<= 2026.4.1`\n- Patched versions: `>= 2026.4.2`\n- Latest published npm version: `2026.4.1`\n\n## Fix Commit(s)\n\n- `176c059b05357df1bc09d4328a2380670859eeff` — bind local scripts in `pnpm dlx` approval plans\n\n## Release Process Note\n\nThe 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.\n\nThanks @Kazamayc for reporting.","state":0,"publishedAt":"2026-04-07T18:15:52+00:00","modifiedAt":"2026-07-08T08:12:20.0305161+00:00","affected":[{"ecosystem":"npm","name":"openclaw","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"2026.4.2"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V4","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"MODERATE"}],"references":["https://github.com/openclaw/openclaw/security/advisories/GHSA-w6wx-jq6j-6mcj","https://github.com/openclaw/openclaw/commit/176c059b05357df1bc09d4328a2380670859eeff","https://github.com/openclaw/openclaw"],"sourceUrl":"https://github.com/advisories/GHSA-w6wx-jq6j-6mcj","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-w6wx-jq6j-6mcj","identifiers":["GHSA-w6wx-jq6j-6mcj","CVE-2026-41360"]},"retained":false,"historicalAffected":[]}],"coverage":[]}