Node.js: 2024-04-10, Version 21.7.3 (Current), @RafaelGSS
Component: nodejs · Channel: stable. Automated analysis, not a compatibility certification. How this works.
Analysis updated: 2026-11-28.
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.
💻 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.