ZeroDay Brief
CVE-2026-137197

Prior to 6.0.8 and 7.1.1, applications running on Windows that pass untrusted arguments can be vulnerable when a command sent through cmd.exe is not written as a plain program name or path.

CVSS
8.1High
Chance of exploitation (EPSS)
0.82%
Published
Nov 30, 2026
In the news
1 story
More from this vendor

What to do

A serious command injection flaw in Moxystudio Node-cross-spawn that can be attacked over the network without logging in. No attacks are reported yet; it can go in your normal patch cycle.

Action: Check the vendor's advisory in the references and apply updates as soon as they are available.

Affected versions
Moxystudio Node-cross-spawn
< 6.0.8; >= 7.0.0, < 7.1.1

Description

cross-spawn is a cross-platform solution for Node.js spawn and spawnSync. Prior to 6.0.8 and 7.1.1, applications running on Windows that pass untrusted arguments can be vulnerable when a command sent through cmd.exe is not written as a plain program name or path. Commands containing quotes, command-name delimiters, trailing whitespace, or a child-specific PATHEXT could cause cross-spawn to miss that cmd.exe would resolve a batch file. The arguments were then escaped as though the target were a regular program, allowing command metacharacters in an argument to be interpreted by cmd.exe and execute arbitrary commands. Applications are affected only when they use one of these command forms and pass untrusted input as arguments. This issue is fixed in versions 6.0.8 and 7.1.1.

CWE-78

Affected products

Get alerts for these →

Timeline 2

Latest change: cross-spawn: cross-spawn: Command injection on Windows when the command is not a plain program name or path (Dec 4, 2026)

News, advisories, exploit code, scanner detection and exploitation, newest first.

Mon, Nov 30, 2026

  1. CVECVE-2026-137197 published (CVSS 8.1)CVE Program · 21:17 UTC

References 7

  • github.com /moxystudio/node-cross-spawn/commit/4a15965b05415e9f817315206771b25558804b16
  • github.com /moxystudio/node-cross-spawn/commit/d0ead352a7380492cbb0f6548fa86f19448323c9
  • github.com /moxystudio/node-cross-spawn/pull/196
  • github.com /moxystudio/node-cross-spawn/pull/197
  • github.com /moxystudio/node-cross-spawn/releases/tag/v6.0.8
  • github.com /moxystudio/node-cross-spawn/releases/tag/v7.1.1
  • github.com /moxystudio/node-cross-spawn/security/advisories/GHSA-w3gc-668g-rf8f

You are leaving ZeroDay Brief

This link goes to exploit code on a third-party site. We find these links automatically and do not test, review or vouch for them. They may contain malware or fake exploits.

We are not responsible for anything that happens if you open the page or run its code. Never run exploit code on systems you care about.

↑ ↓ moveEnter openEsc closeTry “CVE-2026”, “fortinet” or “ivanti”