In November 2026 both Node.js and Next.js shipped security releases: Node.js fixed 16 vulnerabilities, seven of them rated High, mostly in HTTP/2 and TLS; Next.js closed seven issues around caching, Edge routes and image optimization. This guide lists what was fixed, helps you decide whether you are affected and walks through the update on a laptop, a server under PM2 and in CI. Versions and dates are checked as of November 23, 2026.
What was fixed
The Node.js release came out on November 11, 2026 for all three supported lines at once: v26.13.1, v24.22.3 and v22.23.5. According to the official announcement, it covers 16 CVEs: 7 High, 6 Medium and 3 Low. The bundled llhttp, undici and sqlite were updated as well. Some third-party roundups circulated CVE numbers that do not appear on nodejs.org; the table below uses only the official list.
Node.js: 16 CVEs
| CVE | Area | Level | What it means, in short |
|---|---|---|---|
| CVE-2026-123863 | HTTP/2 | High | An unauthenticated client can trip an internal assertion and kill the server process (24.x, 26.x). |
| CVE-2026-123864 | HTTPS | High | An empty TLS write makes the HTTP parser run again and leak server heap memory into request bodies. Plain node:http is not affected. |
| CVE-2026-123865 | HTTP/2 | High | After a protocol error during shutdown, sessions are never cleaned up: memory and file descriptors leak. |
| CVE-2026-123866 | HTTP/2 | High | Use-after-free when a stream is torn down; the peer may receive freed or unrelated memory. |
| CVE-2026-126051 | TLS servers | High | Handshake callbacks can fire after the socket is destroyed and crash the process (24.x, 26.x). |
| CVE-2026-123872 | TLS 1.2 | High | Changing the server name during renegotiation bypasses client certificate checks. |
| CVE-2026-123874 | HTTP/2 | High | Use-after-free when a respondWithFile() stream is reset mid-write (24.x, 26.x). |
| CVE-2026-123828 | HTTP/2 | Medium | One-byte heap overflow in session.altsvc() with a long origin (24.x, 26.x). |
| CVE-2026-123867 | TLS | Medium | SNI contexts that only set a CA fall back to the default one, weakening per-host mTLS. |
| CVE-2026-123868 | HTTP/2 | Medium | Data queued on undrained streams is not counted against maxSessionMemory (24.x, 26.x). |
| CVE-2026-123871 | Proxy | Medium | Proxy credentials show up in plain text in error messages, and therefore in logs. |
| CVE-2026-123877 | https.Agent | Medium | A TLS session cached under a lax CA policy is reused under a stricter one, skipping certificate validation. |
| CVE-2026-123875 | HTTP/2 | Medium | Cancelling a respondWithFile() download crashes the server. |
| CVE-2026-123829 | Permission Model | Low | Recursive fs.watch reveals names of denied paths (macOS and Windows). |
| CVE-2026-123862 | zlib | Low | Calling params() and then destroy() throws an error you cannot catch. |
| CVE-2026-106071 | Permission Model | Low | Wildcard --allow-fs-read / --allow-fs-write rules grant more than intended. |
Unless noted otherwise, an issue affects all three lines: 22.x, 24.x and 26.x.
Next.js: seven advisories
Next.js published its November security release on November 3, 2026, with fixes in 16.4.5 and 15.5.29. The advance notice a week earlier spoke of seven medium-severity issues. The final post labels the first one below as High, while its GitHub advisory rates it Moderate (CVSS 6.3); either way, the fix is the same upgrade.
| Advisory | Area | Affected versions | Short description |
|---|---|---|---|
| GHSA-mfr8-8qww-v76h (CVE-2026-119790) | use cache + unstable_cache | 16.3.0–16.4.4 | During a cold cache fill, one tenant can get another tenant's cached data. |
| GHSA-vc7v-qv4w-wrv8 (CVE-2026-119351) | Nested use cache | 16.2.0–16.4.4 | Content generated for one root parameter (tenant, site, locale) is served for another. |
| GHSA-rhh4-g77r-r9qj (CVE-2026-119349) | Binary arguments in use cache | 16.0.0–16.4.4 | Different binary arguments can map to the same cache key, mixing users' results. |
| No GHSA in the post | Self-hosted next start | see the post | A crafted URL can poison a shared page shell with request-specific content or a lasting 404. |
| GHSA-pc58-hwjq-p385 (CVE-2026-119348) | Proxied responses | 16.0.0–16.4.4, up to 15.5.28 | Returning a fetched compressed response as is, behind an HTTP/1.1 proxy that pipelines requests, can send responses to the wrong client. |
| GHSA-f3mh-rxg3-f5g2 (CVE-2026-119346) | Edge routes and cookies | 16.0.0–16.4.4, 15.0.0–15.5.28 | Cookies set with NextResponse.cookies.set() leak into an internal header readable by page scripts, even HttpOnly ones. |
| GHSA-7qx7-33qx-rqx2 (CVE-2026-119347) | Image Optimization | 16.0.0–16.4.4, 15.0.0–15.5.28 | An SVG disguised as AVIF slips past dangerouslyAllowSVG: false. |
Who is affected
The short answer: everyone on an older patch of Node.js 22, 24 or 26, and everyone on Node.js 20 or 25. In practice the risk depends on how your app talks to the network:
- HTTP/2 servers in Node. If you use
node:http2directly, or a framework with HTTP/2 enabled, five of the seven High issues apply to you. Several of them let an anonymous client crash the process or read memory. - HTTPS terminated in Node. If Node itself holds the certificate (
https.createServer, a framework's TLS option), the heap leak and the handshake crash apply. - mTLS. Services that authenticate clients with certificates are hit by the renegotiation and SNI issues.
- Outgoing requests. Apps calling external APIs over HTTPS or through a proxy are affected by the
https.Agentsession reuse and by credentials leaking into logs. - Behind nginx or a load balancer. When the proxy terminates TLS and HTTP/2 and passes plain HTTP/1.1 to Node, most server-side issues never reach Node. Lower risk, not zero: outgoing requests and zlib still count.
For Next.js, check the features you use: the three cache issues need Cache Components and use cache; the shell poisoning and the response framing issues concern self-hosted next start; the cookie leak needs Edge route handlers that set cookies; the image issue needs Image Optimization with SVG disabled and a backend that can decode SVG. If none of that rings a bell, the update is still the cheapest way to stop worrying about it.
How to check your Node.js and Next.js versions
Check in the environment that actually runs your code, not just on your laptop. A server often has several Node binaries, and a process manager may keep running the one it was started with:
node -v # Node.js version in this shell
npm ls next # Next.js version actually installed in the project
npx next --version # the same, from the Next.js CLI
pm2 describe my-app | grep -i "node.js version" # what a running PM2 app usesCompare the result with the patched versions: Node.js 22.23.5, 24.22.3 or 26.13.1 and newer on the same line; Next.js 16.4.5 or 15.5.29 and newer. Also look at engines in package.json and at .nvmrc / .node-version, if you have them: they decide what CI and your teammates install.
How to update Node.js
A security release is a patch release within the same major line, so updating 24.x to 24.22.3 does not change APIs. Pick the method that matches how Node was installed; mixing two (for example, nvm plus a system package) is the usual reason node -v shows something other than what you just installed.
nvm (macOS, Linux, WSL)
nvm install 24 # latest 24.x (v24.22.3 as of November 23, 2026)
nvm alias default 24 # new shells start with it
nvm use 24
node -v
# optional: move global packages over from the old version
nvm install 24 --reinstall-packages-from=22fnm
fnm works the same way and is popular on Windows and in fast shell setups:
fnm install 24
fnm default 24
fnm use 24
node -vLinux package (NodeSource, distribution repositories)
If Node came from the NodeSource repository, a regular package upgrade brings the new patch. The distribution's own nodejs package follows the distribution's schedule and may lag behind nodejs.org, so always check the version after the upgrade:
# Debian/Ubuntu with the NodeSource repository
apt policy nodejs # which version the repository offers
sudo apt update
sudo apt install --only-upgrade nodejs
node -v
# RHEL / Rocky / Alma with NodeSource
sudo dnf upgrade nodejsWindows
The simplest route is the official MSI installer from nodejs.org: it upgrades the existing installation in place. From the command line, use winget or nvm-windows:
# Windows: winget (PowerShell)
winget upgrade OpenJS.NodeJS.LTS
# or nvm-windows: use the full version number
nvm install 24.22.3
nvm use 24.22.3
node -vOn a server under PM2
Installing a new Node is not enough: the PM2 daemon and its apps keep running the old binary until they restart. pm2 update saves the process list, restarts the daemon under the Node visible in your current shell and brings the apps back:
node -v # make sure this shell already sees the new version
pm2 update # restart the PM2 daemon under the new Node, processes come back
pm2 reload all # zero-downtime in cluster mode, a plain restart in fork mode
pm2 describe my-app | grep -i "node.js version"
pm2 save
# if PM2 starts on boot and Node came from nvm, the boot script still points
# to the old binary: regenerate it and run the command it prints
pm2 unstartup
pm2 startupIn CI and Docker
In GitHub Actions, the version is set in actions/setup-node. Specify the line, not an exact patch, and let the action fetch the latest one. If you keep the version in .nvmrc, use node-version-file: .nvmrc instead.
# .github/workflows/build.yml (fragment)
steps:
- uses: actions/checkout@v7
- uses: actions/setup-node@v7
with:
node-version: 24.x
check-latest: true # do not settle for an older 24.x from the runner cache
- run: node -v
- run: npm ci
- run: npm run buildIn Docker, a tag like node:24-alpine moves to the new patch, but your build keeps using the cached image until you pull again:
# Dockerfile: the tag follows the line, but the image only changes when you pull it
FROM node:24-alpine
# rebuild without a stale local layer
docker build --pull -t my-app .How to update Next.js and verify the build
Install the patched version for your major line. If you also use eslint-config-next or @next/* packages, bump them to the same version so they stay in sync:
# Next.js 16
npm install next@16.4.5
# Next.js 15
npm install next@15.5.29
npm ls next # confirm the lockfile now has the patched version
npm run build # production build must pass before you deploy
npm run start # quick smoke test on localhostThe official docs also offer npx next upgrade, which moves you to the latest release; for a security fix, the explicit version above is more predictable. Commit the updated lockfile and make sure CI uses npm ci, otherwise the server may still build with the old version. After deploying, open a few pages that use caching and images, and check the logs for build or runtime errors.
If you are on Node.js 20 or an older Next.js
Node.js 20 reached end of life on April 30, 2026; its last release was v20.20.2. The November release has no 20.x build, and the Node.js project notes that end-of-life versions are always affected when a security release comes out. Node.js 25 is also end-of-life. Your options:
| Target | Status on November 23, 2026 | End of life | Who it suits |
|---|---|---|---|
| Node.js 22 | Maintenance LTS | April 30, 2027 | The smallest jump, but only five months of support left |
| Node.js 24 | Maintenance LTS | April 30, 2028 | Most production apps: well tested, long runway |
| Node.js 26 | Active LTS | April 30, 2029 | New projects and teams that want the longest support |
When you switch major lines, reinstall dependencies (rm -rf node_modules && npm ci) so native modules are rebuilt, update engines and .nvmrc, run tests and check deprecation warnings in the logs. If migrating is impossible right now, nodejs.org lists commercial partners that provide security fixes for end-of-life versions. Starting with Node.js 27 (in alpha since October 2026), the project moves to one major release a year, and every major line becomes LTS.
For Next.js, only 16.x (Active LTS) and 15.x (Maintenance LTS, security releases until January 31, 2027) get fixes. Next.js 14 and older receive nothing. Next.js 16 requires Node.js 20.9 or newer, so the Next upgrade itself does not block the Node one.
How not to miss the next release
- Pre-announcements. Node.js usually publishes the security release page several days ahead, with the affected lines and the highest severity. Next.js announces scheduled releases roughly once a month on its blog, about a week in advance.
- Subscriptions. The nodejs-sec mailing list and the vulnerability RSS feed on nodejs.org. For Next.js, watch the vercel/next.js repository on GitHub with security alerts enabled.
- Automatic checks.
npm auditcovers packages, not the runtime; for Node itself there is the officialis-my-node-vulnerabletool. - Dependabot or Renovate. They open a pull request as soon as a patched version of a package appears.
npm audit --omit=dev # known advisories in production dependencies
npx is-my-node-vulnerable # checks the Node.js runtime itself against the security list# .github/dependabot.yml
version: 2
updates:
- package-ecosystem: "npm"
directory: "/"
schedule:
interval: "weekly"
groups:
nextjs:
patterns: ["next", "eslint-config-next", "@next/*"]Runtime vulnerabilities are only half of the picture: the other half is compromised packages in your dependency tree. We cover that in a separate guide on npm supply chain attacks.
If you run Next.js with the App Router, also check the critical React Server Components bug patched on October 14 in 16.4.1: see CVE-2026-126187 and how to update Next.js.
Frequently asked questions
Which Node.js versions fix the November 2026 vulnerabilities?
v26.13.1, v24.22.3 and v22.23.5, released on November 11, 2026. Anything older on those lines is affected, and Node.js 20 and 25 receive no fix at all because they have reached end of life.
How do I check my Node.js version?
Run node -v in the same shell or environment your app runs in. On a server with PM2, check pm2 describe <app>: the daemon may still be running an older binary than the one your shell sees.
My app sits behind nginx. Do I still need to update?
Yes. If nginx terminates TLS and HTTP/2 and talks to Node over plain HTTP/1.1, most of the HTTP/2 and server-side TLS issues do not reach Node directly, so the risk is lower. But outgoing HTTPS requests (the https.Agent and proxy issues), the zlib crash and anything you expose directly still apply. A patch release is low risk; install it.
Is Node.js 20 still safe to use?
Node.js 20 reached end of life on April 30, 2026, and its last release was v20.20.2. The Node.js project states that end-of-life versions are always affected by security releases, so treat 20 as unpatched and plan a move to 24 or 26.
Which Next.js versions are patched?
Next.js 16.4.5 (Active LTS) and 15.5.29 (Maintenance LTS), released on November 3, 2026. Next.js 14 and older are unsupported and get no security releases.
Does npm audit warn me about Node.js vulnerabilities?
No. npm audit checks packages in your dependency tree, not the Node.js runtime. For the runtime, use npx is-my-node-vulnerable, subscribe to the nodejs-sec mailing list or follow the vulnerability feed on nodejs.org.
Do I need to rebuild after updating Node.js?
Within the same major line (for example 24.21 to 24.22.3), usually not. When you switch major lines, reinstall dependencies with npm ci so native modules are compiled for the new version, then run your build and tests.
