Node.js Vulnerabilities: Latest CVEs, Affected Versions and Fixes

ObaidaAlsulaiman

Obaida Al-Sulaiman, Information Security Manager at ScanTitan,

Magnifying glass finding a bug in a server application, illustrating Node.js vulnerabilities
Table of Contents

Node.js vulnerabilities are security flaws in the JavaScript runtime or in the packages your application loads, and the two need different fixes. In October and November 2026 the Node.js project fixed 25 flaws in the runtime, including Node2Shell, which attackers are exploiting. This page shows which versions are affected, what to update to, how to check your own application and how to fix it, using the official release posts checked on 29 November 2026.

Quick answerUpdate to Node.js 26.13.1, 24.22.3 or 22.23.5, or a later release on the same line, then restart your application and rebuild its containers. Node.js 25, 20 and older no longer get fixes. Checked 29 November 2026.

What Are Node.js Vulnerabilities?

Node.js vulnerabilities are weaknesses that let an attacker crash, read from or take control of a server application built on Node.js. They come from two places. The runtime itself includes its own code and bundled libraries such as OpenSSL, zlib and undici, and the Node.js project fixes those in new releases. Your application also loads npm packages, often hundreds of them, and each maintainer fixes their own. A current runtime with an old package is still exposed, and fresh packages on an old runtime are too. Severity depends on how your code uses the affected part. A flaw in HTTP/2 matters to a server that speaks HTTP/2, so read the conditions before you panic, then update anyway.

Latest Node.js Vulnerabilities

The latest Node.js vulnerabilities are the 16 flaws listed in the security releases of 11 November 2026, which follow the 10 listed on 21 October, with one flaw named in both. The November set is mostly about network handling. Seven are rated high by the project, including several ways for a remote client to crash or leak memory from an HTTP/2 server, a flaw that can copy server memory into an HTTPS request body, and a client certificate bypass through TLS 1.2 renegotiation. The fixed releases are Node.js 26.13.1, 24.22.3 and 22.23.5. If you updated only for October, you are still missing the November fixes. Check the Node.js vulnerability blog for anything published after this page.

What Is Node2Shell (CVE-2026-111497)?

Node2Shell is CVE-2026-111497, a memory corruption flaw in the Brotli decoder, the code that unpacks Brotli compressed data, which Node.js bundles. Malformed compressed input can write past the end of an internal buffer. According to Node.js, that can end in a crash, disclosure of process memory or remote code execution. NVD scores the flaw 9.8 out of 10, while the Node.js project rates it high. NVD describes it as a flaw in Google Brotli versions 1.0.3 through 1.2.0, so other software that bundles the library may need updates too. Node.js fixed it in releases 22.23.4, 24.22.1 and 26.12.1, and the later November releases are the ones to install today.

Is Your App Affected by Node2Shell?

Your app is affected by Node2Shell if it runs an unfixed Node.js release and decompresses Brotli data that an attacker can influence through the zlib module. That includes your own calls to the Brotli functions, and may include libraries or frameworks that decompress request bodies or downloaded responses for you, so search your dependencies as well as your code. The Node.js project says versions past end of life are always affected when a security release occurs, so treat Node 20 and older as exposed. If you cannot upgrade today, stop decompressing untrusted Brotli input as a stopgap, for example by rejecting Brotli encoded requests at your proxy. A stopgap is not a fix, so schedule the update.

Is Node2Shell Being Exploited?

Yes, Node2Shell is being exploited, according to CISA, which added CVE-2026-111497 to its Known Exploited Vulnerabilities catalog on 27 October 2026 with a deadline of 10 November for federal agencies. It was the only one of the 25 October and November Node.js flaws in the catalog version of 27 November. A listing means there is evidence of real attacks, not that every server can be taken over, because the result depends on how an application handles compressed data. If your server ran an unfixed release while accepting Brotli input, update first, then review logs for unexplained crashes and unexpected child processes, and rotate secrets that the process could read if you find signs of misuse.

Node.js CVE List: October and November 2026

The Node.js CVE list for October and November 2026 holds 25 flaws: 11 rated high, 9 medium and 5 low by the Node.js project. The last column shows the release lines named in the project’s posts. CVE-2026-106071 appears in both releases, first for Node 26 alone and then for all three supported lines, so it is shown once. Ratings are the project’s own and can differ from NVD scores, as Node2Shell shows. The releases also updated bundled dependencies such as llhttp, undici, SQLite, c-ares and OpenSSL on some lines, which this table does not list. Open the CVE record for the exact conditions before you decide that a flaw cannot affect you.

