CVE Professor
/
All CVEs
CVE-2026-137197

CVE-2026-137197 — Cross-spawn — CWE-78

HIGH CVSS 8.1 ⚡ EPSS 0.8% GitHub

### Impact On Windows, cross-spawn runs commands that aren't executables, such as batch files (`.bat` and `.cmd`), through `cmd.exe`, and escapes their arguments for it. Batch files need a stricter escaping, because `cmd.exe` parses their arguments a second time. 7.1.0 and 6.0.7 fixed that escaping ([GHSA-ghv9-86vm-4v8m](https://github.com/moxystudio/node-cross-spawn/security/advisories/GHSA-ghv9-86vm-4v8m)), but it only applies when cross-spawn detects that the command is a batch file. The detection could be bypassed when the command isn't written as a plain program name or path, while `cmd.exe` still runs a batch file: - the command contains double quotes, e.g. `spawn('"tool.bat"', args)` or `spawn('"tool"', args)`; - the command contains a space, tab, `,`, `;` or `=`, where `cmd.exe` ends the command name, e.g. `spawn('npm install', args)`, which runs `npm.cmd`; - the command ends with a tab or other whitespace; - the `PATHEXT` passed in `options.env` makes `cmd.exe` find a batch file that the parent's `PATHEXT` doesn't. In those cases the arguments were escaped for a regular program, and an argument such as `"&calc` could run arbitrary commands. Applications are affected if they run on Windows, pass a command in one of these forms, and pass untrusted input as arguments. ### Patches Fixed in 7.1.1 and 6.0.8. The command is now always quoted when it runs through `cmd.exe`, so `cmd.exe` treats it as a single name. Double quotes are removed from it first, since Windows

### Impact On Windows, cross-spawn runs commands that aren't executables, such as batch files (`.bat` and `.cmd`), through `cmd.exe`, and escapes their arguments for it. Batch files need a stricter escaping, because `cmd.exe` parses their arguments a second time. 7.1.0 and 6.0.7 fixed that escaping ([GHSA-ghv9-86vm-4v8m](https://github.com/moxystudio/node-cross-spawn/security/advisories/GHSA-ghv9-86vm-4v8m)), but it only applies when cross-spawn detects that the command is a batch file. The detection could be bypassed when the command isn't written as a plain program name or path, while `cmd.exe` still runs a batch file: - the command contains double quotes, e.g. `spawn('"tool.bat"', args)` or `spawn('"tool"', args)`; - the command contains a space, tab, `,`, `;` or `=`, where `cmd.exe` ends the command name, e.g. `spawn('npm install', args)`, which runs `npm.cmd`; - the command ends with a tab or other whitespace; - the `PATHEXT` passed in `options.env` makes `cmd.exe` find a batch file that the parent's `PATHEXT` doesn't. In those cases the arguments were escaped for a regular program, and an argument such as `"&calc` could run arbitrary commands. Applications are affected if they run on Windows, pass a command in one of these forms, and pass untrusted input as arguments. ### Patches Fixed in 7.1.1 and 6.0.8. The command is now always quoted when it runs through `cmd.exe`, so `cmd.exe` treats it as a single name. Double quotes are removed from it first, since Windows

CVSS v3.1 Vector Metrics
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack Vector Network AV:N
Attack Complexity High AC:H
Privileges Req. None PR:N
User Interaction None UI:N
Scope Unchanged S:U
Confidentiality High C:H
Integrity High I:H
Availability High A:H
EPSS — Exploit Prediction Scoring System
0.8%
30-day probability
In the 59. percentile of all CVEs — higher exploitation probability than most vulnerabilities.
AI Security Analysis & Remediation

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
CVE-2026-137197
CVSS 8.1/10 · HIGH · 30.11.2026
CWE: CWE-78
Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

🎯 WHAT IS THIS VULNERABILITY?
OS Command Injection
Summary: ### Impact

On Windows, cross-spawn runs commands that aren't executables, such as batch files (.bat and .cmd), through cmd.exe, and escapes their arguments for it. Batch files need a stricter escaping, because cmd.exe parses their arguments a second time. 7.1.0 and 6.0.7 fixed that escaping ([GHSA-ghv9-86vm-4v8m](https://github.com/moxystudio/node-cross-spawn/security/advisories/GHSA-g…
Affected: cross-spawn

⚡ ATTACK VECTOR
Network / Remote (AV:N) · no authentication required (PR:N) · no user interaction (UI:N).

🌍 REAL WORLD IMPACT
All confidential data readable/stealable; data can be modified or deleted; service can be completely taken down.

🛡️ REMEDIATION
→ Apply vendor security update for cross-spawn.
→ Never pass user input to shell commands.
→ Pre-patch: put service behind VPN or apply IP allowlist.
→ Add WAF rule, create IDS alert for anomalous traffic.

⚠️ URGENCY
⚠️ This week (7 days) — High risk, anonymous remote.

────────────────────────────────────────
[Automated Technical Vulnerability & CVSS Vector Analysis]

Target Reconnaissance Queries (FOFA & Shodan)
CVSS Score
8.1 / 10 · CVSS HIGH
Weakness Types (CWE)
Affected Products (1)
cross-spawn
References & Advisories (4)
Related CVEs
10.0
CVE-2026-130609
Deserialization of untrusted data vulnerability in DİA Yazılım Sanayi ve Ticaret A.Ş. DİA ERP allows Cros
9.8
CVE-2026-105104
Use of hard-coded credentials in Elinktek UZ801 4G LTE USB Dongle firmware UFI003S_V03_ZX_DD_250226 and earlie
9.3
CVE-2026-144337
osTicket before 1.17.9 and 1.18.0 before 1.18.5 contains an unauthenticated stored cross-site scripting vulner
9.0
CVE-2026-145039
SiYuan before 3.8.11 contains a stored cross-site scripting vulnerability in the protyle asset picker's render
9.3
CVE-2026-118323
Improper neutralization of special elements used in an OS command in language-management endpoint in ZKTeco Bi
9.2
CVE-2026-144499
ASN1SCC before 4.7.0.1 contains an out-of-bounds write vulnerability in the SequenceOf_decode template in StgC
8.8
CVE-2026-77418
Local CI is a ground-up rewrite of the GitHub Actions orchestration layer that runs entirely on a personal mac