Security mailing lists by PureSourceCode

CVE-2026-137198

HIGH 8.3CVSS 4.0

cross-spawn: Argument injection on Windows via backslashes before a double quote

cross-spawn is a cross-platform solution for Node.js spawn and spawnSync. From 6.0.6 until 6.0.7 and from 7.0.4 until 7.1.0, Windows applications that pass untrusted arguments to commands routed through cmd.exe can be vulnerable because cross-spawn did not correctly double runs of backslashes before a double quote or at the end of an argument. Two or more backslashes could escape the argument's closing quote, allowing attacker-controlled text to become extra arguments or consume following arguments. The caller may not detect the injection when the target accepts the resulting arguments and exits successfully, while a target that rejects an unexpected argument can fail instead. The affected command class includes npm cmd-shims in node_modules/.bin. This can change a target program's operation, although it does not by itself execute a second command and does not affect other platforms. This issue is fixed in versions 6.0.7 and 7.1.0.

Published
30 Nov 2026
Last modified
4 Dec 2026
Assigned by
security-advisories@github.com
NVD status
Received
Weakness
CWE-88
Also known as
GHSA-m6qr-m48x-3xhh
Sources
NVDJSONCVE ListJSONOSV GHSA-m6qr-m48x-3xhhJSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 4.0 HIGH 8.3 CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:H/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
CVE List GitHub_M CVSS 4.0 HIGH 8.3 CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:H/VA:L/SC:N/SI:N/SA:N
OSV GitHub CVSS 4.0 CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:H/VA:L/SC:N/SI:N/SA:N
CVE List CISA-ADP SSVC Exploitation: none; Automatable: no; Technical Impact: partial

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
CVE List moxystudio node-cross-spawn = >= 6.0.6, < 6.0.7; = >= 7.0.4, < 7.1.0
OSV npm cross-spawn >= 7.0.4, < 7.1.0 7.1.0
OSV npm cross-spawn >= 6.0.6, < 6.0.7 6.0.7

References

History

  • 4 Dec 2026 01:56 UTC · OSV: first stored (published 4 Dec 2026)
  • 1 Dec 2026 14:27 UTC · NVD: updated (other details)
  • 1 Dec 2026 13:53 UTC · CVE List: updated (other details)
  • 30 Nov 2026 21:25 UTC · NVD: first stored (published 30 Nov 2026)
  • 30 Nov 2026 21:08 UTC · CVE List: first stored (published 30 Nov 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.