Languages

How to Patch Node.js for the November 2026 Security Releases

Sixteen fixes landed on November 11 across Node 22, 24 and 26. Here is which ones matter first and how to check your own code.

Tyler Brennan

Runtime & Language Tooling Writer

Published 7 min read
Two brass padlocks securing a graffiti-painted door, a symbol of server security.
On this page 7 sections

Update to Node.js 22.23.5, 24.22.3 or 26.13.1 now. The November 11, 2026 security releases fix 16 issues, and seven are rated high. Several let an unauthenticated client crash a server or read memory over HTTP/2 and TLS. Patch internet-facing services first, run your tests, then roll out in stages.

You need to patch Node.js this week if you run an HTTP/2 server, terminate TLS in Node, or serve files with respondWithFile(). This guide is for backend engineers and platform teams who own those services. It covers which versions fix what, which flaws matter first, and how to check your own code for the risky patterns.

Backtrace read all 16 entries in the official advisory. We sorted them by what a real service has to do to be exposed, because "high severity" alone does not tell you whether your handler code is in the blast radius.

Which Node.js Versions Contain the November 2026 Fixes?

A data center engine room with racks of servers and power equipment.

Three versions carry the fixes: 22.23.5, 24.22.3 and 26.13.1. Each one is a security release for an active line, so all three lines need the update. According to the Node.js project's November 2026 security releases advisory, the highest severity in the batch is high.

The table below shows the target version for each line and how many of the 16 issues affect it.

Which Node.js Versions Contain the November 2026 Fixes?
Release lineFixed inIssues that applyHigh / medium / low
22.x22.23.5114 / 4 / 3
24.x24.22.3167 / 6 / 3
26.x26.13.1167 / 6 / 3

The advisory covers only the 22.x, 24.x and 26.x lines. A service on an older line gets no fix in this batch, so the real remedy is a move to a supported line. The Node.js site also points to commercial support for lines past maintenance through OpenJS Ecosystem Sustainability Program partners.

The release also bumps bundled dependencies. The advisory lists llhttp on all three lines, undici on 24.x and 26.x, and sqlite on 22.x and 24.x. If you vendor or pin any of those yourself, check them separately.

Three of the high issues were reported by researcher Chris Rohlf working with Claude and Anthropic Research. That detail matters for planning. AI-assisted bug hunting is turning up memory-safety flaws in mature code faster than release calendars used to assume.

Which of the 16 Node.js Vulnerabilities Should You Fix First?

A network patch cord plugged into a switch port.

Start with the flaws that an anonymous client can trigger on a default setup. In this batch, those are the HTTP/2 crashes and leaks, the HTTPS memory disclosure and the TLS server crash. Each needs only a normal connection to a server that matches a common code pattern.

The list below groups the seven high-severity issues by the pattern that exposes you.

  • CVE-2026-123864 (HTTPS): a zero-length TLS write re-enters the parser, and the server can copy freed heap memory into a response. It needs a handler that calls res.flushHeaders() before the body ends and then res.end() with a chunk.
  • CVE-2026-123863 (HTTP/2): a stream outlives its session and an assertion kills the process. A default http2 server whose handler responds before the request body ends is enough. Only 24.x and 26.x are affected.
  • CVE-2026-123865 (HTTP/2): a protocol error during shutdown leaves a dangling session. Memory and file descriptors leak, and the socket sits in CLOSE_WAIT.
  • CVE-2026-123866 (HTTP/2): a stream torn down mid-write can send freed response memory to the peer.
  • CVE-2026-123874 (HTTP/2): a use-after-free when a respondWithFile() stream is reset during a pending write. It applies to 24.x and 26.x.
  • CVE-2026-126051 (TLS): a remote client can terminate a TLS server that uses SNICallback, OCSPRequest, newSession, resumeSession or server.addContext(). It applies to 24.x and 26.x.
  • CVE-2026-123872 (TLS 1.2): a client can change the servername during renegotiation and bypass a stricter client-certificate policy on another hostname.

The medium and low issues are narrower. They include a one-byte overflow in session.altsvc(), proxy credentials leaking into ERR_PROXY_INVALID_CONFIG messages, and a certificate validation bypass through https.Agent session reuse. Patch them in the same release. You do not need a separate plan.

Why Do the HTTP/2 Fixes Keep Coming Back?

Two of the high issues are second attempts at older fixes. The advisory calls CVE-2026-123863 a variant of CVE-2024-27983 that the earlier patch missed, and CVE-2026-123865 an incomplete fix for CVE-2026-48937. Teardown paths in HTTP/2 are hard to cover fully, so expect more of them.

Both bugs live in cleanup code, the part that runs when a stream or session ends in an odd order. Tests that send only well-formed requests never reach it. The old fix for CVE-2026-123863 detached streams still tracked in the session. The new bug involves a stream already removed from that set but never detached.

For your own services, add tests that reset streams mid-write, send a protocol error while a session is shutting down, and close connections during a response. Those cases are cheap to write. They exercise the teardown code that keeps failing.

How to Patch Node.js Without Breaking Production

Source code with syntax highlighting open in an editor on a computer screen.

