---
title: "HTTP2Shell (Node2Shell) Checker — CVE-2026-111497 Brotli Fix for Node.js, Bun, Python | fbuff"
description: "Is your Node.js, Bun or Python Brotli patched against HTTP2Shell (CVE-2026-111497)? Paste a version to check, see every fixed release, and copy commands to update or block Brotli input."
url: https://fbuff.com/tools/http2shell-checker/
---

![Compressed data blocks flowing into a server, with a shield stopping one cracked block and a patch on the rack](https://fbuff.com/content/http2shell-checker.webp)

## How to use

1. Read the first sections below to see what goes wrong in the Brotli decoder and where your apps decode Brotli without asking.
2. Choose what to check: Node.js, Bun, the Python Brotli or brotlicffi package, the Brotli library itself, or a Debian/Ubuntu brotli package.
3. Run the command shown under How to get it on the server, in the container image or in CI, and paste the output (or just the version).
4. Read the verdict and the fixed version, copy the update command, then restart the service and rebuild images. If you can't update today, copy a temporary block from the bottom of the tool.

## What happened

On October 21, 2026, Node.js released 22.23.4, 24.22.1 and 26.12.1 to fix CVE-2026-111497, first nicknamed Node2Shell. Within days it turned out to sit in Google's Brotli decompression library (versions 1.0.3 to 1.2.0), which many other programs embed, so it was renamed HTTP2Shell. The name is misleading: it has nothing to do with the HTTP/2 protocol. Google rates it 9.2 on CVSS 4.0; Node.js rates it high. The bug was reported to Node.js by OpenAI's Codex Security team.

## What causes it, in plain words

Brotli is the compression behind Content-Encoding: br, the format browsers and servers use to make web pages smaller. A Brotli stream is cut into blocks, and the stream says up front how many block types it uses; the decoder can then be told to switch from one type to another. A stream that declares a single block type and then asks to switch is simply broken.

The old decoder handled that case wrongly. The function that processes a block switch only answered yes or no, and the decoder read the no as "I need more input" instead of "this data is invalid". So it kept waiting, and kept appending each new incoming byte to a small internal buffer of eight bytes, past its end and into whatever memory came next. Writing attacker-chosen bytes into neighboring memory is how a crash becomes code execution. Think of a clerk who finds a form that makes no sense, says "I'll wait for the rest", and keeps stapling every page that arrives into a folder with room for one.

The fix (Brotli commit 0ed4268, in 1.0.10, 1.1.1 and 1.2.1) makes the decoder stop with a format error the moment it sees that switch.

## Where your software decodes Brotli without asking

![Two paths of compressed data reaching a Brotli decoder: a request sent to a server and a response downloaded from an unknown server](https://fbuff.com/content/http2shell-checker-exposure.webp)

Incoming requests: Express 5 decodes Brotli request bodies through body-parser 2.x, which inflates by default. Sysdig and Semgrep also name Koa (co-body, @koa/bodyparser, koa-body), Egg, Strapi and Fastify with @fastify/compress. A bare Node.js HTTP server and Express 4 do not decode Brotli bodies. Apache mod_brotli and nginx only compress responses.

Outgoing requests: when your app fetches a URL, the HTTP client decodes a Brotli response on its own. Node.js fetch() does this whenever the response says Content-Encoding: br, even if you asked for identity, and so do Bun fetch() and Python's requests, urllib3, httpx and aiohttp when a Brotli package is installed. Any server you call, or any link a user can make you fetch (webhooks, link previews, scrapers), can send the bad data.

Elsewhere: JFrog showed the same decoder reachable from .NET (HttpClient automatic decompression, ASP.NET Core request decompression), FFmpeg through JPEG XL images, Apache Arrow and ClickHouse. Microsoft shipped an emergency .NET update.

## Is it being exploited?

Imperva got code execution on the official Node.js 24.22.0 image, after several attempts, and confirmed 24.22.1 rejects the same input. Public proofs of concept mostly crash the process. Reports differ on attacks: BleepingComputer said on October 26 that none were known, while Sysdig wrote on October 28 that ELLIO had confirmed exploitation on October 26. Treat it as exploited.

## Fixed versions

![A server with an update arrow and a container image being rebuilt with a wrench](https://fbuff.com/content/http2shell-checker-update.webp)

Run node --version inside the real runtime (each container image, CI runner and serverless function), not only on the host; a tag such as node:24 doesn't show the patch number. For Python, run pip show Brotli brotlicffi in every environment. Node.js normally bundles its own Brotli, so updating the system library doesn't fix it; Debian's Node.js is the exception and uses the system brotli package. Bun binaries built with bun build --compile stay vulnerable until rebuilt.

| Software | Fixed in |
| --- | --- |
| Node.js 22 / 24 / 26 | 22.23.4 / 24.22.1 / 26.12.1 |
| Node.js 20, 23, 25 and older | No fix (end of life) |
| Bun | 1.4.4 |
| Python Brotli / brotlicffi | 1.2.1 / 1.2.1.0 |
| Google Brotli library | 1.0.10, 1.1.1, 1.2.1 |
| Debian 12 / 13 | 1.0.9-2+deb12u1 / 1.1.0-2+deb13u1 |

## Ways to protect your apps

![A gateway shield stopping a cracked compressed data block while ordinary messages pass through](https://fbuff.com/content/http2shell-checker-block.webp)

Patch: update the runtime or package, restart every process, and rebuild and redeploy container images on a patched base image.

Close the inbound path: reject requests whose Content-Encoding contains br at the reverse proxy or load balancer, or turn off request decompression in the framework (express.json({ inflate: false }), which also rejects gzip bodies, so test clients first).

Close the outbound path: removing br from Accept-Encoding is not enough, because a malicious server can send Brotli anyway. Disable decompression for untrusted URLs (Bun: fetch(url, { decompress: false })) or, in Python, uninstall Brotli and brotlicffi until you update.

Limit the damage and watch: run Node.js as an unprivileged user, keep secrets out of its environment, and alert when a Node or Python process crashes during decompression and then starts a shell or opens an unexpected connection. A crash alone is not proof of an attack, but it is worth a look.

## Frequently asked questions

### Is HTTP2Shell the same as Node2Shell?

Yes. Both names refer to CVE-2026-111497. HTTP2Shell came into use on October 23 as the bug turned out to affect more than Node.js.

### Is it related to PHP2Shell?

No. PHP2Shell (CVE-2026-109618 and CVE-2026-109619) is a separate flaw in PHP, disclosed the same week. Check PHP with the PHP2Shell Checker.

### My site runs on nginx or Apache. Am I affected?

Not through the web server itself in its default setup. You can still be affected through an application behind it, such as a Node.js, Python or .NET app, or through anything that fetches URLs and decodes Brotli.

### Are browsers affected?

The fixes and reports so far are for servers, runtimes and libraries. Keep your browser updated anyway; it updates itself in the background.

### Is what I paste uploaded?

No. The version check runs in your browser, and nothing you paste leaves your device.

Found a problem or have an idea? [Report a problem](https://fbuff.com/contact/?tool=http2shell-checker)

Share

## You might also like

- - [PHP2Shell Checker Check if your PHP version is patched against PHP2Shell (CVE-2026-109618, CVE-2026-109619) from php -v or phpinfo() output.](https://fbuff.com/tools/php2shell-checker/)
- - [KSMBD Exposure Checker Paste a few command outputs to see if a Linux server is exposed to the unpatched KSMBD flaws ZDI-CAN-33774 and ZDI-CAN-33549, and turn KSMBD off.](https://fbuff.com/tools/ksmbd-checker/)
- - [CVE-2026-98432 Checker Check if a Linux server has the IPv4 TCP use-after-free CVE-2026-98432 (CVSS 9.8) that Anthropic exploited over MPTCP, and how to patch or harden it.](https://fbuff.com/tools/cve-2026-98432-checker/)
- - [SSHole Checker (CVE-2026-123158) Check if an Alpine Linux server is open to the OpenSSH SSHole password bypass (CVE-2026-123158), see the fixed openssh package for each branch, and turn password logins off.](https://fbuff.com/tools/sshole-checker/)
- - [NGINX2Root Checker (CVE-2026-123007) Check if your nginx is open to the HTTP/2 remote code execution flaws CVE-2026-123007 and CVE-2026-123633 (NGINX2Root), see the fixed versions and how to turn HTTP/2 off until you upgrade.](https://fbuff.com/tools/nginx2root-checker/)
- - [Java2Shell Checker (CVE-2026-114938) Check if your Java runtime is affected by Java2Shell / Java4Shell (CVE-2026-114938), the HotSpot Base64 heap overflow on AVX-512 CPUs, with the fixed versions and the workaround flag.](https://fbuff.com/tools/java2shell-checker/)
- - [DarkSword iPhone Check Type your iOS version to see if your iPhone is open to DarkSword or P7 DarkSword spyware, and the update that fixes it.](https://fbuff.com/tools/darksword-check/)
- - [Chrome Zero-Day Check See if your Chrome is patched against the newest zero-day exploited in attacks (CVE-2026-125350), with the safe version numbers and how to update and relaunch.](https://fbuff.com/tools/chrome-zero-day-check/)
- - [Password Generator Generate strong random passwords instantly. 100% client-side.](https://fbuff.com/tools/password-generator/)
- - [2FA Code Generator Generate TOTP codes from your 2FA secret key. Never leaves your browser.](https://fbuff.com/tools/2fa-code/)
