How to Patch Node.js for the November 2026 Security Release
Node.js 26.13.1, 24.22.3 and 22.23.5 fix sixteen issues, seven rated high. Here is how to find exposed servers, patch them and test the result.
On this page 7 sections
Node.js shipped security releases on November 11, 2026: versions 26.13.1, 24.22.3 and 22.23.5. They fix sixteen issues, and seven are rated high. To patch, check each server with node -v, move to the matching fixed version, rebuild your container images and rerun your HTTPS and HTTP/2 tests. Node.js 20 and older receive no fix.
This guide shows how to patch Node.js for the November 2026 security release without guessing which services are exposed. It is written for developers and engineering leads who run Node.js servers over HTTPS or HTTP/2. Backtrace tests developer tooling against real codebases, and this walkthrough follows the same rule: every step ends with a check you can run.
Which Node.js Versions Include the November 2026 Fixes?
Three builds carry the fixes: Node.js 22.23.5, 24.22.3 and 26.13.1, all released on November 11, 2026. Any older patch version on those lines is still vulnerable. Node.js 20 and earlier have reached end of life, so they get nothing, and the project says end-of-life versions are always affected.
The project's own November 2026 security advisory lists sixteen issues across the three supported lines. It also updates bundled dependencies, including llhttp, undici and sqlite. The table below shows where each line stands.
| Line | Codename | Fixed version | Status |
|---|---|---|---|
| Node.js 26 | Lithium | 26.13.1 | LTS |
| Node.js 24 | Krypton | 24.22.3 | LTS |
| Node.js 22 | Jod | 22.23.5 | LTS |
| Node.js 20 | Iron | None | End of life |
Not every bug reaches every line. Some high-severity issues, such as CVE-2026-123863 and CVE-2026-123874, affect only the 24.x and 26.x lines. The HTTPS heap disclosure and several others reach 22.x as well. Patch all three lines anyway, because the shared bugs are the dangerous ones.
Why Is the HTTPS Heap Disclosure the First Fix to Check?
CVE-2026-123864 is the one to triage first. A zero-length TLS write can re-enter the HTTP parser while it is still reading a request body. The server then copies freed or unrelated heap memory into the request body. An unauthenticated client can read memory that belongs to other connections, including TLS private keys and other users' requests.
The conditions are narrow but common. A handler must call res.flushHeaders() before the request body ends and later call res.end() with a non-empty chunk. Reading the leak also needs any ordinary route that echoes or stores a request body. Cleartext node:http is not affected, so a service that speaks plain HTTP behind a load balancer escapes this particular bug.
The other high-severity issues are mostly denial of service or memory corruption in HTTP/2 and TLS. A default HTTP/2 server can be aborted by an unauthenticated client when a handler responds before the request body has ended. That is typical handler behavior, not an exotic setup. A TLS server that uses SNICallback, OCSPRequest, newSession, resumeSession or server.addContext() can be crashed remotely. Servers that call respondWithFile() or respondWithFD() face a separate use-after-free, CVE-2026-123874, that lets a client corrupt memory.
Severity labels are a starting point, not a verdict. A medium issue in a code path you never use matters less than a high issue in the one you run on every request. Map each advisory to the APIs your services actually call, such as http2, tls or https.Agent, and patch first where the match is closest.
Two medium issues deserve a quick look too. CVE-2026-123871 puts proxy credentials into ERR_PROXY_INVALID_CONFIG error messages. If those messages reached container logs or a crash reporter, treat the proxy password as seen by everyone with log access, and rotate it. CVE-2026-123867 can let a client reach a hostname protected by a stricter mutual TLS policy when the SNI context has a client CA but no server certificate.
How Do You Find Which Node.js Version Each Service Runs?
Run node -v on each host and docker run --rm your-image node -p process.version for each image. Compare the output with 22.23.5, 24.22.3 or 26.13.1. Also read the base image tag in every Dockerfile and the node-version value in CI, because those two often differ from what production actually runs.
Version drift hides in a few predictable places. Check this list for every service:
- The FROM line of each Dockerfile, especially tags that were pinned months ago.
- The node-version input in your CI workflows.
- The engines field in package.json and any .nvmrc file.
- Serverless and platform runtimes, which set the Node.js version in their own config.
- Developer laptops, since a local build can ship a different runtime than CI.
Write the results into a short table with service name, current version and target version. Backtrace's advice is to keep that inventory as a plain text file in the repository, because a file in version control survives a team change and a spreadsheet often does not.
How to Roll Out the Patch With nvm, Docker and CI
Patch in the same order every time: development machines, CI, container images, then production. The steps below assume you are moving to Node.js 26, the newest line, but swap the number for 24 or 22 if you need to stay put for now.
- Install the new build locally with nvm install 26, then switch to it with nvm use 26.
- Set the default with nvm alias default 26 and update your .nvmrc file to match.
- Change the node-version value in your CI workflow. With actions/setup-node, add check-latest: true so the runner fetches the newest patch release instead of a cached older one.
- Change the FROM line in each Dockerfile to the fixed tag, then rebuild with caching off for the first build so you do not reuse a stale layer.
- Deploy to staging, confirm the version with process.version, and promote to production.
Plan the rollback before you start. Keep the previous image tag in your registry, and write down the deploy command that restores it. A patch release rarely needs a rollback, but a rollback you have never tried is not a plan. Roll out to one instance first, watch it for an hour, and only then replace the rest of the fleet.
Container images are where patches go missing. Upgrading Node.js on a build host does nothing for an image that already contains the old runtime. Rebuilds also cost time, so it helps to have layer caching in order first. Our guide on cutting Docker image build time covers that.
Publishing pipelines need one more look. A runner that builds and releases packages should run the fixed Node.js version too, and its credentials setup should still work afterward. Our walkthrough on validating npm trusted publishing is a good companion check.
What Should You Do If You Run Node.js 20 or Older?
Move off it. The official Node.js releases table lists version 20 as end of life, with its last update in March 2026. Every security release since then has skipped it. The November advisory repeats that end-of-life versions are always affected, so each bug that reaches 22.x also reaches 20.
Pick the target by runway, not novelty. HeroDevs, a vendor that sells paid support for end-of-life Node.js, publishes a Node.js end-of-life schedule. It puts Node.js 22 at April 30, 2027, Node.js 24 at April 30, 2028 and Node.js 26 at April 30, 2029. Treat those dates as vendor-compiled and confirm them against the project's schedule before you commit.
The runway argument favors 26 for most teams. A move from 20 to 22 buys less than six months of support, which means a second upgrade project right away. A move from 20 straight to 26 means more breaking changes in one jump, so budget more test time. The same source notes that Node.js 27 will switch to one major release per year, so the pace of forced upgrades is about to slow down.
How Do You Test the Upgrade Before Production?
Run your existing test suite on the fixed version, then replay realistic traffic against a staging HTTPS and HTTP/2 endpoint. Watch for crashes, rising memory, growing file descriptor counts and certificate errors. A patch release should not break application code, so failures most often point to a pinned dependency or a native module.
Keep the staging check short and repeatable. Use this list after every runtime bump:
- Confirm the running version with process.version from inside the deployed container.
- Request a few routes over HTTP/2 with curl --http2 -I and confirm the status codes.
- Exercise any route that echoes or stores a request body, since the HTTPS bug lives there.
- If you use mutual TLS, test one allowed client and one client that should be rejected.
- Watch memory and open file descriptors for a full traffic cycle.
A runtime upgrade is only as safe as the test suite behind it. Our piece on the importance of testing in software delivery explains why. For a language-level example of the same discipline, see our Python 3.15 upgrade checklist.
Conclusion
The November 2026 Node.js security release is a routine patch with an unusually sharp edge. The fixed builds are 22.23.5, 24.22.3 and 26.13.1, and the HTTPS heap disclosure alone justifies doing it this week. Take inventory, rebuild your images, test over HTTPS and HTTP/2, and deploy.
If any service still runs Node.js 20 or older, schedule a real migration now rather than waiting for the next advisory. Backtrace will keep covering runtime releases, and our editors rechecked every version number in this guide against the official advisory before publishing.