CVE Flaw Severity Released Lines
CVE-2026-111497 Node2Shell: Brotli decoder out of bounds write High 21 Oct 22, 24, 26
CVE-2026-123863 HTTP/2 client can abort the server High 11 Nov 24, 26
CVE-2026-123864 HTTPS server can leak memory into a request body High 11 Nov 22, 24, 26
CVE-2026-123865 HTTP/2 sessions leak memory and file handles High 11 Nov 22, 24, 26
CVE-2026-123866 HTTP/2 can send freed response memory High 11 Nov 22, 24, 26
CVE-2026-123872 Client certificate bypass through TLS 1.2 renegotiation High 11 Nov 22, 24, 26
CVE-2026-123874 HTTP/2 memory corruption when serving files High 11 Nov 24, 26
CVE-2026-126051 TLS server crash through deferred callbacks High 11 Nov 24, 26
CVE-2026-105482 DNS lookups cut names at a null character High 21 Oct 22, 24, 26
CVE-2026-105483 TLS hostname bypass with fullwidth digit IP addresses High 21 Oct 24, 26
CVE-2026-106069 TLS hostname bypass with loosely written IP addresses High 21 Oct 22, 24, 26
CVE-2026-123828 HTTP/2 heap overflow in Alt Svc handling Medium 11 Nov 24, 26
CVE-2026-123867 Per host client certificate bypass Medium 11 Nov 22, 24, 26
CVE-2026-123868 HTTP/2 memory exhaustion Medium 11 Nov 24, 26
CVE-2026-123871 Proxy credentials exposed in error messages Medium 11 Nov 22, 24, 26
CVE-2026-123875 HTTP/2 crash when a file download is cancelled Medium 11 Nov 22, 24, 26
CVE-2026-123877 Certificate check bypass through TLS session reuse Medium 11 Nov 22, 24, 26
CVE-2026-105481 HTTP client accepts a response sent before its request Medium 21 Oct 22, 24, 26
CVE-2026-106072 Certificate check bypass for unusual IPv4 spellings Medium 21 Oct 22, 24, 26
CVE-2026-106074 Repeated random values in startup snapshots Medium 21 Oct 22, 24, 26
CVE-2026-123829 Recursive file watching reveals denied file names Low 11 Nov 22, 24, 26
CVE-2026-123862 zlib crash when a stream is destroyed Low 11 Nov 22, 24, 26
CVE-2026-106070 ZipFile returns wrong bytes after failed validation Low 21 Oct 26
CVE-2026-106071 Permission model grants extra file access Low 21 Oct and 11 Nov 22, 24, 26
CVE-2026-106073 Permission model bypass in realpathSync Low 21 Oct 22, 24, 26

Node.js Vulnerabilities by Version

Node.js vulnerabilities by version come down to your release line and patch number. Of the 25 flaws, 25 affect Node 26, 24 affect Node 24 and 18 affect Node 22. Anything older than the latest security release on your line is missing at least one fix. Lines past end of life get no fixes at all, and the project warns that they stay exposed. Node 25 ended on 1 June 2026, Node 20 on 30 April 2026 and Node 18 on 30 April 2025. If you run one of those, plan a move to Node 24 or 26 and test your application on the new line first. Dates come from the official release schedule.

Release line Status on 29 November 2026 Update to Support ends
26 Active long term support 26.13.1 or later 30 April 2029
25 End of life Move to a supported line 1 June 2026
24 Maintenance long term support 24.22.3 or later 30 April 2028
22 Maintenance long term support 22.23.5 or later 30 April 2027
20 End of life Move to a supported line 30 April 2026
18 and older End of life Move to a supported line 30 April 2025 or earlier
Fixed Node.js releases 26.13.1, 24.22.3 and 22.23.5, with version 20 and older receiving no fixes

How Do You Check Whether Your Node.js App Is Vulnerable?

