BTC$64,925+0.52% LTC$44.80-0.29% XMR$497.38+0.31%
TorPortal TorPortalMarkets, mirrors, dark web news
BleepingComputer · Oct 26, 2026 · 3 min read · Original story

Critical 'HTTP2Shell' Brotli vulnerability triggers emergency patches

Critical 'HTTP2Shell' Brotli vulnerability triggers emergency patches

A critical flaw dubbed 'HTTP2Shell' in Brotli, the C decoder library built into Node.js, could allow attackers to corrupt memory and access sensitive data.

The security issue is tracked as CVE-2026-111497 and is also known as “Broccoli2Shell” and “Node2Shell.” It affects Brotli versions 1.0.3 through 1.0.9, 1.1.0, and 1.2.0.

The vulnerability has been reported under several names because it was initially identified in Node.js before researchers found that the same flaw in the Brotli decoder could affect software across multiple ecosystems.

Brotli is an open-source project developed and maintained by Google for lossless data compression. It shrinks files so they can be transmitted faster without affecting the original data.

Broad impact

The name HTTP2Shell reflects its impact on HTTP clients and servers, although the vulnerability is not specific to HTTP/2 and can affect other applications that decompress attacker-controlled Brotli data.

Apart from Node.js, potentially affected software includes Python HTTP clients such as urllib3[brotli], requests, httpx, and aiohttp[speedups], when configured with a vulnerable Brotli decoder, as well as other applications and tools that use vulnerable Brotli implementations.

On Sunday, Microsoft pushed an emergency security update to address the issue in .NET, warning that successful exploitation allows privilege escalation on systems with a vulnerable .NET version.

The Node2Shell vulnerability is a buffer overflow that lets a specially crafted Brotli-compressed stream trigger an invalid block switch that the decoder treats as valid and misinterprets as a request for more input.

By continuing to append input bytes to an internal eight-byte buffer, the writing extends beyond its bounds, corrupting nearby memory.

“An invalid block switch was reported as a temporary need for more input instead of a permanent format error, so the streaming decoder kept appending input bytes to an eight-byte internal buffer,” Node.js explains in an advisory.

An attacker can exploit it by getting an application to decompress malicious data, such as by serving a compressed HTTP response to an application fetching a URL, or by sending a compressed request directly to a server.

Node.js says that this can crash the process, expose memory, and enable remote code execution (RCE)

A recent report from cybersecurity company Imperva confirms that exploiting the CVE-2026-111497 Node2Shell vulnerability can lead to RCE.

The upstream Brotli fixes were first committed to the project’s source code in February, but Node.js and Google released stable fixes for users on October 21, followed by a public disclosure the next day. PyPI packages containing the fixes became available on October 23.

Patched versions are:

  • Google Brotli 1.0.10, 1.1.1, 1.2.1
  • Node.js 22.23.4, 24.22.1, 26.12.1
  • Python Brotli 1.2.1
  • Python brotlicffi 1.2.1.0

Proof-of-concept (PoC) exploits for Node2Shell have been published, but there are no reports of malicious exploitation in the wild. Nevertheless, users should prioritize applying the available security updates.

After updating, administrators must restart affected processes, and affected container images must be rebuilt and redeployed.

A dedicated online portal tracking the flaw's impact also warns that updating the system Brotli library does not address the risk in Node.js deployments or other apps that use their own bundled copy of the library.

Also, blocking inbound Brotli requests still leaves the malicious HTTP-response route exposed.

If updating immediately is not possible, the recommendation is to remove Brotli support from Python applications and block incoming Brotli-compressed requests at their proxy or firewall level.

References in this story

  1. NVD - Home nvd.nist.gov
  2. Microsoft releases emergency .NET patches for critical Brotli flaw www.bleepingcomputer.com Microsoft released emergency .NET security updates to patch a critical vulnerability known as Broccoli2Shell, also tracked as Node2Shell and HTTP2Shell.
  3. Node.js — Wednesday, October 21, 2026 Security Releases nodejs.org Node.js® is a free, open-source, cross-platform JavaScript runtime environment that lets developers create servers, web apps, command line tools and scripts.
  4. Node2Shell: From Brotli Data to Remote Code Execution | Imperva www.imperva.com Imperva Red Team demonstrated remote code execution against the official vulnerable Node.js build, then confirmed that the fixed release rejects the same Brotli input. Executive summary Node2Shell is Imperva Red Team’s…
  5. Broccoli2Shell: the Brotli decoder bug (CVE-2026-111497) broccoli2shell.com An out-of-bounds write in Google

← Back to all news