CSIRTS // UNIFIED SECURITY ADVISORY FEEDSYS ● ONLINE · POWERED BY INTELFUSIONS.COM

CVE-2024-36138: Bypass incomplete fix of CVE-2024-27980, that arises from improper handling of batch files with all possible extensions on Windows via child_process.spawn / child_process.spawnSync. A malicious command line argument can inject arbitrary commands and achieve code execution even if the shell option is not enabled.

highCVSS 8.1CVE-2024-36138

CSIRTS triage

What
An incomplete fix for CVE-2024-27980 allows command injection via child_process.spawn/spawnSync on Windows due to improper batch file extension handling.
Who is affected
Node.js applications using child_process functions with user-controlled arguments on Windows.
Urgency
High severity with CVSS 8.1; applications relying on the prior CVE-2024-27980 fix remain vulnerable to command injection.
Action
Update to a Node.js version with the complete command injection fix for Windows batch file handling.

AI-assisted analysis generated from the source advisory — verify against the original.

⚡ Watch Node.js

Get an email when a new Node.js advisory drops — max one per day, one-click unsubscribe.

Details

Source
Microsoft Security Response Center (INTL · vendor-psirt · site)
Severity
high — CVSS 8.1
Published
2026-08-06
Exploitation
Not in CISA KEV at last sync

Original advisory: https://msrc.microsoft.com/update-guide/vulnerability/CVE-2024-36138

Exploitation outlook

EPSS (FIRST.org) estimates each CVE’s probability of exploitation in the next 30 days — here is the CSIRTS.com read on those numbers.

Referenced CVEs

CVECSIRTS overviewExternal
CVE-2024-36138coverage & exploitation statusNVD · CVE.org

More from Microsoft Security Response Center