PT-2026-164171
CVE-2026-137198
·
Published
2026-11-30
·
Updated
2026-11-30
Description by
CVSS 4.0
8.3
HighMetricsAV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:H/VA:L/SC:N/SI:N/SA:N
Name of the Vulnerable Software and Affected Versions
cross-spawn versions 6.0.6 through 6.0.6
cross-spawn versions 7.0.4 through 7.0.9
Description
On Windows, applications passing untrusted arguments to commands routed through cmd.exe are susceptible to an issue where backslashes before a double quote or at the end of an argument are not correctly handled. Specifically, two or more backslashes can escape the closing quote of an argument, enabling attacker-controlled text to be interpreted as additional arguments or to consume subsequent ones. This affects the npm cmd-shims in node modules/.bin. While this cannot execute a second command and does not impact other platforms, it can alter the operation of the target program. The caller might not detect the injection if the target accepts the arguments and exits successfully.
Recommendations
Update to version 6.0.7.
Update to version 7.1.0.
Found an issue in the description? Have something to add? Feel free to write us 👾