Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-137199

published critical CVSS 4.0 · 9.2

cross-spawn: Command injection on Windows when spawning batch files

Published
30 Nov 2026, 20:39:53 UTC
Updated
30 Nov 2026, 20:39:53 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
moxystudio — node-cross-spawn< 6.0.7 · >= 7.0.0, < 7.1.0 Affected Not stated GitHub_M

Description

cross-spawn is a cross-platform solution for Node.js spawn and spawnSync. Prior to 6.0.7 and 7.1.0, Windows applications that pass untrusted arguments to commands routed through cmd.exe can be vulnerable because cross-spawn did not account for the second cmd.exe parse performed when a batch file outside node_modules/.bin forwards its arguments. A crafted argument could break out of its quotes and execute arbitrary commands through npm.cmd, globally installed package shims, or user batch files. Trailing dots or spaces could bypass batch-file detection. A percent-delimited variable in an argument could be expanded when an environment variable with the same name followed by a caret existed, and an exclamation-delimited variable could be expanded when delayed expansion was enabled in the registry. Other platforms and the intentionally unescaped options.shell mode are not affected. This issue is fixed in versions 6.0.7 and 7.1.0.

en · GitHub_M · cna

Vendor advisories explicitly linked to this CVE.

0

No linked advisories were found for this CVE.

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
4.0
Base score
9.2 / 10
Severity
critical
Provider
GitHub_M · cna
Vector string
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

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
moxystudio node-cross-spawn < 6.0.7 (affected)>= 7.0.0, < 7.1.0 (affected) GitHub_M · cna

Weaknesses

1
  • CWE-78 CWE-78: Improper Neutralization of Special Elements used in an OS Command (GitHub_M · cna)

References

8

Provider assertions

1

GitHub_M · cna

cross-spawn: Command injection on Windows when spawning batch files

Provenance

Schema
5.2
Searchable
yes
Content hash
f94dd9e379a121cbd59f741b8aca8e9954b9f769bc5c3299ac84df74e621dd50
Ingested
30 Nov 2026, 20:42:14 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected