CVE-2024-36138: Node.js Node

High severity, CVSS 8.1. EPSS: 1.1% chance of exploitation in the next 30 days.

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.

Affected products

  • Node.js Node: from 4.0, before 5 (fixed in 5); from 5.0, before 6 (fixed in 6); from 6.0, before 7 (fixed in 7); from 7.0, before 8 (fixed in 8); from 8.0, before 9 (fixed in 9); from 9.0, before 10 (fixed in 10); …
  • Node.js Node.js: from 18.0, before 18.20.4 (fixed in 18.20.4); from 20.0, before 20.15.1 (fixed in 20.15.1); from 22.0, before 22.4.1 (fixed in 22.4.1)

Published 2024-09-07. Last modified 2026-06-17.