A newly disclosed security vulnerability in Google’s Brotli compression library is drawing attention across the software industry after researchers demonstrated that it could potentially be exploited to execute code on vulnerable systems. Tracked as CVE-2026-111497 and widely referred to as HTTP2Shell, the flaw affects more than one programming language or web server because Brotli is integrated into a broad range of software used to compress and decompress web traffic.

The vulnerability was initially associated with Node.js, where the first prominent security advisory and runtime updates brought it to wider attention. Subsequent investigations identified exposure in other environments, including Python HTTP clients, Bun and certain Envoy and Istio deployments. This has turned what initially appeared to be a runtime-specific issue into a broader software dependency security concern.

Despite its name, HTTP2Shell is not a vulnerability in the HTTP/2 protocol itself. Instead, it resides in Brotli, a compression technology developed by Google and commonly used to reduce the amount of data transferred between web clients and servers.

HTTP2Shell Brotli Vulnerability Alert

What Is HTTP2Shell?

HTTP2Shell is the informal name for a memory-corruption vulnerability in Brotli’s decompression code. The issue is tracked under CVE-2026-111497 and received a CVSS 4.0 score of 9.2, placing it in the critical severity range.

Brotli is widely used throughout the web ecosystem. Browsers, HTTP clients, application runtimes, reverse proxies and other components may rely on it to decode compressed content received over a network. Because the decoder is frequently bundled into other software, developers and system administrators may not realise their applications contain a vulnerable version.

The flaw involves how the decoder handles certain malformed compressed input. Under specific conditions, the decoder can perform an out-of-bounds write, meaning it writes data outside the intended memory region. Memory corruption of this kind can cause an application to crash, expose sensitive process memory or, in certain circumstances, provide a path towards arbitrary code execution.

The precise impact depends on the software incorporating the vulnerable library, its configuration and the conditions under which an attacker can supply crafted data.

How Can an Attacker Exploit the Vulnerability?

One concern is that an attacker may not need to authenticate to the vulnerable service before sending malicious compressed data. Whether the attack succeeds depends on whether that data reaches an affected Brotli decoder.

There are two broad exposure scenarios.

The first involves incoming traffic. A vulnerable server or proxy may decompress a request body before the application has completed its normal authentication checks. If an attacker can submit a specially crafted Brotli-compressed request to the relevant processing path, the decoder may encounter the malformed input and trigger the memory-corruption condition.

The second scenario involves outgoing requests. An application may retrieve content from an external server and automatically decompress a Brotli-encoded response. If that remote server is controlled by an attacker, the response could contain malicious compressed data designed to target the client’s decoder.

This second scenario is particularly relevant to applications that fetch URLs supplied by users, including webhook processors, link-preview services, web crawlers, data import tools and other systems that retrieve external content.

However, not every application using Brotli is automatically exploitable. The vulnerable decoder must be present, and the attacker must be able to supply input to the affected code path. Network access, request handling, decompression configuration and other implementation details all influence the practical risk.

Which Software Is Affected?

The scope extends beyond Node.js because multiple projects incorporate Brotli or depend on packages that use it.

Node.js released patched versions for its supported release lines. The Python ecosystem also published updates for the Brotli and brotlicffi packages, while Bun released a fixed version. Certain Envoy and Istio deployments are also relevant, particularly where the affected Brotli decompressor is configured.

The following versions were reported as fixed in the advisories and security coverage available at the time of writing.

SoftwareReported fixed version
Brotli1.2.1, 1.1.1 or 1.0.10, depending on the maintained release line
Node.js22.23.4, 24.22.1 or 26.12.1
Python Brotli package1.2.1
Python brotlicffi package1.2.1.0
Bun1.4.4
EnvoyFixed releases vary by maintained branch

These are not interchangeable version numbers. Administrators should consult the advisory from the specific vendor or distribution they use before deciding which upgrade is appropriate. Envoy, Istio, Linux distributions and other products may have their own release schedules and backported fixes.

It is also important to check indirect dependencies. Python applications using HTTP libraries such as Requests, urllib3, httpx or aiohttp may use Brotli support when the relevant package or optional dependency is installed. Likewise, software that bundles its own native libraries may remain vulnerable even after a system-level Brotli package has been updated.

-advertisement-

Has HTTP2Shell Been Exploited?

Researchers have demonstrated code execution in a laboratory environment using an official Node.js build. This is an important indication that the vulnerability can have consequences beyond a simple denial-of-service crash.

However, proof that code execution is possible in a particular test environment should not be confused with evidence that attackers have successfully compromised production systems at scale. As of the latest public reporting reviewed for this article, there were no confirmed reports of exploitation in the wild.

That distinction can change as security researchers and incident responders gather more information. Public proof-of-concept code, where available, can also lower the barrier for other researchers and attackers to investigate a vulnerability.

Organisations should therefore avoid interpreting the absence of confirmed attacks as a reason to delay remediation. The combination of a critical severity rating, broad dependency exposure and demonstrated exploitability makes the issue a priority for affected systems.

What Should Administrators Do?

The recommended response is to identify affected software, apply the appropriate security updates and verify that the running services are using the corrected components.

Administrators should begin by inventorying Node.js runtimes, Python environments, Bun deployments, proxy infrastructure and other software that may include Brotli. Software composition analysis tools and dependency scanners can help identify affected package versions, although native libraries embedded in application binaries or container images may require additional investigation.

Next, update the relevant runtime, package or vendor product to a fixed release. Rebuild containers and application binaries where dependencies are bundled or statically linked, and restart services so that they load the updated code. Updating a package on disk alone may not replace a vulnerable library that is already loaded into a running process.

Teams should also review applications that decompress untrusted input or fetch URLs supplied by users. These paths may deserve particular attention because they can allow external data to reach a vulnerable decoder.

Where immediate patching is not possible, temporarily restricting access to exposed services or disabling unnecessary Brotli decompression on the affected path may reduce risk. Such measures are temporary mitigations rather than substitutes for installing a verified fix.

Finally, review application and network logs for unusual crashes, unexpected outbound connections and suspicious requests around the time the vulnerability became public. These checks can help identify possible exploitation, but they cannot independently prove that a system is clean.

A Reminder About Software Supply Chains

HTTP2Shell highlights a recurring challenge in modern software security. A vulnerability in a relatively small open-source component can affect many otherwise unrelated applications because they share the same underlying dependency.

A programming language runtime, HTTP client or network proxy may appear secure at the application level while still incorporating a vulnerable native library. The result is a security issue that can spread across different platforms and deployment models, making it difficult for organisations to assess their exposure from application names alone.

The incident also demonstrates why security fixes in upstream projects need to be followed by timely releases and dependency updates across the wider ecosystem. A correction in a source repository does not automatically protect users who continue running older releases.

For now, administrators should treat HTTP2Shell as a high-priority vulnerability, verify whether their software includes an affected Brotli decoder and apply the relevant vendor fixes. Although exploitation has been demonstrated in a laboratory environment, the available public evidence reviewed for this article does not establish widespread exploitation in the wild.

The most important step is to establish actual exposure rather than assuming that every application using HTTP traffic is affected, or that updating one package has automatically secured every component in the deployment.

Sources: ( 1, 2, 3 )

-advertisement-
Facebook
Twitter
LinkedIn
Pinterest

Leave a Comment

Related Posts

-advertisement-
Subscribe via Email

Enter your email address to subscribe to Tech-Critter and receive notifications of new posts by email.