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.

Systems
macOSWindowsLinux
Fixed in
6.0.77.1.0
CVSS
8.3
Weakness
CWE-88
Source
Get the fix in Telegram

Am 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

PackageEcosystemAffectedFixed in
node-cross-spawnother>=6.0.6, <6.0.76.0.7
node-cross-spawnother>=7.0.4, <7.1.07.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.

Related node-cross-spawn incidents

All node-cross-spawn incidents