What to do5 steps
Upgrade Envoy to 1.36.12, 1.37.8, 1.38.6, 1.39.3 or 1.40.0.
No workaround is published.
Upgrade Bun to 1.4.4 and rebuild compiled executables.
Rebuild every
bun build --compileexecutable. Until then, passdecompress: falsetofetchcalls that reach untrusted servers.Rebuild ngx_brotli against Brotli 1.2.1.
This applies to nginx with the ngx_brotli module.
Update the distribution brotli package, then restart services.
Restart the services that load it. A system update does not fix a program with its own copy; search vendored source for
BROTLI_DECODER_ERROR_FORMAT_BLOCK_SWITCH, which only fixed code has.Refuse untrusted
Content-Encoding: brrequest bodies at the proxy.Do this where you can.
Are you affected?only if all are true
- Envoy with the Brotli decompressor configured, on any platform.
- Bun from 1.0.21 below 1.4.4: fetch() decoding a Content-Encoding: br response (br is in its default Accept-Encoding), node:zlib Brotli calls, or DecompressionStream with the brotli format.
- Any other server or client that decodes attacker-supplied Brotli with a bundled or system Brotli 1.0.3 to 1.2.0.
Check your version
- Envoy
envoy --version - Bun
bun --version - System brotli package
dpkg -l | grep -i brotli - System brotli package
rpm -qa | grep -i brotli - System brotli package
apk info -v | grep -i brotli - System brotli package
brew list --versions brotli - curl (lists the brotli it links)
curl --version - Prompt for your own agent, read-onlyAm I affected by HTTP2Shell?
Read the prompt
Check whether the systems I am authorized to inspect are affected by HTTP2Shell (CVE-2026-111497). The Brotli decoder out-of-bounds write as it reaches HTTP stacks beyond Node.js: Envoy's Brotli decompressor, Bun's fetch and zlib, ngx_brotli and the Linux distribution packages. It is exploitable under these conditions: - Envoy with the Brotli decompressor configured, on any platform. - Bun from 1.0.21 below 1.4.4: fetch() decoding a Content-Encoding: br response (br is in its default Accept-Encoding), node:zlib Brotli calls, or DecompressionStream with the brotli format. - Any other server or client that decodes attacker-supplied Brotli with a bundled or system Brotli 1.0.3 to 1.2.0. Fixed releases: - Envoy: 1.36.12 (branch 1.36), 1.37.8 (branch 1.37), 1.38.6 (branch 1.38), 1.39.3 (branch 1.39), 1.40.0 (branch 1.40) The advisory lists 1.36.11, 1.37.7, 1.38.5 and 1.39.2 as affected. - Bun: 1.4.4 (branch 1.4); before 1.0.21 is not affected Executables built with bun build --compile stay affected until rebuilt with 1.4.4. Commands the catalog lists to find the version or the setting (read each one before you run it): - Envoy: envoy --version - Bun: bun --version - System brotli package: dpkg -l | grep -i brotli - System brotli package: rpm -qa | grep -i brotli - System brotli package: apk info -v | grep -i brotli - System brotli package: brew list --versions brotli - curl (lists the brotli it links): curl --version What the catalog says to do on an affected system (report these, do not carry them out): 1. Upgrade Envoy to 1.36.12, 1.37.8, 1.38.6, 1.39.3 or 1.40.0. 2. Upgrade Bun to 1.4.4 and rebuild compiled executables. 3. Rebuild ngx_brotli against Brotli 1.2.1. 4. Update the distribution brotli package, then restart services. 5. Refuse untrusted Content-Encoding: br request bodies at the proxy. For each host, container image or application, report affected, not affected, fixed or unknown, with the evidence, and list anything you could not access. Work read-only: do not change configuration, restart services or send exploit input. More: https://brotli.2shell.wtf/http2shell
Affected versions6 branches
| Envoy branch | Fixed in |
|---|---|
| 1.36 | 1.36.12 |
| 1.37 | 1.37.8 |
| 1.38 | 1.38.6 |
| 1.39 | 1.39.3 |
| 1.40 | 1.40.0 |
The advisory lists 1.36.11, 1.37.7, 1.38.5 and 1.39.2 as affected.
| Bun branch | Fixed in |
|---|---|
| 1.4 | 1.4.4 |
Bun before 1.0.21 is not affected.
Executables built with bun build --compile stay affected until rebuilt with 1.4.4.
Proof of concept1 public PoC
For testing systems you own or are authorized to test. A PoC repository can be fake or carry malware: read it before you run it.
- Open the PoC
Public proof of concept on GitHub. The most-starred for this CVE, dimasma0305/CVE-2026-111497-POC, includes a network Express RCE profile against its own loopback lab; dedicated http2shell PoCs only crash or hang the server.
Timeline4 events
Patched
Google Brotli 1.2.1 released
Public PoC
Public proof of concept on GitHub. The most-starred for this CVE, dimasma0305/CVE-2026-111497-POC, includes a network Express RCE profile against its own loopback lab; dedicated http2shell PoCs only crash or hang the server.
Patched
Envoy and Bun 1.4.4 advisories published
Added to CISA KEV
Added to CISA Known Exploited Vulnerabilities
Sources8 links
Sources checked on . This page tells you how to check and what to install. It cannot tell you that you are safe.
5 changes since it was published
- Linked the most-starred public proof of concept (shared CVE-2026-111497).
- Remediation steps got short titles; no fact changed.
- Updated source links that moved to a new address.
- Added the Cloudflare Zero Wire briefing.
- Added the CISA KEV listing and the curl and Homebrew version checks.