---
title: "CVE-2026-137197: cross-spawn - Command Injection"
description: "cross-spawn < 6.0.8 and < 7.1.1 contains a command injection caused by improper escaping of arguments passed through cmd.exe on Windows, letting attackers execute arbitrary commands, exploit requires passing untrusted input as arguments in specific command forms."
url: https://panop.io/threat-heartbeat/CVE-2026-137197/
---

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

cross-spawn < 6.0.8 and < 7.1.1 contains a command injection caused by improper escaping of arguments passed through cmd.exe on Windows, letting attackers execute arbitrary commands, exploit requires passing untrusted input as arguments in specific command forms.

CVSS base score 8.1 /10

High

CISA KEV

Not listed

Public exploit

None known

Authentication

Not required

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

## Details

Type

Command Injection

Impact

Remote Code Execution

CVSS vector

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

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.8 or 7.1.1 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-137197](https://nvd.nist.gov/vuln/detail/CVE-2026-137197)
- [https://github.com/moxystudio/node-cross-spawn/security/advisories/GHSA-w3gc-668g-rf8f](https://github.com/moxystudio/node-cross-spawn/security/advisories/GHSA-w3gc-668g-rf8f)
- [https://github.com/moxystudio/node-cross-spawn/commit/4a15965b05415e9f817315206771b25558804b16](https://github.com/moxystudio/node-cross-spawn/commit/4a15965b05415e9f817315206771b25558804b16)
- [https://github.com/moxystudio/node-cross-spawn/commit/d0ead352a7380492cbb0f6548fa86f19448323c9](https://github.com/moxystudio/node-cross-spawn/commit/d0ead352a7380492cbb0f6548fa86f19448323c9)
- [https://github.com/moxystudio/node-cross-spawn/pull/196](https://github.com/moxystudio/node-cross-spawn/pull/196)
- [https://github.com/moxystudio/node-cross-spawn/pull/197](https://github.com/moxystudio/node-cross-spawn/pull/197)
- [https://github.com/moxystudio/node-cross-spawn/releases/tag/v6.0.8](https://github.com/moxystudio/node-cross-spawn/releases/tag/v6.0.8)
- [https://github.com/moxystudio/node-cross-spawn/releases/tag/v7.1.1](https://github.com/moxystudio/node-cross-spawn/releases/tag/v7.1.1)

[← 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)
