# Brotli decoder flaw reaches Python, Envoy, Bun and Istio

Cite as: Gloqo AI, "Brotli decoder flaw reaches Python, Envoy, Bun and Istio", reviewed 1 Nov 2026, https://www.gloqo.ai/security-updates/advisories/brotli-2026-10-23/.

Gloqo reviewed the vendor and CNA records on 1 Nov 2026. Those sources are the authority for the vulnerability.

Product: Brotli
Published: 2026-10-23
Reviewed: 2026-11-01T22:09:00Z

## Summary

Google's CVE record describes an out-of-bounds write in the Brotli decoder. A remote unauthenticated attacker can use a crafted compressed stream to corrupt adjacent decoder memory, disclose memory, crash the process, or potentially run code. On October 23, Envoy and Bun published advisories for copies they bundle, and the GitHub advisory mapping the CVE to the PyPI packages was updated. OpenAI, credited as the finder, says an unpatched peer that accepts compressed input can be taken over from the other side of the connection.

## Affected

Google Brotli 1.0.3 before 1.0.10, 1.1.0 before 1.1.1, and 1.2.0 before 1.2.1. PyPI Brotli 1.0.3 before 1.2.1, and brotlicffi 1.0.3 before 1.2.1.0. Envoy v1.39.2, v1.38.5, v1.37.7 and v1.36.11 when the Brotli decompressor is configured. Bun 1.0.21 before 1.4.4. Istio 1.31.0 to 1.31.1, 1.30.0 to 1.30.5 and 1.29.0 to 1.29.8 when Brotli decompression is enabled. Node.js 22.x, 24.x and 26.x are covered by the October 21 bulletin linked from this entry. In .NET, attacker-controlled Brotli must reach explicit System.IO.Compression APIs or enabled ASP.NET Core request/HttpClient response decompression; neither automatic path is enabled by default. .NET Framework is unaffected. PHP's official Windows builds can reach the vulnerable decoder through the cURL extension when automatic HTTP response decompression is enabled; cURL disables it by default, but applications or HTTP clients can enable it. Red Hat lists RHEL 7, 8, 9 and 10 as directly affected where applications decompress untrusted Brotli, and is analyzing other products. Palo Alto Networks reports PAN-OS 11.2, 12.1 and 12.2 exposure on PA-Series and VM-Series dataplanes only when Brotli inspection and TLS/SSL decryption are enabled; Brotli inspection is disabled by default in 11.2.4 and later and unsupported before 11.2.4. The management interface and Panorama are not affected, nor are PAN-OS 11.1 or 10.2. Prisma Cloud Application Security Transporter Client versions before 0.2.9 are affected. CloudLinux says alt-php Brotli extensions bundle a separate decoder, so system-library updates do not fix them. Exposure requires decoding untrusted Brotli; output compression is not affected. alt-php53-brotli 0.5.0 is unaffected because its bundled Brotli predates the vulnerable code. XS::libbrotli before 1.2.1.0 statically bundles a vulnerable Brotli decoder used by dependent XS modules; exposure requires decoding untrusted data.

## Fix

Update Google Brotli to 1.0.10, 1.1.1 or 1.2.1 on the matching release line. Update PyPI Brotli to 1.2.1 and brotlicffi to 1.2.1.0. Update Envoy to v1.40.0, v1.39.3, v1.38.6, v1.37.8 or v1.36.12. Update Bun to 1.4.4 or later and rebuild executables made with bun build --compile. Bun says there is no process-wide workaround; an individual fetch can set decompress to false. Update Istio to 1.31.2, 1.30.6 or 1.29.9. Istio 1.29.9 is the final 1.29 release. Node.js fixes are 22.23.4, 24.22.1 and 26.12.1. OpenAI says other software that bundles Brotli still needs its own update. Microsoft's October 25 fixes are .NET 8.0.33, 9.0.22, 10.0.14 and .NET 11 RC3. Restart framework-dependent applications; rebuild/republish self-contained applications and container images. Until updated, avoid decoding attacker-controlled Brotli. Cloudflare announced two incoming-request detections, for Content-Encoding: br and /_next/image, that will default to Log, not blocking. Review ruleset-level Block overrides: they can block legitimate Brotli bodies or optimized images. The first rule does not match Accept-Encoding: br or change response compression. These detections do not replace patching. For official PHP Windows builds, install the rebuilt 8.5.12-1, 8.4.27-1, 8.3.36-1 or 8.2.35-1 package, which includes Brotli 1.2.1. The -1 is a package rebuild with unchanged PHP source and runtime versions, so verify the installed package rather than relying only on the PHP runtime version. Ubuntu's USN-8956-1 lists fixed brotli, libbrotli1 and python3-brotli package versions for 26.10 (1.2.0-4ubuntu0.1), 26.04 LTS (1.2.0-3ubuntu0.1), 24.04 LTS (1.1.0-2ubuntu0.1) and 22.04 LTS (1.0.9-2ubuntu0.1). Red Hat advises applying available errata as issued, rebuilding customer containers when updated base images are available, and limiting untrusted Brotli decompression until patched. Fastly announced a virtual patch on October 26. It says the patch is enabled automatically only for workspaces where Automatic CVE Virtual Patching was already enabled; otherwise activate and configure it in the relevant control panel. Confirm Log versus Block behavior, and continue applying vendor fixes. For affected PAN-OS configurations, Palo Alto lists released fixes by branch: 12.2.4-h1, 12.1.4-h13, 12.1.7-h11, 12.1.10-h3, 11.2.4-h23, 11.2.7-h23, 11.2.10-h17, 11.2.13-h4 and 11.2.16-h1. Check the vendor table for the applicable branch and version. PAN-OS 11.2.10-h16 fixes PHP only; h17 fixes both PHP and Brotli. If a fix cannot be applied, disable Brotli inspection as the vendor directs. Update the Prisma Cloud Application Security Transporter Client to 0.2.9 or later. CloudLinux October 30 guidance lists brotli-1.0.9-10.el7.tuxcare.els1 for CloudLinux 7/CentOS 7 ELS and ea-brotli-1.0.10-1 in the CloudLinux 7 EasyApache stable channel. Restart consuming services after updating. Fixed alt-php extension builds are 0.21.1-1 for PHP 7.0-8.5 and 0.14.2-7 for PHP 5.4-5.6: on CloudLinux 7 these remain in updates-testing; restart PHP after updating. Administrators waiting for stable can disable the extension if their sites do not need it. CloudLinux 8/9 alt-php fixes were not yet published and had no release date; do not confuse their status with system-library fixes supplied through AlmaLinux repositories. For XS::libbrotli, upgrade to 1.2.1.0 or later and reinstall every XS module built against it. Updating the system Brotli library alone does not fix the statically bundled copy.

## Evidence

On October 27 CISA added CVE-2026-111497 to its Known Exploited Vulnerabilities Catalog, indicating evidence of exploitation in the wild. CISA does not identify the affected downstream products, victims, or campaign details, and lists ransomware use as unknown. Bun says it has not tested an attack against Bun and still treats the issue as a remote code execution risk. ELLIO's October 25 research reports lab RCE on official Node.js 24.22.0 x86-64 binaries across four targets, with service-account privileges. Its observed exposure-check scans contained no vulnerable block-switch construct in any of twenty requests; those scans alone were not confirmation of exploitation.

## Severity

Google rates CVE-2026-111497 critical: CVSS v4.0 9.2. Node.js rates the bundled decoder high. Envoy rates its advisory critical, and Bun rates its advisory high. Microsoft rates the .NET impact High, CVSS v3.1 8.1.

## Context

Google Brotli commit 0ed4268, dated 27 February 2026, changes the decoder. Its message is 'Detect and report invalid stream earlier.' Brotli 1.2.1, released 21 October 2026, is the release that names CVE-2026-111497. OpenAI says that February change was not recognized as a security issue and that no release shipped it until October. Istio documented its fix on 15 October. Node.js documented its fix on 21 October. The GitHub advisory title uses the name Node2Shell. Aikido's 23 October write-up uses HTTP2Shell. The Google CVE record uses neither name. October 25 adds new lab research, a Cloudflare detection-rollout announcement and .NET fixes, not a new Brotli CVE. The separate .NET entry covers the release's other three CVEs. On October 26 PHP rebuilt Windows packages and Ubuntu published distribution package fixes for the same Brotli CVE, not a new PHP source vulnerability. On October 27 CISA listed the same CVE as known exploited; this is a material exploitation-status update, not a new vulnerability.

## CVEs

- [CVE-2026-111497](https://www.cve.org/CVERecord?id=CVE-2026-111497)
- [CVE-2026-115946](https://www.cve.org/CVERecord?id=CVE-2026-115946)

## Related

- [Node.js security releases cover runtime and dependency issues](https://www.gloqo.ai/security-updates/advisories/nodejs-2026-10-21.md)

## Sources

1. [Envoy advisory: Brotli decompressor out-of-bounds write](https://github.com/envoyproxy/envoy/security/advisories/GHSA-3wvj-j6qm-62mr)
2. [Google CVE record: CVE-2026-111497](https://www.cve.org/CVERecord?id=CVE-2026-111497)
3. [Bun advisory: bundled Brotli decoder](https://github.com/oven-sh/bun/security/advisories/GHSA-663w-cv8g-jj2p)
4. [GitHub advisory: PyPI Brotli and brotlicffi](https://github.com/advisories/GHSA-9v8h-qqgm-4m35)
5. [OpenAI: Brotli finding from the containment red team](https://x.com/OpenAI/status/2113766354386084338)
6. [Istio security bulletin ISTIO-SECURITY-2026-007](https://istio.io/latest/news/security/istio-security-2026-007/)
7. [Node.js October 21 security bulletin](https://nodejs.org/en/blog/vulnerability/october-2026-security-releases)
8. [Microsoft: .NET Brotli exposure and October 25 fixed packages](https://github.com/dotnet/announcements/issues/494)
9. [PHP: October 26 Windows package rebuilds for Brotli](https://www.php.net/archive/2026.php#2026-10-26-1)
10. [Red Hat: RHSB-2026-015 Brotli exposure and mitigations](https://access.redhat.com/security/vulnerabilities/RHSB-2026-015)
11. [Palo Alto Networks: Brotli product status and mitigations](https://security.paloaltonetworks.com/CVE-2026-111497)
12. [CloudLinux: October 30 Brotli package fixes and rollout limits](https://cloudlinux.zendesk.com/hc/en-us/articles/31345594031132-Brotli-CVE-2026-111497-on-CloudLinux-OS-affected-packages-and-fixed-versions)
13. [CPANSec CNA record: XS::libbrotli CVE-2026-115946](https://www.cve.org/CVERecord?id=CVE-2026-115946)
14. [Brotli 1.2.1 security release](https://github.com/google/brotli/releases/tag/v1.2.1)
15. [Microsoft: October 25 .NET out-of-band release](https://devblogs.microsoft.com/dotnet/dotnet-october-2026-oob-security-updates/)
16. [Cloudflare: October 25 emergency WAF announcement and Log defaults](https://developers.cloudflare.com/changelog/post/2026-10-25-emergency-waf-release/)
17. [Ubuntu: USN-8956-1 Brotli package updates](https://ubuntu.com/security/notices/USN-8956-1)
18. [Fastly: October 26 Brotli virtual patch and activation](https://www.fastly.com/documentation/reference/changes/2026/10/added-virtual-patch-for-cve-2026-111497/)
19. [CISA Known Exploited Vulnerabilities Catalog, October 27](https://raw.githubusercontent.com/cisagov/kev-data/main/known_exploited_vulnerabilities.json)
20. [ELLIO: October 25 x86-64 Node.js lab reproduction and exposure checks](https://ellio.tech/en/blog/node2shell-cve-2026-111497-rce-on-stock-nodejs-builds/)
21. [Brotli commit 0ed4268, 27 February 2026](https://github.com/google/brotli/commit/0ed4268a4401abcb4472096340477cf4af7d1a2b)
22. [Aikido: Node2Shell widened beyond Node.js](https://www.aikido.dev/blog/python-packages-vulnerable-node2shell-brotli-cve-2026-111497)
23. [Brotli product background: compression library](https://github.com/google/brotli)
