{"id":"GHSA-82gw-wqw6-r2cf","summary":"Duplicate Advisory: Command Injection via unescaped environment assignments in Windows Scheduled Task script generation","details":"## Duplicate Advisory\n\nThis advisory has been withdrawn because it is a duplicate of GHSA-pj5x-38rw-6fph. This link is maintained to preserve external references.\n\n## Original Description\nOpenClaw versions prior to 2026.2.19 contain a command injection vulnerability in Windows Scheduled Task script generation where environment variables are written to gateway.cmd using unquoted set KEY=VALUE assignments, allowing shell metacharacters to break out of assignment context. Attackers can inject arbitrary commands through environment variable values containing metacharacters like &, |, ^, %, or ! to achieve command execution when the scheduled task script is generated and executed.","modified":"2026-03-20T13:31:42.898551Z","published":"2026-03-19T03:30:57Z","withdrawn":"2026-03-20T13:24:31Z","database_specific":{"github_reviewed_at":"2026-03-20T13:24:31Z","nvd_published_at":"2026-03-19T02:16:01Z","cwe_ids":["CWE-78"],"severity":"MODERATE","github_reviewed":true},"references":[{"type":"WEB","url":"https://github.com/openclaw/openclaw/security/advisories/GHSA-pj5x-38rw-6fph"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-22176"},{"type":"WEB","url":"https://github.com/openclaw/openclaw/commit/dafe52e8cf1a041d898cfb304a485fa05e5f58fb"},{"type":"WEB","url":"https://www.vulncheck.com/advisories/openclaw-command-injection-via-unescaped-environment-variables-in-windows-scheduled-task"}],"affected":[{"package":{"name":"openclaw","ecosystem":"npm","purl":"pkg:npm/openclaw"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"last_affected":"2026.2.17"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/03/GHSA-82gw-wqw6-r2cf/GHSA-82gw-wqw6-r2cf.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:L"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X"}]}