Node.js 20 End of Life: 30 April 2026, Node2Shell, and What to Upgrade To

Node.js 20 stopped getting security fixes on 30 April 2026. Since then, Node2Shell, a remote code execution flaw in the Brotli decoder bundled with Node.js, was patched on 22, 24 and 26 only, another high-severity release lands on 11 November, and the cloud platforms are switching Node 20 off one by one. Here are the dates, how to check what you run, and what to move to.

Oct 30, 2026

Updated

A server block on a cracked platform next to a calendar with its last page torn off, a leaking compressed parcel beside it, and a crane lifting an identical block onto a new solid platform

Node.js 20 reached end of life on 30 April 2026. Since then it gets no releases, including security fixes. On 21 October 2026 the Node.js project fixed Node2Shell (CVE-2026-111497), a remote code execution flaw in the Brotli decoder it bundles, in 22.23.4, 24.22.1 and 26.12.1 only. CISA added it to its list of actively exploited vulnerabilities on 27 October. Another high-severity security release is due on 11 November 2026, again for 22, 24 and 26 only. Meanwhile the platforms are switching Node 20 off: GitHub Actions runners on 23 September, Vercel on 1 October, Google Cloud Run functions on 30 October. If an app, an API or a build pipeline of yours still runs Node 20, upgrade to Node 24 or 26. Node 22 ends in April 2027.


When does Node 20 end?

It already has: on 30 April 2026. From the Node.js release schedule and release list:

VersionStatus (5 Nov 2026)End of life
Node.js 18End of life30 April 2025
Node.js 20End of life. Last release 20.20.2 (24 March 2026)30 April 2026
Node.js 22Maintenance LTS30 April 2027
Node.js 24Maintenance LTS (since 20 Oct 2026)30 April 2028
Node.js 26Active LTS (since 28 Oct 2026)30 April 2029
Node.js 27Alpha (since 28 Oct 2026). First release 22 April 202730 April 2030

Odd-numbered versions (21, 23, 25) were never long-term supported and are already out of support. Node 27 starts a new model: one major release a year, and every release becomes long-term support. Node 26 and earlier keep the old schedule.

The Node.js end-of-life page is blunt about what end of life means: the version "will no longer receive updates, including security patches", and when a fix lands in newer lines, "even if the same vulnerability affects EOL release lines, there will not be any new releases for them."

Is it safe to keep running Node 20?

Not for anything that takes input from outside. In six months, Node 20 has missed a major security release, and the next one is announced:

  • 21 October 2026: ten vulnerabilities fixed in 22, 24 and 26, four rated high, including Node2Shell (advisory).
  • 11 November 2026: the next release, for 22, 24 and 26, with at least one high-severity fix in each line (announcement). The project repeats that "End-of-Life versions are always affected when a security release occurs."

So the gap grows with every release. An internal script with no network input can wait a little. A public API, a web server or a proxy on Node 20 cannot.

Node2Shell: the first big fix Node 20 won't get

CVE-2026-111497 is an out-of-bounds write in the Brotli decoder, the decompression library behind br content encoding, which Node.js bundles in its zlib module. In the advisory's words, an attacker who can supply Brotli data that an application decompresses with node:zlib "can corrupt process memory, which can lead to a crash, disclosure of process memory, or remote code execution." What happened, in order:

Reports differ on how easy exploitation is in practice: one public demonstration reached code execution on an official Node.js 24.22.0 image only after several attempts. That is a reason to schedule the upgrade calmly this week, not a reason to skip it. Coverage of the advisory reports no workaround short of upgrading.

The part that matters for Node 20: Node.js 20, 21, 23 and 25 will not get this fix. Any application on them that decompresses Brotli data it didn't produce itself (an API receiving compressed bodies, a server fetching from other servers, a proxy) carries this hole permanently.

Node 20 on AWS Lambda, Vercel, Azure and other platforms

Cloud platforms retire runtimes on their own schedule. Usually what stops first is deploying, not running.

