Exploited now
Vulnerability WatchVulnerabilities, exploits & advisories — updated every 15 minutes
Alerts

Home › CVE › JavaScript

CVE-2026-137199 — moxystudio node-cross-spawn

Critical · CVSS 9.2 First seen November 30, 2026

One of 3 moxystudio node-cross-spawn vulnerabilities published together by NVD: our article covers all of them.

JavaScriptWindowsWebOperating systemsVulnerabilities

Summary

cross-spawn is a cross-platform solution for Node.js spawn and spawnSync. Prior to 6.0.7 and 7.1.0, Windows applications that pass untrusted arguments to commands routed through cmd.exe can be vulnerable because cross-spawn did not account for the second cmd.exe parse performed when a batch file outside node_modules/.bin forwards its arguments. A crafted argument could break out of its quotes and execute arbitrary commands through npm.cmd, globally installed package shims, or user batch files. Trailing dots or spaces could bypass batch-file detection. A percent-delimited variable in an argument could be expanded when an environment variable with the same name followed by a caret existed, and an exclamation-delimited variable could be expanded when delayed expansion was enabled in the registry. Other platforms and the intentionally unescaped options.shell mode are not affected. This issue is fixed in versions 6.0.7 and 7.1.0.

Description: NIST National Vulnerability Database (public domain)

Severity breakdown

Critical · 9.2 CVSS 4.0 base score from the CNA (github.com)

An attacker without an account can exploit this over the network, without any user action, but only under specific conditions.

Attack from
the network (remotely)
Attack complexity
high (only works under specific conditions)
Special conditions
only in some setups or conditions
Login needed
no
User action needed
no
Impact
high on confidentiality, integrity and availability
Impact on other systems
none

Vector CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/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

Weakness

  • CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

Affected and fixed versions

ProductAffected versionsFixed in
moxystudio node-cross-spawn< 6.0.7, >= 7.0.0, < 7.1.0—

From the vendor's CVE record; confirm with the vendor advisory before relying on a version number.

References by type

Vendor advisories

Patches and fixed releases

Other references

Details from NVD (public domain).

Affected

  • moxystudio node-cross-spawn

What to do

  • Check whether you run an affected product or version and apply the vendor's update or mitigation.
  • Follow the vendor advisory and the references below for fixed versions and workarounds.

Frequently asked questions

What is CVE-2026-137199?

cross-spawn is a cross-platform solution for Node.js spawn and spawnSync. Prior to 6.0.7 and 7.1.0, Windows applications that pass untrusted arguments to commands routed through cmd.exe can be vulnerable because cross-spawn did not account for the second cmd.exe parse performed when a batch file outside nodemodules/.bin forwards its arguments. Weakness type: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') (CWE-78).

How severe is CVE-2026-137199?

CVE-2026-137199 has a CVSS 4.0 base score of 9.2 (critical), from the CNA (github.com). An attacker without an account can exploit this over the network, without any user action, but only under specific conditions.

Is CVE-2026-137199 being exploited?

Not as far as is known: CVE-2026-137199 is not in CISA's Known Exploited Vulnerabilities catalog as of November 30, 2026.

Which versions are affected by CVE-2026-137199?

moxystudio node-cross-spawn < 6.0.7, >= 7.0.0, < 7.1.0.

How do I fix CVE-2026-137199?

Apply the update or mitigation in the vendor's advisory, linked on this page under Vendor advisories.

Timeline & sources

References

Related vulnerabilities & news