{"id":"ghsa-ghsa-w3gc-668g-rf8f","seq":13099058,"kind":"advisory","title":"cross-spawn: Command injection on Windows when the command is not a plain program name or path","url":"https://github.com/advisories/GHSA-w3gc-668g-rf8f","permalink":"https://vulnpulse.app/items/ghsa-ghsa-w3gc-668g-rf8f","summary":"影響: npm:cross-spawn >= 7.0.0, < 7.1.1 → 7.1.1, npm:cross-spawn < 6.0.8 → 6.0.8\nOn Windows, cross-spawn runs commands that aren't executables, such as batch files (.bat and .cmd), through cmd.exe, and escapes their arguments for it. Batch files need a stricter escaping, because cmd.exe parses their arguments a second time. 7.1.0 and 6.0.7 fixed that escaping ([GHSA-ghv9-86vm-4v8m](https://github.com/moxystudio/node-cross-spawn/security/advisories/GHSA-ghv9-86vm-4v8m)), but it only applies when cross-spawn detects that the command is a batch file. The detection could be byp…","severity":"high","cvss":null,"techs":["nodejs"],"cves":["CVE-2026-137197"],"tags":["GHSA-w3gc-668g-rf8f","cross-spawn","cross-spawn"],"source":{"id":"ghsa","name":"GitHub Advisory Database"},"published_at":"2026-12-04T19:52:52.000Z","fetched_at":"2026-12-05T02:20:50.705Z"}