Vulnerability · critical · CVSS 9.2
cross-spawn command injection on Windows via batch files (CVE-2026-137199)
Tier A · Patch today – Before you go home
Who’s exposed: Windows applications spawning batch files via cross-spawn
Tier A because: Core infrastructure or popular tool AND remote, no login AND full takeover
Reach
Attack
Damage
Fix
Popular tool · Remote, no login · Full takeover
The Brief
- cross-spawn runs non-executable commands such as .bat and .cmd files through cmd.exe on Windows.
- cross-spawn escapes the command and its arguments for cmd.exe, which the advisory says leads to command injection.
- A batch file that forwards its arguments, e.g. with %, can make cmd.exe execute injected commands.
Why it matters
Applications on Windows that spawn batch files through cross-spawn may run attacker-controlled commands if the arguments carry untrusted input.
The checklist behind the tier
Checklist · 4 of 10 yes
| Yes | Hits tech teams | Judgment: cross-spawn is a Node.js library that developers and build tools use to spawn processes. |
| No | Core infrastructure | Judgment: cross-spawn is a single widely used library, not foundational infrastructure like OpenSSH or npm as a whole. |
| Yes | Popular tool | Judgment: cross-spawn is a top npm package with very high download volume across many projects. |
| No | Exploited in the wild | GitHub Advisory Database: advisory describes the flaw only; no source reports observed attacks. |
| No | Public exploit | GitHub Advisory Database: advisory describes the flaw; no source says exploit code or PoC is published. |
| Yes | Remote, no login | CVSSCVE-2026-137199: CVSS 9.2 – network, no privileges, no user interaction |
| Yes | Full takeover | CVSSCVE-2026-137199: CVSS rates confidentiality and integrity impact high |
| No | Secrets exposed | GitHub Advisory Database: no source reports credentials, tokens or data stolen or exposed. |
| No | Supply chain | GitHub Advisory Database: a normal flaw in legitimate code; no malicious package or compromised channel reported. |
| No | No fix yet | GitHub Advisory Database excerpt: no source states whether a patched version is available, so not confirmed. |
The official record
From CVE.org, CISA’s Known Exploited Vulnerabilities catalog, FIRST EPSS and the GitHub Advisory Database. Where these answer a checklist fact, they win over the reporting.
CVE-2026-137199 ↗CVSS 9.2 critical AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
cross-spawn: Command injection on Windows when spawning batch files
- Exploited
- Not in CISA’s exploited catalog
- Weakness
- CWE-78
Timeline
Source
cross-spawn: Command injection on Windows when spawning batch files (CVE-2026-137199) ↗ GitHub Advisory Database · 1h ago
First seen · 1 source · Full story page · How tiers are decided