{"slug": "broccoli2shell-everything-you-need-to-know-about-the-critical-brotli-decoder", "title": "Broccoli2shell: Everything You Need To Know About The Critical Brotli Decoder Vulnerability", "summary": "A critical out-of-bounds write vulnerability in the Brotli C decoder, tracked as CVE-2026-111497 and named Broccoli2Shell, allows unauthenticated remote attackers to trigger memory corruption, disclose sensitive information, crash processes, or potentially achieve remote code execution, with fixes released for Google Brotli/libbrotli (1.0.10, 1.1.1, 1.2.1), Python Brotli (1.2.1), Node.js (22.23.4, 24.22.1, 26.12.1), Bun (1.4.4) and Envoy Proxy (1.36.12, 1.37.8, 1.38.6, 1.39.3, 1.40.0). Wiz data cited in the report found 91% of cloud environments have resources vulnerable to CVE-2026-111497 and 82% have publicly exposed Node.js instances. The flaw was discovered by Khai Tran and Sylvie Mayer of OpenAI Codex Security, with fixes implemented by Matteo Collina and Antoine du Hamel of Node.js, and exploitation demonstrated by Ron Masas of the Imperva Red Team.", "body_md": "A critical vulnerability, tracked as CVE-2026-111497 and referred to as Broccoli2Shell, has been identified in the Brotli decompression library. The vulnerability affects multiple widely used technologies, including Node.js, Bun, Envoy Proxy, and more. Successful exploitation could allow an unauthenticated remote attacker to trigger memory corruption, disclose sensitive information, crash affected processes, or potentially achieve remote code execution (RCE).\n\nOrganizations using affected components to decompress untrusted Brotli-compressed data are advised to prioritize remediation.\n\nCVE-2026-111497 was discovered and reported by Khai Tran and Sylvie Mayer (OpenAI Codex Security), with fixes implemented by Matteo Collina and Antoine du Hamel (Node.js). Ron Masas (Imperva Red Team) demonstrated its exploitability, while OpenSourceMalware and Aikido analyzed its impact on the Python ecosystem.\n\nWhat is CVE-2026-111497?\n\nBroccoli2Shell (a.k.a Node2Shell and HTTP2Shell) originates from an out-of-bounds write vulnerability in the Brotli decoder, a widely adopted compression component used to reduce the size of HTTP traffic and other data. The flaw occurs when the decoder improperly handles specially crafted compressed data during block-processing operations, potentially writing beyond allocated memory boundaries. An attacker can exploit this behavior by supplying malicious Brotli-compressed input to a vulnerable application, potentially resulting in memory disclosure, application crashes, or arbitrary code execution with the privileges of the affected process. Researchers have demonstrated successful exploitation against unpatched Node.js environments.\n\nAlthough initially associated with Node.js, the vulnerability originates in the upstream Brotli C decoder and extends to multiple downstream technologies that incorporate the affected component. Exploitation requires an application or dependency to decompress attacker-controlled Brotli data, either through incoming HTTP requests, externally fetched responses, or other untrusted compressed content. Certain HTTP clients and application frameworks may perform decompression automatically when Brotli support is enabled, potentially exposing applications even when Brotli is not explicitly referenced in application code.\n\nWiz Research data: what’s the risk to cloud environments?\n\nCloud environments are particularly exposed due to the widespread use of Brotli-enabled components across containerized applications, Kubernetes clusters, API gateways, reverse proxies, serverless workloads, and cloud-hosted web services. Internet-facing applications that process attacker-controlled requests, as well as internal services that retrieve compressed responses from untrusted external sources, may provide exploitation paths. Successful exploitation could enable attackers to compromise application workloads, access sensitive information, disrupt service availability, or execute malicious code within affected containers or runtime environments.\n\nAccording to Wiz data 91% of cloud environments have resources vulnerable to CVE-2026-111497, and 82% of cloud environments have publicly exposed Node.js instances.\n\nWhich products are affected?\n\nAdditional products that bundle or link against vulnerable versions of the Brotli C decoder may also be affected. Organizations should consult vendor-specific security advisories, particularly for statically linked libraries and embedded dependencies. End-of-life runtime branches should be migrated to supported versions.\n\nProduct\n\nAffected Versions\n\nPatched Versions\n\nGoogle Brotli / libbrotli\n\n1.0.3–1.2.0, excluding patched backports\n\n1.0.10, 1.1.1, 1.2.1\n\nPython Brotli\n\n1.0.3–1.2.0\n\n1.2.1\n\nPython brotlicffi\n\n1.0.3–1.2.0.x\n\n1.2.1.0\n\nNode.js\n\nUnpatched 22.x, 24.x, 26.x releases\n\n22.23.4, 24.22.1, 26.12.1\n\nBun\n\n1.0.21–1.4.3\n\n1.4.4\n\nEnvoy Proxy\n\n1.36.11, 1.37.7, 1.38.5, 1.39.2\n\n1.36.12, 1.37.8, 1.38.6, 1.39.3, 1.40.0\n\nIstio\n\n1.29.0–1.29.8, 1.30.0–1.30.5, 1.31.0–1.31.1\n\n1.29.9, 1.30.6, 1.31.2\n\nandybalholm/brotli (Go)\n\nVersions before v1.2.7\n\nv1.2.7\n\nWhich actions should security teams take?\n\nOrganizations should prioritize the following mitigation and remediation measures:\n\nApply security updates: Upgrade affected Brotli libraries, Node.js runtimes, Python packages, Bun, Envoy Proxy, and Istio deployments to their respective patched versions or later supported releases.\n\nIdentify vulnerable cloud workloads: Inventory virtual machines, Kubernetes clusters, containers, serverless functions, API gateways, and application dependencies for vulnerable Brotli components. Prioritize internet-facing services and workloads processing untrusted compressed data.\n\nReview application exposure: Identify applications that decompress Brotli-compressed HTTP requests, external HTTP responses, uploaded files, or other attacker-controlled content. Include indirect and transitive dependencies in the assessment.\n\nRebuild and redeploy affected workloads: Update container base images, dependency lockfiles, and bundled libraries. Rebuild and redeploy affected container images, restart running processes, and verify that patched components are loaded.\n\nImplement temporary mitigations: Where immediate patching is not possible, consider disabling Brotli decompression or rejecting Brotli-encoded requests before they reach vulnerable components. Restrict untrusted compressed responses where feasible. These controls may reduce exposure but do not replace patching.\n\nStrengthen monitoring and detection: Review WAF, application, and network logs for suspicious Brotli-compressed traffic, unexpected application crashes, and anomalous process behavior. Monitor affected workloads for indicators of exploitation.\n\nWiz customers can use the pre-built query and advisory in the Wiz Threat Center to search for vulnerable instances in their environment.\n\nWiz Research is tracking an ARTEX-using actor, overlapping with Storm-0940, across multiple targeted software vendors. Learn how the AI agent attacks Okta, Entra, and Cognito, and what it left behind in the logs.", "url": "https://wpnews.pro/news/broccoli2shell-everything-you-need-to-know-about-the-critical-brotli-decoder", "canonical_source": "https://www.wiz.io/blog/cve-2026-111497-brotli-rce-node-js", "published_at": "2026-10-25 14:46:53+00:00", "updated_at": "2026-11-09 02:05:16.563565+00:00", "lang": "en", "topics": ["ai-safety"], "entities": ["Brotli", "CVE-2026-111497", "Node.js", "Bun", "Envoy Proxy", "Wiz", "OpenAI Codex Security", "Imperva Red Team"], "also_reported_by": [], "takeaway": "Applications that decompress attacker-controlled Brotli data are exposed even without explicit Brotli references, so upgrading to patched versions such as Node.js 22.23.4, 24.22.1 and 26.12.1 or libbrotli 1.2.1 closes the out-of-bounds write.", "recommendation": null, "alternates": {"html": "https://wpnews.pro/news/broccoli2shell-everything-you-need-to-know-about-the-critical-brotli-decoder", "markdown": "https://wpnews.pro/news/broccoli2shell-everything-you-need-to-know-about-the-critical-brotli-decoder.md", "text": "https://wpnews.pro/news/broccoli2shell-everything-you-need-to-know-about-the-critical-brotli-decoder.txt", "jsonld": "https://wpnews.pro/news/broccoli2shell-everything-you-need-to-know-about-the-critical-brotli-decoder.jsonld"}}