Treat this as a patch-level update, not a major upgrade. The jump is small, but the changes touch HTTP/2 stream lifetimes and TLS resumption. Those are the places where a fix can change behavior under load. Follow these steps in order.

  1. Inventory every place Node runs: base images, CI runners, serverless layers and version-manager files such as .nvmrc.
  2. Rank services by exposure. Anything that accepts HTTP/2 or terminates TLS in Node goes first.
  3. Bump the version to 22.23.5, 24.22.3 or 26.13.1, and rebuild images rather than patching in place.
  4. Run the full test suite, including any HTTP/2 and mTLS integration tests.
  5. Deploy to one canary instance and compare error rates, restarts and memory against the old version.
  6. Roll out to the rest in batches, and keep the previous image tagged for a fast rollback.

Add these cases to your suite before the canary deploy:

  • Reset an HTTP/2 stream while a large response is still writing.
  • Cancel a respondWithFile() download halfway through.
  • Connect to two hostnames with different client-certificate rules, then try to switch the servername mid-session.
  • Send a client hello with no SNI and an OCSP request, then close the socket at once.

The Node.js 26.13.1 release notes list each fix by commit, which helps when you need to explain the change to a reviewer. Teams on 26.x can reuse the process in our guide to upgrading to Node.js 26 before it went LTS. For a wider test plan, see how to test a Node.js major version upgrade before production.

If you cannot patch today, reduce exposure first. A reverse proxy that terminates TLS and HTTP/2 in front of Node can take much of this traffic off the vulnerable code. Treat that as a stopgap, since it does not remove the bugs.

How Do You Check Whether Your Code Reaches the Vulnerable Paths?

Search your repositories for the specific calls the advisory names. A match does not prove you are exploitable, but a clean result on most of these patterns tells you which fixes are urgent and which are routine. Run the commands below from each service root.

text
grep -rnE "flushHeaders\(" src/
grep -rnE "respondWithFile|respondWithFD" src/
grep -rnE "\.altsvc\(" src/
grep -rnE "SNICallback|OCSPRequest|newSession|resumeSession|addContext" src/
node --version

Read each hit with the advisory open. A flushHeaders() call followed later by res.end(chunk) is the HTTPS leak pattern. An altsvc() call fed by a request's :authority header is the overflow pattern. An addContext() call with a CA but no certificate is the mTLS bypass pattern.

Also check where TLS ends. If a load balancer or CDN terminates TLS and talks plain HTTP to Node, the HTTPS-specific issues matter less for that service. The HTTP/2 issues still apply wherever Node speaks HTTP/2 directly.

What Should You Watch After You Patch Node.js?

A dark monitoring dashboard showing graphs and data analytics.

Watch process restarts, open file descriptors, sockets stuck in CLOSE_WAIT and resident memory for at least a full traffic cycle. Those four signals map to the crash and leak bugs. If they were elevated before the patch and fall afterward, the fix is doing its job.

Good logs make this check quick. Our walkthrough on setting up structured logging in production shows how to tag requests so a crash can be traced to a route. A short post-deploy check helps too, and smoke tests that catch broken deployments can cover your HTTP/2 and TLS endpoints.

Keep one more habit. After this release, any service pinned to an older minor will keep the flaws. Add the three fixed versions to your dependency tracker so the next patch release does not wait for a person to notice it.

Patch Node.js This Week, Then Fix the Process

The practical answer is simple. Move every service to 22.23.5, 24.22.3 or 26.13.1, starting with anything that serves HTTP/2 or terminates TLS. Use the grep checks to rank the rest.

The longer lesson is about cadence. Sixteen fixes in one release means a slow patch loop carries real risk. Backtrace will keep covering runtime releases with the failure you will see first and the command that finds it. Your next step is to open your inventory and write down which services still run an older Node build.

Which Node.js versions fix the November 2026 vulnerabilities?
Node.js 22.23.5, 24.22.3 and 26.13.1 contain the fixes, one for each active release line. The November 11, 2026 batch covers 16 issues. Seven are high severity, six are medium and three are low. Every active line needs the update, so a service on any older build stays exposed to the flaws.
Is my Node.js app affected if TLS ends at a load balancer?
The HTTPS memory disclosure needs Node to terminate TLS, so a load balancer that decrypts traffic lowers that risk for your service. It does not remove the HTTP/2 issues. Any Node process that speaks HTTP/2 directly to clients is still exposed, so patch it no matter where TLS ends.
Do I need to rebuild containers to patch Node.js?
Yes, in most setups. Update the Node version in your Dockerfile or base image tag, rebuild, and redeploy rather than patching a running container. That keeps images reproducible and gives you a clean rollback target. Also check CI runners and version-manager files, since they often pin a different Node build.
How can I tell if my code uses the risky Node.js patterns?
Search your source for the calls named in the advisory: flushHeaders, respondWithFile, respondWithFD, altsvc, SNICallback, OCSPRequest, newSession, resumeSession and addContext. A match does not prove exposure, but it shows which fixes are urgent. Read each hit against the advisory text to confirm the exact conditions.

Written by

Tyler Brennan

Runtime & Language Tooling Writer

11+ years experience

Tyler spent nine years as a full-stack engineer at a mid-sized e-commerce company, where he owned the Node.js services and the build pipeline behind them. He ran four major runtime upgrades there and still keeps the habit of reading changelogs for what gets removed before what gets added. At Backtrace he covers language releases, package managers and the local tooling that decides how fast a team moves. His rule is simple: an upgrade guide is only useful if it lists the failure you will see first and the command that finds it.

Credentials

  • B.S., Computer Science, University of Wisconsin-Madison
  • Former Senior Full-Stack Engineer, e-commerce platform (2014-2023)
  • OpenJS Foundation Node.js Application Developer certification