High
cross-spawn argument injection on Windows (CVE-2026-137198)
On Windows, arguments passed to commands routed through cmd.exe are not escaped correctly, so attacker-controlled text can become extra arguments or consume following arguments. The injection can go unnoticed because the target may still accept the resulting arguments and exit normally.
6.0.77.1.0Am I affected?
You are affected if the installed version is older than the fixed version of its release line: 6.0.7, 7.1.0. Check the version you have and update to the fixed version of your line or later. The fixed versions are verified against a vendor or advisory source.
Affected software and versions
| Package | Ecosystem | Affected | Fixed in |
|---|---|---|---|
node-cross-spawn | other | >=6.0.6, <6.0.7 | 6.0.7 |
node-cross-spawn | other | >=7.0.4, <7.1.0 | 7.1.0 |
A fixed version is shown only when it is verified against a vendor or advisory source.
Who should check
Node.js projects using the cross-spawn package on Windows, versions 6.0.6 up to but not including 6.0.7, or 7.0.4 up to but not including 7.1.0.
Expected outcome after remediation
Report which cross-spawn versions were found, whether any are in the affected ranges, and confirm each was updated to 6.0.7 or 7.1.0.
Get the fix
FixLane has a reviewed fix procedure for this incident: a read-only check first, then the fix. Ask the Telegram bot, or connect an AI agent to the FixLane MCP server and call get_fix_prompt with incident id 5332 and your operating system.