Node2Shell: a critical Brotli bug has Node.js, .NET and Python projects patching
Another week, another “2Shell.” A bug in Brotli, Google’s widely used compression library, is now tracked as CVE-2026-111497 and nicknamed Node2Shell. Google rates it critical (CVSS v4 9.2), and it has set off a round of patches across Node.js, Microsoft developer tools and Python packages (SecurityWeek).
What’s going on
- It’s an out-of-bounds write in the Brotli decoder, versions 1.0.3 through 1.2.0. Brotli 1.0.10, 1.1.1 and 1.2.1 carry the fix.
- The Node.js project says crafted input can corrupt memory, crash the process or leak memory, and could let an unauthenticated attacker run code.
- Members of OpenAI Codex Security found it during red-teaming. OpenAI says the root cause was quietly fixed in Brotli’s source back in February, but no release shipped it until now.
- Imperva showed code execution on the official Node.js 24.22.0 image for Linux arm64. It worked some of the time, and Imperva hasn’t released its exploit.
Who patched
- Node.js and the Python packages Brotli 1.2.1 and brotlicffi 1.2.1.0 were patched last week.
- Microsoft followed on Oct 25 with .NET 8.0.33, 9.0.22 and 10.0.14 (plus .NET 11 RC3), Visual Studio 2019, 2022 and 2026, and PowerShell 7.4, 7.5 and 7.6. Microsoft rates exploitation “More Likely.”
- Bun, Envoy and Istio are also updated. A public tracker still lists unpatched projects, including DuckDB, Apache Arrow and p7zip.
How worried to be
No exploitation in the wild has been reported so far. A public proof-of-concept reportedly only works against a deliberately weakened build, and some researchers think the bug is mostly a crash risk. The exposure is any app that feeds untrusted compressed data, like request bodies, fetched responses or files, into an affected decoder.
Update, Oct 26 midday: same bug, more names
You may also see this flaw called HTTP2Shell or Broccoli2Shell. It’s the same CVE-2026-111497. BleepingComputer adds that Python HTTP clients like urllib3, requests, httpx and aiohttp can be exposed when they use a vulnerable Brotli decoder. Patched Node.js versions are 22.23.4, 24.22.1 and 26.12.1. Proof-of-concept code is public, but there are still no reports of attacks in the wild (BleepingComputer).
Can’t patch yet? BleepingComputer’s advice is to turn off Brotli support in Python apps and block incoming Brotli-compressed requests at the proxy or firewall. Updating the system Brotli library alone won’t fix Node.js or apps that bundle their own copy.
Koffee take: if you ship anything on Node, .NET or Python, update today, then restart services and rebuild your containers. Running processes keep the old code until you do.
Filed Oct 26, 2026 ~9 AM CT — Morning pass. Sources: SecurityWeek — Node2Shell: Brotli Flaw Triggers Patching Across Microsoft, Node.js, Python Packages (Oct 26, 2026), citing the Node.js project, Microsoft, OpenAI’s Patch the Planet advisory and Imperva. Updated Oct 26, 2026 ~12:45 PM CT — Midday pass: BleepingComputer — Critical ‘HTTP2Shell’ Brotli vulnerability triggers emergency patches (Oct 26, 2026).