Critical Brotli Decoder Flaw (CVE‑2026‑111497) in Microsoft .NET Enables Remote Code Execution and Privilege Escalation
What It Is — Microsoft disclosed a critical‑severity vulnerability in the Brotli compression library used by .NET 8‑10 (and the .NET 11 release candidate). The flaw, catalogued as CVE‑2026‑111497 and nicknamed Broccoli2Shell (also known as Node2Shell or HTTP2Shell), is an out‑of‑bounds write in the Brotli decoder. When a maliciously crafted Brotli‑compressed stream is processed, the decoder can corrupt memory, causing crashes, memory leaks, or, in the worst case, remote code execution (RCE) on the host. Because the same code path is used by ASP.NET Core request decompression, HttpClient automatic response decompression, and the low‑level System.IO.Compression.Brotli APIs, any .NET application that opts‑in to Brotli handling is potentially vulnerable.
The vulnerability also permits privilege escalation on systems that run a vulnerable .NET runtime with non‑default configurations. Attackers can leverage the out‑of‑bounds write to execute code in the context of the .NET process, then attempt to elevate to higher‑privileged accounts on the host. Microsoft’s advisory notes that while Brotli decompression is not enabled by default in a fresh .NET or ASP.NET Core install, many production deployments manually enable it for performance gains, exposing a sizable attack surface.
Affected Products — Microsoft .NET 8 (runtime 8.0.33), .NET 9 (runtime 9.0.22), .NET 10 (runtime 10.0.14), and .NET 11 RC 3. Any application that uses ASP.NET Core request decompression, HttpClient response decompression, or directly invokes the System.IO.Compression.Brotli APIs on these runtimes is in scope.
Why It Matters for Trust & Control Assurance — The flaw tests the vulnerability‑management / patch‑deployment control that underpins many compliance regimes. Demonstrating timely patching and evidence of remediation directly supports a single control objective that maps to NIST CSF 2.0, ISO 27001, and other frameworks.
Recommended Actions —
- Apply the out‑of‑band updates for .NET 8, 9, 10, and the .NET 11 RC 3 as soon as they are available.
- Inventory all applications that bundle their own Brotli library; the system‑wide update does not protect these binaries.
- Temporarily block or filter Brotli‑compressed traffic at the network edge (proxy, WAF, or firewall) for any host that cannot be patched immediately.
- Disable Brotli decompression in ASP.NET Core and HttpClient configurations until the patch is applied.
- Validate remediation by scanning for the patched version numbers and confirming that no unpatched Brotli DLLs remain on the host.
- Document the patch cycle in your change‑management system to provide audit‑ready evidence of compliance.