Image: cdn.prod.website-files.com · rights & removal
Executive Summary
Facts Only
* CVE-2026-111497 is an out-of-bounds write in the Google Brotli decoder affecting versions 1.0.3 through 1.2.0 across all platforms.
* The vulnerability allows a remote, unauthenticated attacker to send a crafted Brotli-compressed stream to corrupt memory, leak data, crash processes, or execute arbitrary code.
* Node.js is affected through its bundled Brotli library.
* The flaw exists in the `DecodeBlockTypeAndLength()` function concerning block switches within the decoder.
* Versions 1.2.0 and earlier are vulnerable across platforms.
* Python packages, specifically Brotli and brotlicffi versions 1.2.0.x, are vulnerable when used by HTTP clients like requests and httpx.
* Affected Python dependencies include urllib3, requests, httpx with the brotli extra, and aiohttp when Brotli is installed.
* Patches require upgrading to Brotli 1.2.1 or later and brotlicffi 1.2.1.0 or later.
* Specific software requiring updates include Node.js (to versions like 22.23.4), libbrotli, Python packages, curl/libcurl dependencies, Bun, and Envoy.
* Apache’s standard modbrotli does not decode Brotli by default.
Full Take
From the original · Aikido Security Research
TL;DR ⚠️ Brotli is a widely used compression library from Google. On Wednesday, October 21st NodeJS disclosed CVE-2026-111497, dubbed “node2shell,” wherein a Node.js process that decompresses attacker-controlled Brotli data can be made to leak memory or run arbitrary code.Read the full story at aikido.dev
