Cve 2026 111497 The Node Js Brotli Bug That Turns Your Servers Fetch Into An Attack Surface
An out-of-bounds write in Node.js's bundled Brotli decoder could allow remote code execution when the server decompresses attacker-controlled Brotli data, either from inbound request bodies or from responses fetched by the server. An attacker could exploit this by hosting a malicious Brotli-compressed response or sending crafted compressed data to a vulnerable service.
Published on systemweakness.com
On 21 October 2026, the Node.js project shipped security releases for every supported line: 22.23.4, 24.22.1 and 26.12.1. They fix ten vulnerabilities.
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely a flaw in the Brotli decoder's bounds checking that allows writing past the end of an output buffer when processing maliciously crafted compressed input.
Impact
An attacker could achieve remote code execution with the permissions of the Node.js process, though no exploitation has been reported as of 22 October 2026.
What the attacker needed
Node.js 22.x, 24.x, or 26.x; Server fetches attacker-controlled URL or decompresses…
The fix
The vulnerability was fixed in Node.js versions 22.23.4, 24.22.1, and 26.12.1; users should upgrade and rebuild containers.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
Brotli is a way to compress data so it takes less space when sent over the internet. Node.js includes a Brotli decoder to unpack such data. A bug in that decoder means that if an attacker sends specially crafted compressed data, the decoder can write beyond the memory it should, which can let the attacker run their own code on the server.
What is Memory corruption?
Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.