Node.js patches 10 vulnerabilities, including a Brotli flaw Codex found
Node.js patches 10 flaws, including Brotli bug CVE-2026-111497. Update to 26.12.1, 24.22.1 or 22.23.4. Node.js 20 gets no fix, and the public PoC only crashes.

- 1.Which Node.js version to install after the security release
- 2.The Brotli flaw CVE-2026-111497 and what the advisory says
- 3.The GitHub proof of concept shows a denial of service, not an RCE
- 4.The other nine vulnerabilities fixed
- 5.Updated dependencies and the eMudhra certificates
- 6.How to update Node.js step by step
- 7.Frequently asked questions
- 8.Rate this article
- 9.Related Articles
- 10.Looking for a Software Engineer?
You are reading an earlier step of the Node2Shell e Brotli saga. The current picture is in the latest article.
Go to the latest article →html2shell non esiste, la falla vera è in Brotli (CVE-2026-111497)On October 21, 2026, Node.js shipped a security release that fixes 10 vulnerabilities, four of them rated high severity. The worst is CVE-2026-111497, an out-of-bounds write in the Brotli decoder that the project's advisory says could allow remote code execution. The fix is to update to Node.js 26.12.1, 24.22.1 or 22.23.4.
November 11 update, Node.js patched another 16 vulnerabilities, five found with Claude, in versions 26.13.1, 24.22.3 and 22.23.5.
Update of October 28, 2026
- On October 27, CISA added CVE-2026-111497 to its Known Exploited Vulnerabilities (KEV) catalog, citing evidence of active exploitation. The catalog entry calls it Google Brotli Unchecked Return Value Vulnerability and sets a November 10, 2026 deadline for US federal agencies; use in ransomware campaigns is listed as Unknown.
- CISA does not say who is exploiting it or on which software. According to Help Net Security, the company ELLIO recorded exploit traffic on its sensors from an address already seen in PHP2Shell attacks and attributes it to an operator focused on mass exploitation. The entry points to the Brotli 1.2.1 release and notes that the flaw sits in an open-source component used by different products, so it applies to every program that bundles a copy. For Node.js the fixed versions remain 22.23.4, 24.22.1 and 26.12.1.
Update of October 27, 2026
- On October 26 the PHP team released updated Windows builds (8.5.12-1, 8.4.27-1, 8.3.36-1 and 8.2.35-1) with Brotli 1.2.1, which fixes CVE-2026-111497. The decoder can be reached through the cURL extension when automatic HTTP response decompression is enabled: it is off by default, but applications and client libraries can turn it on. The -1 suffix only marks a package rebuild with updated dependencies: the PHP sources and runtime versions do not change. The announcement covers Windows builds only.
Update of October 24, 2026
- CVE-2026-111497 also affects Python. The Brotli (up to 1.2.0) and brotlicffi (up to 1.2.0.2) packages on PyPI include the same decoder and are fixed in versions 1.2.1 and 1.2.1.0. What to check and how to upgrade is in the guide to Brotli in Python.
- For other software, Envoy published advisory GHSA-3wvj-j6qm-62mr (critical, CVSS 4.0 score of 9.2) with fixes in versions 1.40.0, 1.39.3, 1.38.6 and 1.37.8, Istio released 1.29.9, 1.30.6 and 1.31.2, and Bun released 1.4.4.
October 23 update, Imperva demonstrated remote code execution on Node.js 24.22.0 with Node2Shell, the Brotli flaw found by Codex Security.
Node.js is the runtime that lets JavaScript run outside the browser, which means inside servers, APIs, command-line tools and desktop apps. The official repository has 122,557 stars on GitHub (as of October 22, 2026), and plenty of sites and services run at least a piece of it, often without the people operating them realizing. Brotli is the compression algorithm Google developed to shrink HTML, CSS, JavaScript and API responses before they go over the wire. Node.js bundles it in the zlib module.
Which Node.js version to install after the security release
The release covers the three lines that are still supported. Anyone running an application needs to move it to the fixed version of its own line, while a line that is already out of support gets no patch at all.
| Node.js line | Fixed version | Notes |
|---|---|---|
| 26.x | 26.12.1 | fixes all 10 flaws |
| 24.x (LTS) | 24.22.1 | long-term support branch |
| 22.x | 22.23.4 | includes the Brotli fix |
The figures come from the official Node.js advisory. Some flaws affect only line 26, or only 26 and 24, which is why the three releases don't fix the same number of CVEs. The notes for release 24.22.1 appeared on GitHub at 10:38 UTC on October 21.
The Brotli flaw CVE-2026-111497 and what the advisory says
A CVE (Common Vulnerabilities and Exposures) is the number under which a vulnerability is cataloged internationally. CVE-2026-111497 affects the Brotli decoder bundled with Node.js, the component that decompresses data. The advisory calls it an out-of-bounds write (the program writes to a region of memory that isn't its own) that allows remote code execution (RCE), with high severity and impact on all three supported lines.
It was found by OpenAI Codex Security, the tool OpenAI uses to hunt for vulnerabilities in code, according to the advisory credits, which name Khai Tran and Sylvie Mayer. The fix is signed by Matteo Collina and Antoine du Hamel, while the upstream change in the Brotli library, a cherry-pick (copying a single commit from one branch to another) of commit 0ed4268a4401abcb44720963, comes from Evgenii Kliuchnikov. For developers, the patch also exposes a new error code, BROTLI_DECODER_ERROR_FORMAT_BLOCK_SWITCH. On the fixed versions, a crafted Brotli stream is rejected with that error instead of corrupting memory.
The risk doesn't extend to every site running on Node.js. The application, or a library it uses, has to decompress Brotli data supplied by a stranger, such as the body of an incoming request. Anyone who never calls the Brotli functions in zlib on outside traffic has far lower exposure, though updating is still advised.
The GitHub proof of concept shows a denial of service, not an RCE
Less than a day after the release, a repository by dimasma0305 appeared on GitHub, created on October 22 and sitting at 3 stars, collecting a proof of concept (PoC) for CVE-2026-111497. The README is blunt about what it proves. The verified impact is a denial of service (DoS, the service stops responding), and the repository says it does not claim a working RCE through the public interface.
The lab uses a small network service that decompresses data with zlib.createBrotliDecompress(), the standard asynchronous Node.js API, and feeds it two Brotli blocks crafted by the author. On vulnerable builds the service goes down. On the fixed versions it answers with the error and keeps running.
- Vulnerable in the repository's test: Node.js 20.19.5, 22.23.3, 24.9.0, 24.22.0 and 26.12.0.
- Fixed, used as controls: 22.23.4, 24.22.1 and 26.12.1.
The line about version 20 matters more than the rest. Node.js 20 has reached end of life (EOL) and doesn't appear among the fixed versions in the advisory. Anyone still running it in production has no patch to install and has to move to a supported line, because a security release always hits EOL versions too, as the project itself points out while urging users to follow the official release schedule.
Limitations to keep in mind
- The description of remote code execution is the Node.js advisory's, and no third party has yet shown a working RCE. The only public code so far proves a denial of service, so the damage demonstrated today is an application that stops, not a server taken over by a stranger.
- The advisory doesn't describe the conditions for exploitation or name any workaround short of updating. Anyone who can't update right away has no official measure to cut the risk, and it's still unclear whether other Node.js functions that decompress Brotli are reachable too.
- The GitHub proof comes from a single researcher, with 3 stars and a lab built specifically to show the crash. It says the flaw is real on five builds, but not how easy it would be to hit a production application with a different configuration.
The other nine vulnerabilities fixed
Brotli steals the spotlight, but the release closes nine others, and three are as severe as it is. Two of the three touch TLS (the protocol that encrypts HTTPS connections), which means a certificate could pass as valid for an address it didn't belong to.
- CVE-2026-105482 (high). The
dns.resolvefunction truncates names containing a NUL character, so a DNS request could point at a different name than the one the code thought it was resolving. Affects all three lines. - CVE-2026-105483 (high). TLS hostname verification bypass when the IP address is written with full-width digits. Affects only lines 26 and 24.
- CVE-2026-106069 (high). TLS hostname bypass when the host is parsed permissively as an IP address. All three lines.
- CVE-2026-105481 (medium). A keep-alive socket processes a response written before the request was sent.
- CVE-2026-106072 (medium). Incorrect certificate validation for non-canonical IPv4 hostnames, where the DNS names declared in the certificate (SAN) authenticate endpoints identified by an IP.
- CVE-2026-106074 (medium). The entropy caches of
crypto.randomUUID()andrandomInt()end up in startup snapshots and in single executable applications (SEA), so every process repeats the same random values. - CVE-2026-106070 (low).
ZipFilereturns attacker-controlled bytes after a failed ZIP header validation. Line 26 only. - CVE-2026-106071 and CVE-2026-106073 (low). Two shortcuts in the Permission Model, the system Node.js uses to restrict filesystem access, an over-grant through wildcards and a bypass with
fs.realpathSync.
The sneakiest in practice may well be CVE-2026-106074. An application packaged as a single executable that generates identifiers or tokens with randomUUID() got the same sequence on every start, a problem nobody notices until someone compares two instances.
Updated dependencies and the eMudhra certificates
Besides the ten flaws, the three releases bump c-ares (the library for asynchronous DNS requests) to 1.34.9 and Undici (the Node.js HTTP client) to 7.30.1. OpenSSL moves to 3.5.9 on lines 24 and 22, SQLite is updated on line 22, and the root certificate list now follows NSS 3.131.1.
The advisory also carries an entry on certificates, the compromise of eMudhra's intermediates. It's the same Indian authority whose eight blocked certificates we covered in Go 1.27.3, along with the test to check whether your browser blocks them. Among the Node.js commits there is also a rule that rejects certificate chains containing blacklisted public keys. For anyone running services that connect to sites with certificates issued by that authority, the update counts double.
How to update Node.js step by step
The procedure is the usual one, but it pays to follow it in order, because the Brotli flaw can hide in a Docker image nobody has rebuilt in months.
- Check the version with
node -von every server and in every build pipeline. - Install 26.12.1, 24.22.1 or 22.23.4, depending on the line you use. If you're on 20 or an older line, plan the move to a supported one.
- Rebuild container images from a base image that's already updated, because a
docker restartdoesn't change the Node.js inside. - Restart the services that were already running, since a live process keeps using the old runtime until it's stopped.
- Test the functions the release touched, meaning TLS connections, DNS lookups, compressed data handling and file access if you use the Permission Model.
If you work with the code, search your projects for calls to zlib.createBrotliDecompress and zlib.brotliDecompress to see which services decompress external data and need updating first. The same weeks in which we followed the two PHP RCEs and the guide for those who can't update PHP teach an identical method, which is knowing what actually runs on your servers before the patch lands. For anyone who wants to start from the basics, we recommend the guide to what PHP is, which explains why server-side languages make the front page so often.
A Node.js application isn't safe just because its runtime is up to date. Libraries downloaded from npm remain an attack channel of their own, as the fake dotenv packages from Darkroom and the OVHcloud CLI with swapped binaries showed.
Frequently asked questions
1. Do I need to update Node.js even if I don't use Brotli?
Yes, you should. Of the ten flaws, Brotli is only one, and the others touch DNS resolution, TLS certificate verification, random value generation and the Permission Model. An application that never decompresses Brotli can still open HTTPS connections or resolve names, so it falls under at least one of the other nine.
2. Is Node.js 20 affected by CVE-2026-111497?
Yes, and it has no fixed version. In the public GitHub test, Node.js 20.19.5 crashes like the other vulnerable builds, and the advisory lists no release 20 with the patch. The line is at end of life, so the only fix is to migrate to a supported line.
3. Is the Brotli flaw already being exploited by attackers?
The advisory shows no sign of attacks in the wild. There is, however, public proof-of-concept code that crashes a vulnerable service, and a public demonstration shortens the time a bad actor needs to build an attack. Updating early costs little, and waiting costs more.
4. How do I know whether my service decompresses Brotli data from outside sources?
Search the code for the Brotli calls in the zlib module. Check the libraries the project uses to handle requests and responses too, because decompression can happen inside a dependency. If you're not sure, treat the service as exposed and update the runtime.
A memory flaw in the decoder, found by an AI, fixed within hours and put to the test almost at once by an outside researcher. The crash is demonstrated, the RCE remains the advisory's hypothesis, and for an administrator the distinction changes little. First you restart on the right version, then you debate what an attacker could have done.
All steps in the path
- Node.js patches 10 vulnerabilities, including a Brotli flaw Codex found (you are here)
- Node2Shell, Node.js RCE vulnerability proven on 24.22.0
- Brotli Python vulnerability CVE-2026-111497, what to check and fix
- html2shell non esiste, la falla vera è in Brotli (CVE-2026-111497)
Enjoyed the article?
Related Articles

Node2Shell, Node.js RCE vulnerability proven on 24.22.0

html2shell does not exist, the real flaw is in Brotli (CVE-2026-111497)

Brotli Python vulnerability CVE-2026-111497, what to check and fix

Node.js patches 16 vulnerabilities, five found with Claude

Best AI Tools for Code Security Audits, Compared

OpenAI Daybreak Expands with GPT-5.5-Cyber and Codex Security
Stay updated
🌐 3k readers worldwide, every SaturdaySubscribe to the newsletter to receive new articles directly in your inbox.
