Vendors › Node.js

CVE-2024-27980

High (no CVSS assigned) EPSS 1.4% Node.js · Node.js

Command injection via args parameter of child_process.spawn without shell option enabled on Windows

On Windows, improper handling of batch files in child_process.spawn and spawnSync lets a malicious argument inject arbitrary commands even when the shell option is off.

Published2024-04-10
Updated2024-04-10
AffectedNode.js 21.x, 20.x, 18.x
FixUpgrade to v21.7.3, v20.12.2, v18.20.2 (first fixed release per supported branch).
Vendor advisoryhttps://nodejs.org/en/blog/vulnerability/april-2024-security-releases-2#command-injection-via-args-parameter-of-child_processspawn-without-shell-option-enabled-on-windows-cve-2024-27980---high

CVEs (1)

CVECWETypeImpactLinks
CVE-2024-27980———NVD · CVE.org · EUVD

CWE, type and impact come from the NVD enrichment pass; unfilled rows are pending enrichment.

Same CVE in other advisories

Open in the CVEMesh app Create a free account

Track this advisory against your own stack — add your assets and CVEMesh shows which advisories actually apply to the versions you run.

CVEMesh aggregates public vendor advisories as guidance; always verify against the vendor's official advisory before patching or upgrading.