A memory-corruption bug in a compression library that most developers never think about is now on CISA’s exploited list. The lesson is less about one CVE and more about the software hiding beneath your software.
In 60 seconds
- CVE-2026-111497, nicknamed HTTP2Shell, is a critical flaw in the Brotli decoder that can lead to memory corruption and, in some cases, remote code execution.
- Google, Node.js, Python package maintainers and Microsoft all shipped fixes, and CISA added the bug to its exploited-vulnerability list on October 27.
- Patching is not enough on its own: restart processes, rebuild container images and look for Brotli hiding in transitive dependencies.
Security teams had barely finished their PHP2Shell response when another nickname with a familiar suffix started circulating. HTTP2Shell, also called Broccoli2Shell and Node2Shell in various write-ups, is a critical vulnerability in Brotli, the lossless compression algorithm created by Google and used almost everywhere on the modern web. If you serve web pages, call APIs or run a JavaScript, Python or .NET application, there is a reasonable chance Brotli is somewhere in your stack, whether or not anyone on your team ever chose it.
This week the story moved quickly from a patch advisory to a government warning. The United States cybersecurity agency confirmed that attackers have begun exploiting the flaw, vendors rushed out fixes, and administrators were once again asked to do the unglamorous work of updating, restarting and rebuilding. Here is what is known, what to do, and why the incident says more about software supply chains than about any single bug.
What HTTP2Shell is
The vulnerability is tracked as CVE-2026-111497. It sits in the Brotli decoder, the code that expands data compressed with Brotli. According to reporting, the weakness is an out-of-bounds write, described by CISA as an unchecked return value problem. In plain language, the decoder can be tricked by a specially crafted compressed stream into corrupting adjacent memory. Depending on the environment, an unauthenticated remote attacker could cause crashes, leak memory contents or, in some cases, execute code.
The flaw was first identified in Node.js, the JavaScript runtime that bundles the Brotli library, but it is not limited to Node. HTTP servers and clients that rely on vulnerable Brotli implementations are affected, which includes popular Python packages and Microsoft’s .NET. That breadth is what earned the comparison with PHP2Shell. Our PHP2Shell guide explained why runtime and library bugs are more dangerous than application bugs. The same logic applies here: the vulnerable code runs before most application logic gets a say.
How it unfolded
The timeline is compact. Google fixed the bug on October 21, the same day the PHP project shipped its own emergency releases, by publishing Brotli versions 1.0.10, 1.1.1 and 1.2.1. Downstream projects followed. Node.js issued patched versions on its supported lines, the Python packages that wrap Brotli released updates, and Microsoft pushed an out-of-band update for .NET over the weekend of October 24 and 25, warning that attackers could use the flaw to escalate privileges on systems with a vulnerable .NET version.
At first, coverage noted that there was no confirmed exploitation in the wild. That changed quickly. On Tuesday, October 27, CISA added the flaw to its catalog of known exploited vulnerabilities and gave federal agencies until November 10 to patch under its binding directive. The directive applies only to US federal bodies, but the agency urged all network defenders to treat the update as a priority.
- Oct 21Google releases Brotli 1.0.10, 1.1.1 and 1.2.1 to fix the decoder flaw.
- Oct 22-27Node.js and Python package maintainers publish patched releases in the days that follow.
- Oct 25Microsoft ships an emergency .NET update covering .NET 8, 9 and 10, plus the third release candidate of .NET 11.
- Oct 27CISA confirms exploitation and sets a federal patch deadline of November 10.
- Oct 28Press coverage of CISA’s confirmation spreads and administrators race to patch.
Which versions to look for
The patched version list is the part administrators will need most. Because Brotli is embedded in so many products, fixes arrive under different names and version numbers.
| Component | Fixed version | Notes |
|---|---|---|
| Google Brotli | 1.0.10, 1.1.1 or 1.2.1 | Upstream C library; pick the line you use |
| Node.js 22 | 22.23.4 | Bundled Brotli updated |
| Node.js 24 | 24.22.1 | Bundled Brotli updated |
| Node.js 26 | 26.12.1 | Bundled Brotli updated |
| Python Brotli | 1.2.1 | Update the package and any lock files |
| Python brotlicffi | 1.2.1.0 | Update the package and any lock files |
| Microsoft .NET | October 25 emergency update | Covers .NET 8, 9, 10 and .NET 11 RC3 |
Why the compression layer matters
Compression feels like plumbing. Developers enable it with a single configuration flag, and it vanishes into the background. But decompression is a parser for untrusted input, and parsers are historically one of the richest sources of memory-safety bugs. A web server that accepts compressed request bodies or a client that decodes compressed responses is exposing a decoder to whoever controls the other end of the connection.
That is why this flaw can be reachable without credentials. If a service decodes Brotli-compressed data from the network, an attacker may only need to send a crafted request. The reporting also noted that the decoder sits underneath many higher-level libraries, so teams that never import Brotli directly can still be exposed through a web framework, an HTTP client or a build tool.
You cannot patch what you cannot name. Most teams discovered they ran Brotli the same day they discovered it was vulnerable.
What to do now
Start with the straightforward steps. Update runtimes and packages to the fixed versions. Restart the processes that use them, because running programs keep the old library in memory until they are restarted. Rebuild and redeploy container images instead of patching running containers, since the vulnerable library is baked into the image layers.
If you cannot patch immediately, there are temporary mitigations. Security guidance suggests configuring reverse proxies, load balancers or web application firewalls to reject incoming requests that carry Brotli-compressed bodies, and disabling Brotli decoding where the feature is not essential. Python users can uninstall the vulnerable Brotli and brotlicffi packages and remove optional extras that pull them in, such as the Brotli extra of the httpx client library. These are stopgaps. They reduce exposure but do not replace updating.
- Search your repositories, lock files and container images for Brotli, brotlicffi, Node.js and .NET runtimes and note their versions.
- Update to Brotli 1.0.10, 1.1.1 or 1.2.1, Node.js 22.23.4, 24.22.1 or 26.12.1, Python Brotli 1.2.1 and brotlicffi 1.2.1.0, and apply Microsoft’s emergency .NET update.
- Restart services, workers and build agents so the patched libraries are actually loaded.
- Rebuild and redeploy container images from updated base layers, then verify the running versions in production.
- As a stopgap, block Brotli-compressed request bodies at the proxy or WAF, or disable Brotli decoding where it is optional.
- Review logs for unusual compressed requests, crashes or unexpected child processes from mid-October onward.
The dependency problem behind the headline
Every few months, the industry relearns the same lesson. A vulnerability in a small, widely shared component becomes a crisis not because it is exotic but because nobody knows where it lives. Software bills of materials, which list the components inside an application, are meant to solve that problem. In practice, many organizations have the documents but not the habit of using them. A list of components is only useful if someone can query it within minutes of an advisory.
Transitive dependencies make the situation harder. Your application depends on a framework, which depends on an HTTP library, which depends on a compression package, which bundles a native library. Each layer has its own release schedule, and a fix at the bottom does not reach you until every layer above has updated. During an emergency, that chain is the difference between a one-hour fix and a one-week scramble.
There is also the question of language and memory safety. Brotli’s decoder is written in C, a language that gives developers speed and control but offers no built-in protection against out-of-bounds writes. Projects increasingly consider memory-safe languages for parsers and decoders that handle hostile input, and the economics are improving as tooling matures. Rewriting well-tested code is expensive, but so is a stream of emergency patches.
What defenders should take from the pattern
HTTP2Shell and PHP2Shell arrived within days of each other, were both patched on October 21, and both moved from advisory to exploitation within a week. That cadence suggests a few practical conclusions. Emergency patching needs to be a rehearsed process, with owners, runbooks and a way to verify results. Inventory needs to extend beyond servers to containers, build pipelines and developer workstations. And outbound controls, such as restricting what a compromised web process can reach, deserve attention, because they limit damage when a patch is late.
It also helps to separate severity from exposure. A flaw in a decoder is more dangerous on a service that accepts compressed input from the public internet than on an internal batch job that only reads trusted files. Triage by reachability, then by business importance, and document the reasoning so that auditors and executives can follow it.
What to watch next
Expect follow-up disclosures. When a flaw like this becomes public, researchers examine neighboring code, other decoders and sibling projects, and variants frequently appear. Watch the advisories from your language runtimes and distributions, and keep an eye on any products you run that embed Brotli without announcing it, including appliances, proxies and content delivery tools. Vendors of those products may take longer to ship fixes than the open source projects they depend on.
Also watch the guidance from CISA and national security agencies. Directives that begin as requirements for government agencies tend to become reference points for insurers, auditors and customers. If your organization sells to regulated industries, a two-week patch expectation for exploited flaws may soon appear in contracts.
HTTP2Shell is a reminder that modern applications are mostly code written by somebody else. The teams that handled this week calmly were not the ones with the largest security budgets. They were the ones that could answer three questions quickly: where does this library run, who owns it, and how do we update and verify it.
Build that muscle before the next emergency. Keep an inventory you can query, rehearse restarts and image rebuilds, and treat the quiet parts of your stack, from compression to parsing, as the attack surface they really are.
Sources & further reading
- BleepingComputer – CISA warns of hackers exploiting Node2Shell
- TechRadar – Microsoft and others scramble to patch HTTP2Shell
- BleepingComputer – Critical HTTP2Shell Brotli vulnerability triggers emergency patches
- BleepingComputer – Microsoft releases emergency .NET patches
- Help Net Security – November 2026 Patch Tuesday forecast
Compiled by the Degoot Team from public reporting available at the time of writing. Figures and timelines may change as vendors and investigators publish updates, so check primary sources before acting.
Software News · degoot.com
