Vulnerabilities · 5h ago
Imperva demonstrated code execution through CVE-2026-111497 in an official Node.js 24.22.0 Linux arm64 build, extending earlier results from a deliberately weakened test build. The test needed several attempts and covered only that setup; Node.js 22.x and 26.x and other architectures were not tested. Node.js released fixes on October 21, and version 24.22.1 rejected the same input. No in-the-wild exploitation had been reported as of October 22.
The malformed Brotli stream reaches a block change that its own structure says cannot occur. Instead of rejecting it, the decoder continues in an invalid state and writes beyond its buffer, corrupting memory and potentially letting crafted input execute code in the Node.js process. Express 5 body parsers can decode Brotli request bodies on routes where they are applied; built-in fetch() handles compressed responses.
For services that pass untrusted Brotli data through those parsers—or consume compressed responses with fetch()—the exposure depends on whether that data reaches the decoder, even if the application expects ordinary JSON. A successful compromise runs with the Node.js process’s privileges; the narrow, intermittent demo establishes possibility, not broad reliability.
4 sources covering this story
Kwetsbaarheid in Google Brotli-decoder
Deze bibliotheek wordt onder meer gebruikt in Node.js.
Researchers Demonstrate Node2Shell RCE Exploit on Node.js Build Using Crafted Brotli Data
Imperva demonstrated code execution via crafted Brotli data on an official Node.js 24.22.0 Linux arm64 image; Node.js has issued fixes.
Node.js Brotli Decoder Bug Could Allow Remote Code Execution in All Supported Versions
Node.js fixes 10 flaws, including a Brotli decoder bug that may allow code execution when apps decompress attacker-controlled data.
Patch Your Node and Eat Your Brotli Or You Won’t Get Dessert
Node2Shell is an RCE in the Brotli decoder bundled with Node.js which Express, Koa, and Fastify setups reach it, update to fix it.
Node.js: risolte molteplici vulnerabilità
Rilasciati aggiornamenti di sicurezza che risolvono 10 vulnerabilità, di cui 4 con gravità “alta”, in Node.js, noto software open source per l’esecuzione di codice Javascript.
Part of the PlainSec briefing for 2026-10-23