---
title: "CVE-2026-137199: cross-spawn - Command Injection"
description: "cross-spawn < 6.0.7 and < 7.1.0 contains a command injection caused by improper handling of arguments in cmd.exe on Windows, letting attackers execute arbitrary commands via crafted arguments, exploit requires passing untrusted arguments."
url: https://panop.io/threat-heartbeat/CVE-2026-137199/
---

# CVE-2026-137199 cross-spawn - Command Injection

cross-spawn < 6.0.7 and < 7.1.0 contains a command injection caused by improper handling of arguments in cmd.exe on Windows, letting attackers execute arbitrary commands via crafted arguments, exploit requires passing untrusted arguments.

CVSS base score 9.2 /10

Critical

CISA KEV

Not listed

Public exploit

None known

Authentication

Not required

[View the NVD record ↗](https://nvd.nist.gov/vuln/detail/CVE-2026-137199)

## Details

Type

Command Injection

Impact

Remote Code Execution

CVSS vector

CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

Published

30 November 2026

Updated

1 December 2026

Weakness

[CWE-78](https://cwe.mitre.org/data/definitions/78.html)

## Vendor fix

Update to versions 6.0.7 or 7.1.0 or later.

Patching closes this CVE. It does not tell you which of your systems run the affected version, or what else is exposed alongside them.

## References

- [https://nvd.nist.gov/vuln/detail/CVE-2026-137199](https://nvd.nist.gov/vuln/detail/CVE-2026-137199)
- [https://github.com/moxystudio/node-cross-spawn/security/advisories/GHSA-ghv9-86vm-4v8m](https://github.com/moxystudio/node-cross-spawn/security/advisories/GHSA-ghv9-86vm-4v8m)
- [https://github.com/moxystudio/node-cross-spawn/commit/1b71aa519a2e4f97d1f3ee27f0e2fc24ba17cf1a](https://github.com/moxystudio/node-cross-spawn/commit/1b71aa519a2e4f97d1f3ee27f0e2fc24ba17cf1a)
- [https://github.com/moxystudio/node-cross-spawn/commit/244ffeaa8473de0080c93ebbf779bb953b94114b](https://github.com/moxystudio/node-cross-spawn/commit/244ffeaa8473de0080c93ebbf779bb953b94114b)
- [https://github.com/moxystudio/node-cross-spawn/issues/171](https://github.com/moxystudio/node-cross-spawn/issues/171)
- [https://github.com/moxystudio/node-cross-spawn/pull/191](https://github.com/moxystudio/node-cross-spawn/pull/191)
- [https://github.com/moxystudio/node-cross-spawn/pull/192](https://github.com/moxystudio/node-cross-spawn/pull/192)
- [https://github.com/moxystudio/node-cross-spawn/releases/tag/v6.0.7](https://github.com/moxystudio/node-cross-spawn/releases/tag/v6.0.7)
- [https://github.com/moxystudio/node-cross-spawn/releases/tag/v7.1.0](https://github.com/moxystudio/node-cross-spawn/releases/tag/v7.1.0)

[← All CVEs](https://panop.io/threat-heartbeat/)

## What this record can't tell you

- Whether you run the affected software, and where
- Whether an attacker can actually reach and exploit it
- The misconfigurations that never get a CVE number
- What it would cost the business, ranked into what to fix first

Panop answers these inside your environment, for this CVE and every other finding.

[Book a demo](https://panop.io/demo)