PlatformWhat happens to Node 20Move to
AWS Lambda (nodejs20.x)Deprecated 30 April 2026, no more patches. Blocks new functions from 29 July 2027 and updates from 31 August 2027 (AWS)nodejs24.x (until 30 April 2028). nodejs26.x is in preview
VercelDisabled for builds and functions on 1 October 2026. New deployments set to 20 fail; already-deployed functions keep running (Vercel)Node 24
Azure FunctionsSupport ended 30 April 2026. Node 20 is gone from the supported list (Microsoft)Node 24 (until 30 April 2028). Linux Consumption stops at Node 22
Google Cloud Run functionsDeprecated 30 April 2026, decommissioned 30 October 2026 (Google)Node 24 (until 30 April 2028)
GitHub ActionsNode 24 is the default for JavaScript actions since 16 June 2026. Node 20 removed from runners on 23 September 2026 (GitHub)Actions that run on Node 24
NetlifyBuild plugins stopped supporting Node 18 and 20 on 16 June 2026; they run on the system default (Node 22) instead (Netlify)Node 22.12 or later for builds
Cloudflare PagesThe v3 build image defaults to Node 22.23.4. Node 20 runs only if you pin it with NODE_VERSION or a version file (Cloudflare)Remove the pin, or pin 24

On Lambda, the gap between deprecation and the block dates is the trap: the function deploys fine today, on a runtime nobody patches.

How to check what you run

  • On a server: node -v.
  • In containers: the base image in each Dockerfile (FROM node:20, node:20-alpine).
  • In the repository: .nvmrc, .node-version, the engines field in package.json, and the node-version in CI workflows. Build pipelines count: a site built on Node 20 isn't serving traffic from it, but the build machine still runs unpatched code on your behalf.
  • On serverless platforms: the function's runtime setting (for example nodejs20.x). On AWS, Trusted Advisor lists functions on deprecated runtimes.
  • Desktop apps: Electron apps bundle their own Node.js, and only a new release of the app updates it.

If nobody on your side can answer in an afternoon, that is the most important finding of the exercise.

What to upgrade to

Node 24 for most apps. It is in maintenance LTS until 30 April 2028, and every platform above supports it. Node 26 if your dependencies already support it: it is in active LTS until 30 April 2029, but Lambda and Cloud Run functions still offer it only in preview. Skip Node 22 unless a dependency or an Azure Linux Consumption plan forces it: it ends on 30 April 2027.

What to do, by situation

Your situationWhat to doRough cost
A maintained app with testsBump to Node 24 everywhere (server, Dockerfile, CI, engines), update dependencies, run the tests, deployA few days of your team's time
Serverless functions on nodejs20.x or VercelChange the runtime to Node 24 and redeploy, before the platform blocks updatesUsually hours per function
An app whose developer or agency is goneAudit first: the runtime bump is easy, knowing what else breaks is not$2,900 fixed audit, then the upgrade
A frozen app you cannot touch this quarterBuy commercial extended support, with a written exit dateQuote only (HeroDevs, NodeSource, TuxCare)
An app you want someone else to keep currentUpgrade once, then maintenance: runtime, dependencies and security releases handled for youFrom about $470 a month
A small tool on Node 20 nobody wants to touchRebuild that one piece on hosting we run$1,900 fixed starter

About extended support. The Node.js project lists commercial providers that backport security fixes to end-of-life versions, and says this "should be viewed as a temporary solution—the goal should always be to upgrade". HeroDevs states that its Never-Ending Support covers Node 20; none of the providers we checked publishes a price. Useful if a hard freeze blocks the upgrade this quarter; not a plan.

What doesn't work is waiting. Node 20 has been out of support for six months without anything visibly breaking. Node2Shell is what that looks like.

What we do

We take over applications other teams built, and keep them current. Our own production services are written in Go, and we say so: on a Node.js application, our job is the audit, the upgrade path and the maintenance around it. The $2,900 audit reads the code, lists what is out of support (runtime, framework, libraries) and what is exposed, and gives a costed order of work. Then, if you want, we do the upgrade and keep it current, from about $470 a month. For one small tool, our $1,900 starter rebuilds it on hosting we run.

Node.js does run in our own tooling: the build of this website and our end-to-end test runner. When we checked our own repositories for this post, the website's build was pinned to Node 22.22.0, one release short of the fix. We moved it to 22.23.4 in the same change that published this article. Across our repositories, Dependabot watches dependencies and a scheduled scan re-checks the main branch of every live application, filing anything it finds as an issue. Details on our security page.

Related: PostgreSQL 14 end of life (12 November 2026), .NET 8 end of life, PHP2Shell explained for CEOs, what the CISA KEV list means for your software, Windows Server 2016 end of life, taking over abandoned software, and software maintenance and support services.