{"id":"GHSA-8g75-q649-6pv6","revision":"c92d7df587ad41e89a498fc6c6e9b138","records":[{"revision":"c92d7df587ad41e89a498fc6c6e9b138","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"GHSA-8g75-q649-6pv6","aliases":["CVE-2026-32921"],"title":"OpenClaw's system.run approvals did not bind mutable script operands across approval and execution","description":"OpenClaw's `system.run` approval flow did not bind mutable interpreter-style script operands across approval and execution.\n\nA caller could obtain approval for an execution such as `sh ./script.sh`, rewrite the approved script before execution, and then execute different content under the previously approved command shape. The approved `argv` values remained the same, but the mutable script operand content could drift after approval.\n\nLatest published npm version verified vulnerable: `2026.3.7`\n\nThe initial March 7, 2026 fix in `c76d29208bf6a7f058d2cf582519d28069e42240` added approval binding for shell scripts and a narrow interpreter set, but follow-up maintainer review on March 8, 2026 found that `bun` and `deno` script operands still did not produce `mutableFileOperand` snapshots.\n\nA complete fix shipped on March 9, 2026 in `cf3a479bd1204f62eef7dd82b4aa328749ae6c91`, which binds approved `bun` and `deno run` script operands to on-disk file snapshots and denies post-approval script drift before execution.\n\n## Affected Packages / Versions\n\n- Package: `openclaw` (npm)\n- Affected versions: `<= 2026.3.7`\n- Patched version: `2026.3.8`\n\n## Fix Commit(s)\n\n- `c76d29208bf6a7f058d2cf582519d28069e42240`\n- `cf3a479bd1204f62eef7dd82b4aa328749ae6c91`\n\n## Release Verification\n\n- npm `2026.3.7` remains vulnerable.\n- npm `2026.3.8` contains the completed fix.\n\nThanks @tdjackey for reporting.","state":0,"publishedAt":"2026-03-12T14:21:28+00:00","modifiedAt":"2026-04-06T22:56:23.819082+00:00","affected":[{"ecosystem":"npm","name":"openclaw","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"2026.3.8"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"MODERATE"}],"references":["https://github.com/openclaw/openclaw/security/advisories/GHSA-8g75-q649-6pv6","https://nvd.nist.gov/vuln/detail/CVE-2026-32921","https://github.com/openclaw/openclaw/commit/c76d29208bf6a7f058d2cf582519d28069e42240","https://github.com/openclaw/openclaw/commit/cf3a479bd1204f62eef7dd82b4aa328749ae6c91","https://github.com/openclaw/openclaw","https://www.vulncheck.com/advisories/openclaw-script-content-modification-via-mutable-operand-binding-in-system-run"],"sourceUrl":"https://github.com/advisories/GHSA-8g75-q649-6pv6","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-8g75-q649-6pv6","identifiers":["GHSA-8g75-q649-6pv6","CVE-2026-32921"]},"retained":false,"historicalAffected":[]}],"coverage":[]}