home / blog

2026-12-01 · critical

CVE-2026-137199: Critical vulnerability in cross-spawn on Windows

Critical vulnerability in cross-spawn on Windows allows arbitrary command execution via cmd.exe.

CVE-2026-137199: Critical vulnerability in cross-spawn on Windows

CVE-2026-137199 is a critical vulnerability affecting the cross-spawn library on Windows platforms. The flaw allows an attacker to execute arbitrary commands when untrusted arguments are passed to commands routed through cmd.exe, particularly when a batch file outside node_modules/.bin forwards its arguments.

Severity is classified as critical with a CVSS score of 9.2, officially published on November 30, 2026. Data shows significant attention on X platform with 11 posts in the last 24 hours and 8 total interactions. The most cited signal mentions 'Critical vulnerability' and indicates that a fixed version is available.

Immediate defenses include updating to cross-spawn version 6.0.7 or 7.1.0, which resolves the issue. For versions that cannot be updated, consider implementing input string controls or script execution restrictions. Monitor systems for potential exploitation attempts.

At a glance

What
Vulnerability in cross-spawn that allows arbitrary command execution on Windows when untrusted arguments are passed to commands routed through cmd.exe.
Severity
Critical, CVSS 9.2
Affected versions
Versions prior to 6.0.7 and 7.1.0
Fix
Update to versions 6.0.7 or 7.1.0
Status
Vulnerability published on November 30, 2026, patches available
Action
Apply updates immediately or implement mitigations

Sources: NVD, CVE-2026-137199

← All articles