Skip to content
Emerging threatsCritical

CVE-2026-137199cross-spawn OS Command Injection

cross-spawn: Command injection on Windows when spawning batch files

Published Nov 30, 2026 · Updated Dec 1, 2026 · Also known as EUVD-2026-139685, GHSA-ghv9-86vm-4v8m

Key Facts

Patch in the next maintenance window
  • CVE-2026-137199 is a critical-severity vulnerability (CVSS 9.2 v4) affecting cross-spawn (npm), node-cross-spawn.
  • It is not listed in any known-exploited vulnerabilities catalog. No public exploit code is known.
  • EPSS estimates a 1.1% probability of exploitation in the next 30 days.
  • Fixed versions are available, including cross-spawn 6.0.7, cross-spawn 7.1.0, node-cross-spawn 6.0.7.
  • Brandefense priority: patch in the next maintenance window, because of its high severity, although no exploitation is known.

Scores

CVSS v4

9.2

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

EPSS (30-day exploit likelihood)

1.1%

Higher than 66.4% of all scored CVEs

Exploit maturity

Proof of concept

ATLAS score

48/100

Publication score, see How it works

Exploitation Verdict

KEV listed

Not listed

Federal due date

None

No federal due date

Ransomware use

Not reported

Attributed actors

None named

Exploit & Defence Guidance

Exploit maturity

Proof of concept

Public exploit code

1

Proof-of-concept links

In-the-wild evidence

0

Reports of active use

Description

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.

Affected Products

2 affected entries in total
ProductAffected versionsFixed in
cross-spawnnpm>= 7.0.07.1.0
node-cross-spawn>= 7.0.0,7.1.0

Patched Releases

cross-spawn

6.0.7, 7.1.0

node-cross-spawn

6.0.7, 7.1.0

Timeline

  1. Publicly disclosed

    Nov 30, 2026

  2. Last updated

    Dec 1, 2026

Weakness Type

  • CWE-78 Improper Neutralization of Special Elements used in an OS Command

FAQ

Common Questions.

Is CVE-2026-137199 On Your Attack Surface?

Brandefense matches it against the products discovered on your perimeter and opens a finding the day a CVE like this is listed.

Request A Demo

Figures as of Dec 2, 2026. Compiled by Brandefense technologies from public vulnerability catalogs; scoring as described in How it works.

To report an error, contact Brandefense.