Patch cross-spawn in Windows build and deployment runners

Check the lockfiles and built artifacts on Windows runners that pass customer or contributor input to batch commands. A transitive npm dependency can put that input in reach of the runner’s credentials.

Laptops with abstract displays on a software build workbench.
Conceptual illustration

What changed

The maintainer disclosed three Windows cross-spawn vulnerabilities on November 28, 2026. Microsoft’s December 2 ET CVRF refresh (December 3 UTC) lists Azure Linux packages carrying the dependency, with no fixed Azure Linux build. The affected execution path is Windows cmd.exe. Check the copy embedded in a Windows runner, deployment tool or application that runs batch commands.

When it applies

CVE-2026-137197. Windows command injection with untrusted arguments when the command is susceptible to unsafe batch-file detection. Affected 6.x before 6.0.8, 7.0.0 to before 7.1.1, and earlier versions. Fixed in 6.0.8 or 7.1.1. Maintainer High and CNA High, CVSS 3.1 8.1.

CVE-2026-137199. Windows batch-file argument forwarding can cause command injection with untrusted input. Affected before 6.0.7 and from 7.0.0 to before 7.1.0. Fixed in 6.0.7 or 7.1.0. Maintainer High, CNA Critical, CVSS 4.0 9.2.

CVE-2026-137198. Windows argument injection with untrusted input, affecting 6.0.6 and 7.0.4 to before 7.1.0. Fixed in 6.0.7 or 7.1.0. Maintainer Moderate, CNA High, CVSS 4.0 8.3.

The maintainer documents public examples. CISA KEV contains none of the three CVEs. Confirmed exploitation was not verified.

Suggested MSP action

High for privileged Windows runners that accept untrusted input. Inventory direct and transitive npm copies, including packaged tools and runner images. Until updated, keep untrusted arguments out of batch invocations or enforce an application-specific allowlist and separate those jobs from credentials. Roll forward to 6.0.8 or 7.1.1 to cover all three, rebuild runner images and test the installed dependency and normal job execution. If there are signs of unexpected commands, preserve runner logs and review reachable credentials and artifacts.

Last verified December 3, 2026.

Official sources

Maintainer CVE-2026-137197 advisory · Maintainer CVE-2026-137198 advisory · Maintainer CVE-2026-137199 advisory · Maintainer releases · Microsoft November CVRF · CISA KEV

Share this article