Node.js 21.x — End of Life

EOL Actively exploited
EOL: Jun 1, 20241 release in this series2 CVEs

Node.js 21.x reached end of life on Jun 1, 2024, 917 days ago, and no longer receives security fixes. The most recent release in this series is 21.7.3. 2 CVEs are tracked for this series, including 2 critical and 1 actively exploited according to CISA KEV. 1 of them was published after the end of life of the affected cycle and will not get an official patch. The next major version is Node.js 22. See Node.js 22 →

Node.js 21.x — All releases

VersionReleasedActive supportEOL dateLatest patchStatusAlert me
21Oct 17, 2023Apr 1, 2024Jun 1, 202421.7.3EOL

CVEs affecting Node.js 21.x (2)

CVESeverityCVSSEPSSKEVCycleDescriptionPublished
CVE-2026-111497CRITICAL9.899.98% KEV 21A buffer overflow vulnerability in the Brotli decoder (c/dec/decode.c) in Google Brotli versions 1.0.3 through 1.2.0 on …Oct 22, 2026
CVE-2024-3566CRITICAL9.86.23%—21A command inject vulnerability allows an attacker to perform command injection on Windows applications that indirectly d…Apr 10, 2024

Node.js 21.x is EOL — migrate to Node.js 22.x

Node.js 22.x is the next major release. Plan your upgrade before Node.js 21.x stops receiving security patches.

See Node.js 22.x

Add a Node.js 21 EOL badge to your README

Show your users which Node.js version your project runs and whether it is still supported. The badge updates automatically. More formats and options →

Node.js 21 EOL status
[![Node.js 21 EOL status](https://eolcanary.com/badge/nodejs/21.svg)](https://eolcanary.com/explore/nodejs/21)

Frequently asked questions

Is Node.js 21 end of life?

Yes. All Node.js 21.x releases have reached end of life and no longer receive security patches. There are 2 known CVEs affecting Node.js 21.x, including 2 critical. Migrate to Node.js 22.x as soon as possible.

What CVEs affect Node.js 21?

There are 2 CVEs tracked for Node.js 21.x, including 2 critical severity issues and 1 listed in the CISA Known Exploited Vulnerabilities catalog. See the full list above with CVSS and EPSS scores.

What is the latest Node.js 21 version?

The latest Node.js 21.x patch release is 21.7.3, released on April 10, 2024. Always run the latest patch to benefit from all security fixes.

How to migrate from Node.js 21 to Node.js 22?

To migrate from Node.js 21 to Node.js 22: (1) review the official Node.js 22 migration guide for breaking changes, (2) update dependencies and configuration accordingly, (3) test thoroughly in a staging environment, (4) deploy with a rollback plan. Starting early gives you time to resolve compatibility issues before your current version reaches end of life.

Is it safe to run Node.js 21 in production?

No. Node.js 21 has reached end of life and security vulnerabilities are no longer patched. Critically, 1 CVE affecting Node.js 21.x is in the CISA KEV catalog — meaning it is actively exploited in the wild. Upgrade to a supported version immediately.

Data sourced from endoflife.date · CVE data from NVD · EPSS from FIRST.org · KEV from CISA