International
The Morning Dev

Only the news worth knowing

‹
 
A65/100

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
YesHits tech teamsJudgment: cross-spawn is a Node.js library that developers and build tools use to spawn processes.
NoCore infrastructureJudgment: cross-spawn is a single widely used library, not foundational infrastructure like OpenSSH or npm as a whole.
YesPopular toolJudgment: cross-spawn is a top npm package with very high download volume across many projects.
NoExploited in the wildGitHub Advisory Database: advisory describes the flaw only; no source reports observed attacks.
NoPublic exploitGitHub Advisory Database: advisory describes the flaw; no source says exploit code or PoC is published.
YesRemote, no loginCVSSCVE-2026-137199: CVSS 9.2 – network, no privileges, no user interaction
YesFull takeoverCVSSCVE-2026-137199: CVSS rates confidentiality and integrity impact high
NoSecrets exposedGitHub Advisory Database: no source reports credentials, tokens or data stolen or exposed.
NoSupply chainGitHub Advisory Database: a normal flaw in legitimate code; no malicious package or compromised channel reported.
NoNo fix yetGitHub 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

    NVD

Timeline

  1. Advisory published in GitHub Advisory Database

  2. GitHub Advisory Database

    cross-spawn: Command injection on Windows when spawning batch files (CVE-2026-137199)

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