You can patch Node.js and still have a vulnerable Brotli decoder running somewhere else in your application stack.
That’s one of the complications behind CVE-2026-111497, known as HTTP2Shell (the same flaw also circulates as Node2Shell and Broccoli2Shell). The vulnerability affects Brotli’s decoding process and can expose applications that handle attacker-controlled compressed data. Its reach extends beyond Node.js to other runtimes and software that include or use affected Brotli implementations.
The problem is that these implementations often don’t appear in the dependency manifests your team reviews. There could be a vulnerable copy bundled into another of your components that is running in a separate service, or sitting in infrastructure your app relies on. So, how do you know what’s actually exposed? You look beyond the packages your developers explicitly installed.
What Makes CVE-2026-111497 Exploitable?
CVE-2026-111497 is an out-of-bounds write vulnerability in Google’s Brotli decoder. It carries a CVSS v4.0 score of 9.2 (Critical) and can allow a remote unauthenticated attacker to corrupt memory in a process that decompresses a specially crafted Brotli stream. The flaw was publicly disclosed on October 21, 2026, alongside fixed Brotli and Node.js releases. Within a week, exploitation was observed in real attacks, and CISA added the CVE to its Known Exploited Vulnerabilities catalog on October 27.
A malformed block switch can corrupt memory
Brotli divides compressed data into blocks, and its decoder tracks the type and length of each block as it processes the stream. The flaw is triggered when the decoder encounters an invalid block switch.
In affected versions, the decoder can mistake this malformed input for a temporary condition in which it simply needs more data. Instead of rejecting the stream, it continues processing with an invalid internal state. This can cause it to write beyond the boundaries of an internal memory buffer, corrupting adjacent decoder data.
An attacker can deliberately construct a compressed stream to trigger this behavior. The resulting memory corruption can have several consequences:
- Process crashes: Corrupted memory can cause the application or service to terminate, creating a denial-of-service condition.
- Memory disclosure: The vulnerability may expose sensitive data held in the affected process’s memory.
- Remote code execution: Under suitable conditions, an attacker may be able to manipulate corrupted memory to execute arbitrary code within the affected process.
Security researchers have demonstrated remote code execution against official, unmodified Node.js builds. But that does not mean every vulnerable Brotli installation can be exploited in the same way. The outcome still depends on the affected implementation and how the application uses it.
Which Brotli versions are affected?
Google identifies the following vulnerable releases:
| Affected versions | Fixed versions |
|---|---|
| 1.0.3–1.0.9 | 1.0.10 |
| 1.1.0 | 1.1.1 |
| 1.2.0 | 1.2.1 |
These fixes take care of the decoder vulnerability. Applications using Brotli through another runtime or bundled dependency must also check whether that component has received the corresponding security update.
A vulnerable version does not automatically mean an exploitable application
Finding an affected Brotli version is a reason to investigate, but it does not establish that an attacker can reach the vulnerable code. The key condition is whether the application decompresses Brotli data that an attacker can control. For example:
- A Node.js service that accepts Brotli-compressed request bodies and decompresses them could expose the vulnerable decoder to attacker-supplied input.
- An application using an HTTP client that automatically decompresses Brotli-encoded responses could process malicious data returned by a compromised or attacker-controlled server.
- A service that includes an affected Brotli library but only uses it to compress outgoing responses may not expose the vulnerable decoding path.
Configuration matters, too. For example, ASP.NET Core and .NET’s HttpClient do not automatically decompress Brotli data in their default configurations. Applications become exposed when they enable Brotli decompression or explicitly use the affected APIs to process untrusted input.
Why Patching Node.js May Not Be Enough
Updating Node.js addresses the Brotli decoder bundled with that runtime, but it does nothing to update a separate copy bundled into Bun, a Python package, a .NET runtime, or an Envoy proxy.
This is important because Brotli is used across the application stack. It can be included directly in a runtime, packaged as a native library, or pulled in through another dependency. Each component can carry its own version of the decoder, with its own release cycle and security update. PHP2Shell showed the same pattern one layer down: the weakness sat in the runtime, not in the application code.
Consider a fairly ordinary deployment. Your main API runs on Node.js, a background worker uses Python, and Envoy handles traffic between services. Your team updates Node.js after learning about HTTP2Shell. The API may now be running a fixed decoder, but the Python worker and Envoy proxy still need to be checked independently. If either processes attacker-controlled Brotli data through an affected decoder, the environment may remain exposed.
The vulnerability can exist in several places
The affected ecosystems include:
- Node.js: Brotli is bundled into the runtime. Updating the runtime is necessary to replace its affected decoder.
- Bun: Bun includes its own Brotli implementation. Updating Node.js has no effect on it.
- Python: Packages such as
Brotliandbrotlicffiprovide Brotli decoding. They can enter a project as direct or transitive dependencies, including through HTTP clients that support automatic response decompression. - .NET: The affected Brotli implementation is part of the runtime. Applications that use Brotli decompression APIs or enable request or response decompression need to check their runtime version and configuration.
- Envoy: The proxy has its own affected Brotli implementation. Exposure depends on whether the Brotli decompressor is configured and processes untrusted input.
- Istio: Istio deployments use Envoy proxies for traffic management. Affected sidecars and gateways need to be checked, particularly where Brotli decompression is enabled through configuration such as an
EnvoyFilter.
These are separate update paths. Patching one does not patch the others.
Affected ecosystems and fixed versions
These are upstream fixed releases; use the relevant vendor’s security advisory to confirm whether a distribution-specific package includes a backported fix.
| Ecosystem | Affected versions | Fixed versions |
|---|---|---|
| Google Brotli | 1.0.3–1.0.9, 1.1.0, 1.2.0 | 1.0.10, 1.1.1, 1.2.1 |
| Node.js 22.x | Before 22.23.4 | 22.23.4 |
| Node.js 24.x | Before 24.22.1 | 24.22.1 |
| Node.js 26.x | Before 26.12.1 | 26.12.1 |
| Bun | 1.0.21–1.4.3 | 1.4.4 |
Python Brotli |
1.0.3 up to 1.2.0 | 1.2.1 |
Python brotlicffi |
1.0.3 up to 1.2.0.x | 1.2.1.0 |
| .NET 8 | Before 8.0.33 | 8.0.33 |
| .NET 9 | Before 9.0.22 | 9.0.22 |
| .NET 10 | Before 10.0.14 | 10.0.14 |
| Envoy | 1.36.11, 1.37.7, 1.38.5, 1.39.2 and earlier affected releases | 1.36.12, 1.37.8, 1.38.6, 1.39.3, 1.40.0 |
| Istio 1.29 | Before 1.29.9 | 1.29.9 |
| Istio 1.30 | Before 1.30.6 | 1.30.6 |
| Istio 1.31 | Before 1.31.2 | 1.31.2 |
Here are some important qualifications when using this table:
- The Node.js fixed versions listed are for the supported release lines. Older, unsupported releases may not receive a patch.
- .NET Framework is not affected by this advisory. The listed .NET versions refer to modern .NET releases.
- Envoy and Istio require particular attention to decompression configuration. An affected version alone does not establish that the vulnerable code is reachable.
- Linux distributions may backport security fixes without adopting the upstream version number shown here. Check the distribution’s advisory rather than relying on version comparison alone.
The overlooked copies are often in deployment infrastructure
Even when developers update their application dependencies, older copies can remain in the environments used to build and run the application.
Check these locations as part of remediation:
Container images and base images
Your application might use a patched Node.js version in its package configuration while its Docker image still starts from an older runtime image. The same applies to Python and .NET images.
Updating the Dockerfile does not update containers that are already running. You need to rebuild the image, push the updated version, and redeploy the affected services.
Build and CI environments
Build agents, test containers, and deployment pipelines may use separate runtime images from production. If they include an affected Brotli implementation, updating the production application will not fix those environments.
This is especially easy to overlook when teams use shared CI images maintained separately from application repositories.
Transitive dependencies
A package does not need to appear in your package.json, requirements.txt, or project file to be part of the running application. Another dependency may bring in a Brotli package or native library.
For example, a Python HTTP client may use an installed Brotli package to automatically decompress responses. A developer who never explicitly installed Brotli may still have it in the environment.
Self-contained applications and bundled binaries
Some applications package runtime components into their own deployment artifacts. Updating the runtime installed on a build machine does not necessarily replace the copy already bundled into an executable or image. Those artifacts may need to be rebuilt using a patched runtime.
Incomplete remediation leaves the original exposure in place
Imagine a company with three services:
- A Node.js API that has been updated to a fixed release.
- A Python worker that still uses an affected Brotli package to decompress external responses.
- An Envoy gateway running an affected version with Brotli decompression enabled.
The API update is valid, but it does not resolve the other two instances. If either can process attacker-controlled compressed data, the company still has an exposed component. This is why remediation needs to cover the entire deployment rather than just the repository where the vulnerability was first identified.
For HTTP2Shell, teams should:
- Inventory every runtime and component that can include Brotli. Include application dependencies, proxies, service meshes, container images, and shared build environments.
- Check the actual deployed versions. Compare them against the relevant vendor advisories, including distribution-specific patches.
- Review decompression configuration. Determine which components actually process attacker-controlled Brotli data.
- Update and rebuild affected artifacts. Patch the runtime or dependency, rebuild self-contained applications and container images, and redeploy them.
- Verify the running environment. Confirm that old containers, processes, and deployment images have been replaced.
A successful update in one repository is not proof that every affected decoder has been replaced. The team needs to verify the versions and configurations of the components actually running across its environment.
How to Identify and Address Exposure Across Your Stack
Finding an affected Brotli version is only the first step. You still need to establish where it is running, whether it processes untrusted data, and whether the vulnerable code has been patched.
To start the process, your existing dependency, infrastructure, and deployment records can provide much of the information you need.
1. Map where Brotli is used
Start by identifying applications and infrastructure components that include Brotli, either directly or through another dependency.
Check:
- Application dependencies: Review package manifests and lockfiles for direct and transitive Brotli dependencies. Include native libraries and packages used by HTTP clients.
- Runtime environments: Check the versions of Node.js, Bun, Python, and .NET used across your services.
- Infrastructure: Review Envoy proxies, Istio gateways and sidecars, and other components that may include their own Brotli implementation.
- Container images: Inspect application images, base images, and shared runtime images used in production and CI/CD.
Dependency scanners and software composition analysis tools can help identify known vulnerable packages. However, don’t rely on a single scan of your main application repository. It may not cover independently maintained infrastructure, bundled binaries, or images deployed outside that repository.
2. Determine which components are actually exposed
Once you’ve identified affected versions, investigate whether their vulnerable decoding paths can be reached. For each component, establish:
- Does it actually decompress Brotli-compressed data?
- Can an attacker control or influence the compressed input?
- Is the component reachable from the internet, or can untrusted input reach it through another service?
- Is Brotli decompression enabled in its configuration?
For example, an internet-facing API that decompresses attacker-controlled request bodies deserves more immediate attention than an internal component that only compresses outgoing responses.
Don’t assume that an internal service is automatically safe, either. If an external request can pass through several services before reaching its decoder, that decoder may still be reachable through the application.
3. Patch the affected components and rebuild their artifacts
Use the security advisory for each affected product to identify the appropriate fixed version. This is important because vendors may release their own patches or backport fixes without changing the upstream version number. Once you’ve identified the required updates:
- Upgrade affected runtimes and dependencies.
- Apply vendor security updates to proxies and infrastructure components.
- Rebuild container images using patched base images and dependencies.
- Rebuild self-contained applications that bundle vulnerable libraries.
- Redeploy the updated workloads and confirm that the new versions are running.
Updating a dependency in a repository is not the same as updating the application currently running in production. The deployment needs to contain the fix.
4. Check for residual exposure
After patching, review the environment again. Look for instances that may have been missed during the initial update. Pay particular attention to:
- Older container images still referenced by deployment configurations.
- Cached images used by CI/CD pipelines or deployment systems.
- Independently bundled Brotli libraries in other runtimes.
- Older application deployments that have not been replaced.
- Services maintained in separate repositories or by different engineering teams.
A patch can be correctly applied to the main application while an older image or independently maintained service continues running the vulnerable implementation.
5. Prioritize based on actual exposure
Not every affected package needs to be treated as an equally urgent risk. Prioritize components where the vulnerable decoder can process attacker-controlled data, especially when the component is accessible from the internet. A practical order of work is:
- Internet-facing services with reachable vulnerable Brotli decoders.
- Proxies and gateways that decompress untrusted traffic.
- Internal services that can receive attacker-controlled data from other components.
- Build environments and other isolated systems where the vulnerable decoding path is not exposed to untrusted input.
This gives engineering teams a way to allocate limited time and resources without treating every package alert as an equally exploitable vulnerability. It also helps ensure that lower-priority instances are still tracked and eventually addressed.
Patching is only complete when exposure is verified
HTTP2Shell shows why dependency visibility matters as much as patching. Knowing that a vulnerable package exists tells you where to investigate. But knowing how it is used tells you which components are exposed. And checking the deployed environment confirms whether remediation actually worked.
For teams with limited security resources, that makes vulnerability response more manageable. You can focus first on reachable attack paths, fix the components that matter most, and verify that the vulnerable implementations are no longer running.
Patching a Vulnerability Doesn’t Mean You’ve Eliminated the Risk
Patching the version of a library identified in a security advisory can feel like a completed task. But how do you know you’ve addressed the actual exposure? HTTP2Shell shows why that assumption can be misleading. A vulnerability can exist in several independently maintained components, and fixing the one your team knows about doesn’t guarantee that the others are no longer reachable.
This is why understanding your security posture requires more than maintaining an accurate dependency inventory. You need to know which parts of your application are exposed, where an attacker could reach them, and what they could actually exploit.
With BackDoor, your team answers those questions through autonomous external penetration testing. It examines your external attack surface from an attacker’s perspective, identifying potential attack paths and validating which risks can actually be exploited.
HTTP2Shell is one example of a broader problem. Your team may have patched every vulnerability it knows about, but how much of your application stack has it actually verified?
Sources
- CVE-2026-111497: Out-of-Bounds Write in Google Brotli Decoder (CVE record)
- NVD: CVE-2026-111497
- GHSA-9v8h-qqgm-4m35: Out-of-bounds write in the Brotli decoder (GitHub Advisory Database)
- google/brotli: Release v1.2.1
- Node.js: Wednesday, October 21, 2026 Security Releases
- Bun: Bundled brotli decoder has an out-of-bounds write (GHSA-663w-cv8g-jj2p)
- Microsoft Security Advisory CVE-2026-111497: .NET Brotli Decoder Out-of-bounds Write Vulnerability
- Envoy: Out-of-Bounds Write in Brotli Decompressor (GHSA-3wvj-j6qm-62mr)
- Istio: ISTIO-SECURITY-2026-007
- Imperva: Node2Shell: From Brotli Data to Remote Code Execution
- ELLIO: Node2Shell (CVE-2026-111497) aka HTTP2Shell and Broccoli2Shell: RCE analysis
- CISA: Known Exploited Vulnerabilities Catalog (CVE-2026-111497)
Frequently asked questions
What is CVE-2026-111497 (HTTP2Shell)?
CVE-2026-111497, known as HTTP2Shell, is a critical out-of-bounds write vulnerability in the Brotli decoder. It can allow attackers to trigger memory corruption by sending specially crafted compressed data to applications that process it using an affected decoder. Depending on the implementation and exploitation conditions, the consequences can include denial of service, memory disclosure, and remote code execution.
Which Brotli versions are affected by HTTP2Shell?
The affected upstream Brotli releases include versions 1.0.3 through 1.0.9, 1.1.0, and 1.2.0. The corresponding fixed releases are 1.0.10, 1.1.1, and 1.2.1. However, applications may use bundled or vendor-maintained copies, so check the relevant security advisory rather than relying solely on the version of the standalone Brotli package.
Is Node.js the only runtime affected by HTTP2Shell?
No. The vulnerability has implications beyond Node.js. Affected implementations have also been identified in Bun, Python packages, .NET, Envoy, and Istio-related deployments. Each ecosystem has its own update process, so patching Node.js does not automatically address other affected components.
Does having a vulnerable Brotli version mean my application is exploitable?
Not necessarily. An application must actually use the affected decoder to decompress attacker-controlled Brotli data for the vulnerable code path to be exposed. A component that only uses Brotli to compress outgoing data may not be vulnerable to this particular attack. Version identification should therefore be followed by an assessment of how the component is configured and used.
Can HTTP2Shell lead to remote code execution?
Yes. Under suitable conditions, an attacker may exploit the memory corruption to execute arbitrary code within the affected process. Process crashes and memory disclosure are also potential consequences. However, remote code execution is not guaranteed in every affected environment; exploitability depends on the implementation and execution context.
How can I check whether my application is affected by HTTP2Shell?
Start by reviewing direct and transitive dependencies, runtime versions, container images, and infrastructure components that may include Brotli. Then determine which components decompress attacker-controlled data. Compare their versions against upstream and vendor security advisories, apply the relevant fixes, rebuild affected images, and verify that updated workloads are running.
Does updating Node.js fix HTTP2Shell across my entire application stack?
No. Node.js updates address the Brotli implementation bundled with the relevant Node.js release. They do not automatically update independent copies in Python packages, Bun, .NET, Envoy, or other components. Each affected implementation must be identified and updated separately.
How should teams prioritize HTTP2Shell remediation?
Prioritize components with reachable vulnerable decoding paths, particularly internet-facing services that process attacker-controlled Brotli data. Then investigate internal services, proxies, gateways, and deployment environments. An affected package that cannot be reached through untrusted input may present a different level of risk from an exposed service actively processing attacker-controlled compressed data.
See it on your own site
Full report with proof, exploits, and fixes — in ~5 hours, from € 5,100.
Written by

Penetration Tester & Security Researcher
Peter leads offensive security research at BackDoor — focused on autonomous black-box testing, web and API exploitation, and turning real-world attack paths into fixable, evidence-backed findings.