Node.js v21.7.3stable Released Apr 10, 2024
Impact Score: 6/10

Node.js: 2024-04-10, Version 21.7.3 (Current), @RafaelGSS

Source available - automated, not human-reviewed

Component: nodejs · Channel: stable. Automated analysis, not a compatibility certification. How this works.

Analysis updated: 2026-11-28.

Compatibility not verified - check source notes
📄 .MD
⚡ Executive Summary (TL;DR)

Node.js v21.7.3 addresses a critical command injection vulnerability in child_process.spawn on Windows systems. The release restricts the direct execution of .bat and .cmd files to mitigate this security risk.

Who Does This Impact? (Role-Based Analysis)

💻 Software Engineers & Devs

Developers executing external .bat or .cmd files via child_process.spawn on Windows must review and potentially adjust their spawn implementation.

📊 Product & Engineering Leads

This update addresses a security vulnerability, prioritizing stability and risk reduction over new feature development.

⚙️ DevOps & Security

Security teams should prioritize deploying this update on all Windows-based Node.js hosting environments to mitigate potential command injection attacks.

🔧 Bug Fixes & Patches (2)

  • CVE-2024-27980: Resolved command injection vulnerability via args parameter of child_process.spawn on Windows
  • Disallowed direct .bat and .cmd file spawning in child_process.spawn

❓ Frequently Asked Questions

Does Node.js v21.7.3 contain breaking changes?

Yes, by disallowing direct spawning of .bat and .cmd files, existing code that relies on this behavior on Windows will require modification.

What is the primary highlight of v21.7.3?

The primary highlight is the fix for CVE-2024-27980, a command injection vulnerability affecting child_process.spawn on Windows.

How should teams prepare to upgrade to v21.7.3?

Teams should audit applications that spawn subprocesses on Windows to ensure they do not directly rely on executing .bat or .cmd files, then test the upgrade in a staging environment.

📄 View Raw Release Notes (Original Developer Log)
This is a security release. ### Notable Changes * CVE-2024-27980 - Command injection via args parameter of `child_process.spawn` without shell option enabled on Windows ### Commits * \[[`9095c914ed`](https://github.com/nodejs/node/commit/9095c914ed)] - **src**: disallow direct .bat and .cmd file spawning (Ben Noordhuis) [nodejs-private/node-private#562](https://github.com/nodejs-private/node-private/pull/562)