Brotli CVE-2026-111497: one library, many runtimes
On 27 October 2026, CISA added CVE-2026-111497, an out-of-bounds write in the Brotli decoder, to KEV, with a federal deadline of 10 November. The flaw is in Google’s Brotli library (fixes in 1.0.10, 1.1.1 and 1.2.1) and reaches applications through the runtimes that include it: Node.js, .NET and PHP on Windows have already published fixes. Researchers named it “Node2Shell”, after the first runtime for which code execution was demonstrated.
What makes it an inventory problem, not just a patch: the library does not appear in your application’s dependency list. It is compiled into the Node.js binary, the .NET runtime or the PHP build, so an npm or NuGet package scanner may not see it. Below we separate what vendors confirm from what researchers report and what remains contradictory.
What is confirmed
CISA included CVE-2026-111497 in KEV on 27 October, describing an unchecked return value in Google Brotli through which a remote, unauthenticated attacker can corrupt decoder memory, disclose memory contents, cause denial of service or, potentially, execute code with a crafted Brotli stream. The deadline is 10 November; we checked the KEV feed directly. The Brotli v1.2.1 release notes report a security fix for an out-of-bounds write that allows remote code execution.
Node.js described, in its 21 October security release, how malformed input can write past an internal eight-byte buffer: an invalid block was treated as a temporary need for more data rather than a permanent format error, and the decoder kept appending bytes. The impact, as Node.js writes it, is corruption of process memory, with a crash, memory disclosure or code execution, for applications that decompress attacker-supplied Brotli data with node:zlib. Node.js rates it High; Google, as CNA, scores it 9.2 on CVSS 4.0, according to HeroDevs.
Which runtimes have fixes
- ▸Upstream Brotli: 1.0.10, 1.1.1 and 1.2.1 (affected are 1.0.3–1.0.9, 1.1.0 and 1.2.0, according to HKCERT and HeroDevs).
- ▸Node.js: 22.23.4, 24.22.1 and 26.12.1, released on 21 October; the 22.x, 24.x and 26.x lines are affected. End-of-life lines are, per Node.js, always affected at a security release and receive no fixes.
- ▸.NET: 8.0.33, 9.0.22 and 10.0.14, plus .NET 11 RC3, in the out-of-band updates of 25 October. Exposed are applications that process Brotli data through ASP.NET Core request decompression, HttpClient automatic response decompression or the System.IO.Compression Brotli APIs; the two decompressions are not enabled by default, and .NET Framework is not affected. Self-contained applications must be rebuilt.
- ▸PHP on Windows: updated builds 8.5.12-1, 8.4.27-1, 8.3.36-1 and 8.2.35-1, published on 26 October. The announcement says the vulnerable decoder is reachable through the cURL extension with automatic response decompression, which is off by default in cURL but can be enabled by applications and libraries.
- ▸Other vendors: HKCERT lists a Palo Alto Networks advisory for the same CVE, which we did not read.
Exploitation and where sources differ
CISA put it in KEV on evidence of active exploitation. Help Net Security (27 October) cites ELLIO, which says its sensors recorded exploit traffic, from a source the firm links to PHP2Shell exploits and to scans of VPNs and Kubernetes clusters. The Hacker News wrote on 22–23 October that there was no exploitation in the wild, and Imperva demonstrated code execution on the official Node.js 24.22.0 Linux arm64 image, with no special build, but not on every attempt. Imperva did not test other architectures, nor the 22.x and 26.x lines; version 24.22.1 rejected the same input.
The first public exploit achieved code execution only on a deliberately weakened build; on a standard build its author reported a crash and a limited memory read. We found no second independent source for the ELLIO traffic and do not reproduce the IP address. HeroDevs, which sells extended support, writes that end-of-life Node.js lines (25.x back to 12.x) still contain the vulnerable logic; that is their own code analysis and carries a commercial interest, not a Node.js statement.
Help Net Security also notes that the fix was committed to the Brotli repository as early as 27 February 2026, without a release or advisory, so it sat publicly visible for about eight months. We could not verify that detail in the repository.
How to tell whether you are exposed
- ▸Inventory runtimes, not just packages: the Node.js, .NET and PHP version on every host and in every container image. Include binaries that embed a Node runtime (standalone applications), which package inventories may miss, according to Imperva.
- ▸For each application, ask whether it accepts attacker-controlled Brotli data: decompressed request bodies (Express 5 with body-parser 2.x was reproduced by Imperva), responses fetched through fetch() and decompressed automatically, or node:zlib, ASP.NET Core or HttpClient APIs configured with decompression.
- ▸On PHP/Windows, check whether code or HTTP libraries enable automatic decompression in the cURL extension.
- ▸Installing an npm package named “brotli” does not fix the flaw, according to HeroDevs: the vulnerable library is the one in the runtime.
- ▸The ecosystem is wider than the three runtimes: Tenable, cited by Help Net Security, lists Bun, Envoy Proxy, Istio, Python HTTP clients, FFmpeg, Apache Arrow and ClickHouse as potentially exposed when they decompress attacker-controlled data. A search also showed Python clients that decode Brotli automatically when a backend is installed; we did not verify that directly. Check each vendor’s advisory.
What to do
- ▸Update the runtimes to the versions above, starting with exposed services that receive compressed request bodies or fetch content from user-supplied addresses.
- ▸Rebuild and redeploy container images and standalone executables that embed the runtime; installing a newer runtime on the host does not update the embedded copy. Restart processes and verify which version actually runs (for example with dotnet --list-runtimes for .NET).
- ▸If you cannot update immediately, Imperva suggests limiting untrusted Brotli traffic on the affected paths and says only updating removes the flaw. Vercel added inbound request blocking rules on 21 October, which do not cover Brotli responses an application fetches from other servers.
- ▸For end-of-life lines (Node.js 20.x, 23.x, 25.x and older), there is no fix from Node.js: plan a migration to a supported line or isolate the service.
- ▸If you have services that crashed unexpectedly after compressed traffic, keep the dumps and logs before restarting: a crash is a documented effect of the flaw.
What is not known
It is not known how reliable the exploit is on other architectures, on the Node.js 22.x and 26.x lines, or on Express and body-parser versions other than those Imperva tested. The domain and scale of the activity ELLIO observed are unknown. The exact versions for most downstream products and Linux distributions are unclear, and Help Net Security says only that many maintainers have updated dependencies. We did not read the Brotli advisory (GHIS-4ggp-56x3-8hjh) that the v1.2.1 release links to.
Close the alert with evidence
For each service, keep the runtime and version before and after, whether the image or executable was rebuilt, the restart date, whether it accepts user-controlled Brotli data, and the temporary measures applied. For end-of-life lines, record the migration or isolation decision, with a deadline. A federal KEV deadline does not automatically apply to private companies, but two weeks from the addition shows how fast remediation is expected.
How to monitor CVEs and get alerts for products in your inventory