pwned.coffeeOrder ticket · today's special · 1 Dec 2026
Double espresso · 355°CcriticalOn hold · status unknown
cross-spawn: Command injection on Windows when spawning batch files
moxystudio node-cross-spawn
On Windows, cross-spawn runs commands that aren't executables (.exe or .com), such as batch files (.bat or .cmd), through cmd.exe, and escapes the command and its arguments for it. A batch file that forwards its arguments, e.g. with %*, makes cmd.exe parse them a second time.
Do this now
Check the GitHub advisory for a fix, and restrict cross-spawn's batch-file arguments to trusted input meanwhile.
Who should check: teams running npm packages
- First seen
- Last update
- Versions per GitHub advisory, not the vendor
- cross-spawn 7.1.0
- cross-spawn 6.0.7
- node-cross-spawn 6.0.7
- Identifiers
- CVSS
- 9.2
- Source
- GitHub advisory
- On the menu as
Timeline
Fix status: patched → unknown.
First reported.
Receipt
- Exploitation
- No known exploitation
- By release line, per GitHub advisory, not the vendor
Product Affected Version named Source cross-spawn (npm) >= 7.0.0, < 7.1.0 7.1.0 GitHub advisory per GitHub advisory, not the vendor checked cross-spawn (npm) < 6.0.7 6.0.7 GitHub advisory per GitHub advisory, not the vendor checked node-cross-spawn before 6.0.7 6.0.7 CVE record (CNA) per the CVE record from GitHub_M, not the vendor checked - Score
- CVSS 9.2 (critical). CVSS 4.0 9.2 (CNA GitHub_M) for CVE-2026-137199
- Last checked
Sources: KEV – CVE record ✓ Vendor –
Sources
Totalone very hot coffee