Node.js Brotli RCE (CVE-2026-111497)
A flaw in the Brotli decoder bundled with Node.js allows malformed Brotli input to cause an out-of-bounds write during decoding. An attacker could make a Node.js process leak memory or run arbitrary code with the process's permissions.
vercel.com
Published on vercel.com
On October 21, 2026, Node.js released security updates for 22.x, 24.x and 26.x. The most severe issue, CVE-2026-111497, is a high-severity flaw in Node's Brotli decoder.
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
Impact
An attacker could cause process-memory disclosure or command execution in the Node.js process, running with the permissions of that process; Vercel's WAF blocks inbound attempts but does not cover responses fetched from other servers.
What the attacker needed
Application decodes attacker-controlled Brotli data; Node.js 22.x, 24.x or 26.x unpatched
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 compression format, like a zip file, used to shrink data sent over the web. Node.js includes a decoder for it, and that decoder had a bug: specially crafted compressed data could make it write past the end of a memory buffer. That can let an attacker read memory or run their own commands 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.