You check whether your Node.js app is vulnerable by comparing the version that actually runs with the fixed releases, then auditing the packages it loads.

  1. Check the runtime version on every server and in every container with node -v.
  2. Confirm the bundled libraries with node -p process.versions, which lists Brotli, OpenSSL and undici versions.
  3. Compare your version with the table above, and mark any end of life line.
  4. Audit your packages by running npm audit in the project folder.
  5. Trace a reported package to the dependency that pulls it in with npm ls package-name.
  6. Search your code and dependencies for Brotli decompression, HTTP/2 servers and per host client certificates, since several flaws depend on them.
  7. Test your public address from outside, and record which services run on which version.

Remember that npm audit reads your package tree and does not tell you that the Node.js runtime is old. Build machines and scheduled jobs often run a different version from your web servers, so check them too. For the browser side, our guide on how to scan JavaScript for vulnerabilities covers the libraries your pages load.

How Do You Fix Node.js Vulnerabilities?

You fix Node.js vulnerabilities by updating the runtime first, then the affected packages, and restarting everything that was running the old code.

  1. Update to 26.13.1, 24.22.3, 22.23.5 or a later release, using your package manager, version manager or the official installer.
  2. Rebuild container images from an updated base image and redeploy them.
  3. Restart every Node.js process, because a running process keeps the old code in memory.
  4. Apply package fixes with npm audit fix, which stays within your allowed version ranges.
  5. Review any remaining findings by hand, and upgrade across major versions only after testing.
  6. Verify with node -v inside the running environment and rerun the audit.
  7. Schedule updates and watch the Node.js security announcements.

The force option of npm audit fix can install new major versions that break your application, so use it only with tests in place. Some packages have no fix yet. Decide whether the affected code runs in production before you accept that risk. This short video from Microsoft Developer shows how npm audit and npm audit fix work.

Video: “How to manage Node.js vulnerabilities” by Microsoft Developer, about 2 minutes, October 2020. It covers packages, not the runtime releases above.
Two Node.js fixes: install a new runtime release and audit the packages

What Is the Difference Between Node.js and npm Package Vulnerabilities?

The difference between Node.js and npm package vulnerabilities is who ships the broken code and how you fix it. A runtime flaw sits in Node.js or a library bundled with it, appears in the project’s security releases and is fixed by installing a new Node.js version. A package flaw sits in a dependency you installed, appears in advisory databases that npm audit reads and is fixed by changing your package versions. Malicious packages are a third problem: someone publishes harmful code on purpose, and an audit may not know about it yet. Review new dependencies, commit your lock file and limit what install scripts can reach. Our software supply chain attack statistics show how large that risk has become.

Node.js Vulnerabilities FAQ

Is Node 18 vulnerable?

Yes, Node 18 is vulnerable. It reached end of life on 30 April 2025, so it received none of the 2026 October and November fixes from the project. Move to a supported line, or confirm what your vendor has patched.

Is Node 20 vulnerable?

Yes, Node 20 is vulnerable to flaws fixed after it reached end of life on 30 April 2026. The project releases no fixes for it, so upgrade to Node 24 or 26 after testing.

Is Node.js safe now?

Yes, Node.js is reasonably safe when you run the latest security release of a supported line and keep your packages current. No runtime is free of future flaws, so keep updating.

What is the latest secure version of Node.js?

The latest secure versions on 29 November 2026 are Node.js 26.13.1, 24.22.3 and 22.23.5. Check the project’s vulnerability blog for newer releases before you deploy.

Does npm audit check Node.js itself?

No, npm audit does not check the Node.js runtime. It reports known flaws in your installed packages. Check the runtime with node -v against the current security releases.

Do these flaws affect front end projects?

Yes, these flaws can affect front end projects that use Node.js for build tools, test runners or development servers. Update developer machines and build pipelines as well as production servers.

Sources. Node.js, 11 November 2026 security releases, 21 October 2026 security releases, release schedule and end of life policy; NIST, CVE-2026-111497; CISA, Known Exploited Vulnerabilities catalog (version 2026.11.27).

Related reading: what a CVE is, scanning JavaScript for vulnerabilities and software supply chain attack statistics. To see which of your public services run outdated software, try our network vulnerability scanner.

o

Information Security Manager · Dubai, UAE · 12+ years InfoSec experience

Obaida specialises in web application security, vulnerability management, and external attack surface reduction for SMB and mid-market organisations. All ScanTitan content is reviewed against live scan findings before publication.

Share :

Facebook
LinkedIn

Continue reading