Patch Ticker
EnglishEN
Elevated

node-cross-spawn argument injection on Windows

CVE-2026-137198

On Windows, program launch input can be tampered with, changing what programs do.

CVE
CVE-2026-137198 (opens in a new tab)
Score
CVSS 8.3
First seen

Mitigation

Update node-cross-spawn to 7.1.0 or 6.0.7. Until then, validate untrusted input so only a safe subset is allowed.

Update to at least the version for your product:

  • node-cross-spawn 7.x 7.1.0 or later
  • node-cross-spawn 6.x 6.0.7 or later

Summary

On Windows, when commands run through cmd.exe, mishandled backslashes let attacker-controlled text become extra arguments or swallow following ones. Windows applications passing untrusted input as arguments, including npm cmd-shims, are affected.

Affected when

  • Commands run through cmd.exe on Windows
  • Untrusted input passed as arguments

2 other Incidents of this product in the last 30 days

Incidents by product: node-cross-spawn

Other recent Incidents of node-cross-spawn

Read the advisory · github.com (opens in a new tab)