Image: offsec.com · rights & removal
Node2Shell: The Brotli Decoder Flaw Behind CVE
Reporting by Offensive Security BlogRead the original at offsec.com
Executive Summary
A critical vulnerability designated CVE-2026-111497, widely known as Node2Shell or HTTP2Shell, affects the Brotli compression library versions 1.0.3 through 1.2.0 bundled across multiple software ecosystems including Node.js, Python, .NET, Bun, and Envoy. Caused by a missing error check in the decoder where invalid block-switches were mistakenly treated as a request for more data, the flaw triggers an out-of-bounds write that corrupts memory. Attackers can leverage unauthenticated network requests to achieve denial of service or remote code execution.
Node.js released security patches on October 21, 2026, alongside updates from other affected vendors. While security researchers demonstrated that remote code execution is possible, exploits remain unreliable and often result in service crashes rather than successful shells. Real-world exploitation attempts have been recorded, prompting CISA to add the vulnerability to its Known Exploited Vulnerabilities catalog. Mitigation requires upgrading affected runtimes, applying operating system packages, or implementing strict perimeter controls to intercept malformed compressed streams.
Facts Only
Google’s Brotli compression library versions 1.0.3 through 1.2.0 contain a missing error check vulnerability tracked as CVE-2026-111497.
The vulnerability results from invalid block-switch data being incorrectly handled as a need for more input, causing an out-of-bounds write in an internal streaming buffer.
Node.js released security updates for affected versions 22.x, 24.x, and 26.x on October 21, 2026.
Additional affected products include Python brotli packages, Microsoft .NET, Bun, Envoy, Istio, and various Linux distributions.
Severity ratings for the vulnerability range from 8.1 by Red Hat to 9.8 by the National Vulnerability Database.
Khai Tran and Sylvie Mayer of OpenAI Codex Security reported the flaw to the Node.js project.
Attack vectors include incoming HTTP request bodies, outgoing server-side fetch responses, and direct zlib function calls.
Security researchers demonstrated remote code execution, though exploits are noted as unreliable and frequently cause process crashes.
ELLIO sensors recorded the first known in-the-wild exploitation attempt against Node.js on October 26, 2026.
CISA added CVE-2026-111497 to its Known Exploited Vulnerabilities catalog on October 27, 2026, with a federal remediation deadline of November 10, 2026.
Full Take
This text functions as a technical vulnerability advisory, synthesizing threat intelligence, timelines, and remediation paths for a critical software flaw.
The narrative outlines a systemic risk arising from code reuse: a single error-handling oversight introduced in a widely utilized C library in 2018 remained dormant for over eight years, subsequently propagating across diverse technology stacks. This highlights the fragility of foundational software infrastructure, where low-level parsing routines can become high-severity attack surfaces when exposed to untrusted network input. The disclosure timeline reveals a concerning gap: a public fix existed in the repository for eight months before an official security advisory and release cycle materialized, underscoring the friction between open-source code maintenance and coordinated vulnerability disclosure.
From a defensive perspective, the incident demonstrates the limitations of version string checks and automated remediation. Because dependency management is fragmented—with some projects embedding libraries directly and others relying on system packages—patching requires a multi-layered inventory across container images, runtimes, and operating systems. Furthermore, the operational reality that exploits frequently cause crashes rather than reliable code execution emphasizes that denial of service remains an immediate, high-probability operational threat alongside theoretical remote code execution.
What systemic assumptions about software supply chain trust are revealed when an eight-month-old patch in a public repository goes unreleased until triggered by external reporting? How do organizations balance the friction of rapid dependency updates against the operational risk of unstable exploit payloads that crash production services?
Patterns detected: none
From the original · Offensive Security Blog
Nov 30, 2026 Node2Shell: The Brotli Decoder Flaw Behind CVE-2026-111497 Learn all about CVE-2026-111497 – a flaw affects the Brotli code included with Node.js that can let attackers run code on the server. A missing error check in Google’s Brotli compression library can let a malicious compressed stream corrupt a program’s memory.Read the full story at offsec.com
Sentinel unavailable
The automated check of the source article's wording did not complete, so no result is shown.
This looks only at the wording of the original source article, not at this page's AI-written sections. A small local AI model made this estimate. It has not been checked against known human and machine texts, so treat it as provisional. It cannot show who wrote an article.
