{"id":"GHSA-6pfc-6m7w-m8fx","summary":"OpenClaw has a gateway exec allowlist allow-always bypass via unregistered /usr/bin/script wrapper","details":"## Summary\n\nAllow-always persistence did not unwrap `/usr/bin/script` and similar wrappers to the actual executed target before storing trust decisions.\n\n## Impact\n\nA user approval for one wrapped command could persist trust for a wrapper binary that later executed a different underlying program.\n\n## Affected Component\n\n`src/infra/dispatch-wrapper-resolution.ts, src/infra/exec-wrapper-resolution.ts`\n\n## Fixed Versions\n\n- Affected: `\u003c= 2026.3.24`\n- Patched: `\u003e= 2026.3.28`\n- Latest stable `2026.3.28` contains the fix.\n\n## Fix\n\nFixed by commit `83da3cfe31` (`infra: unwrap script wrapper approval targets`).","aliases":["CVE-2026-41390"],"modified":"2026-05-05T16:11:44.057377Z","published":"2026-03-31T23:59:53Z","database_specific":{"severity":"HIGH","github_reviewed":true,"github_reviewed_at":"2026-03-31T23:59:53Z","nvd_published_at":null,"cwe_ids":["CWE-385"]},"references":[{"type":"WEB","url":"https://github.com/openclaw/openclaw/security/advisories/GHSA-6pfc-6m7w-m8fx"},{"type":"WEB","url":"https://github.com/openclaw/openclaw/commit/83da3cfe31f016841e1deedda1a604696f4c488d"},{"type":"PACKAGE","url":"https://github.com/openclaw/openclaw"},{"type":"WEB","url":"https://github.com/openclaw/openclaw/releases/tag/v2026.3.28"}],"affected":[{"package":{"name":"openclaw","ecosystem":"npm","purl":"pkg:npm/openclaw"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"2026.3.28"}]}],"database_specific":{"last_known_affected_version_range":"\u003c= 2026.3.24","source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/03/GHSA-6pfc-6m7w-m8fx/GHSA-6pfc-6m7w-m8fx.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H"}]}