8.1
HIGH CVSS 3.1
CVE-2026-137197
cross-spawn: Command injection on Windows when the command is not a plain program name or path
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.

INFO

Published Date :

Nov. 30, 2026, 9:17 p.m.

Last Modified :

Nov. 30, 2026, 9:17 p.m.

Remotely Exploit :

Yes !
Affected Products

The following products are affected by CVE-2026-137197 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Moxystudio node-cross-spawn
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 3.1 HIGH MITRE-CVE
CVSS 3.1 HIGH [email protected]
Solution
Update cross-spawn to version 6.0.8 or 7.1.1 to fix arbitrary command execution.
  • Update cross-spawn to version 6.0.8 or later.
  • Update cross-spawn to version 7.1.1 or later.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2026-137197 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2026-137197 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2026-137197 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • New CVE Received by [email protected]

    Nov. 30, 2026

    Action Type Old Value New Value
    Added 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.
    Added CVSS V3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
    Added CWE CWE-78
    Added Affected New affected value received. <a href="https://github.com/CVEProject/cvelistV5/blob/main/cves/2026/137xxx/CVE-2026-137197.json">CVE-2026-137197</a>
    Added Reference https://github.com/moxystudio/node-cross-spawn/commit/4a15965b05415e9f817315206771b25558804b16
    Added Reference https://github.com/moxystudio/node-cross-spawn/commit/d0ead352a7380492cbb0f6548fa86f19448323c9
    Added Reference https://github.com/moxystudio/node-cross-spawn/pull/196
    Added Reference https://github.com/moxystudio/node-cross-spawn/pull/197
    Added Reference https://github.com/moxystudio/node-cross-spawn/releases/tag/v6.0.8
    Added Reference https://github.com/moxystudio/node-cross-spawn/releases/tag/v7.1.1
    Added Reference https://github.com/moxystudio/node-cross-spawn/security/advisories/GHSA-w3gc-668g-rf8f
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.