Microsoft Pushes Emergency .NET Updates to Fix Critical Brotli Flaw
Microsoft has released a .NET emergency update for .NET 8, 9, 10 and the .NET 11 preview. The main fix is for a memory corruption bug in Brotli decompression. The flaw is tracked as CVE-2026-111497, and OpenAI’s AI red-teaming work first brought it to light.
The updates came out on October 25, less than two weeks after the regular October Patch Tuesday.
What the flaw does
According to Microsoft, CVE-2026-111497 is a buffer overflow in how .NET decompresses Brotli data. An attacker who hasn’t logged in could use it to read or corrupt an app’s memory. That could lead to data leaks, crashes or privilege escalation. The bug affects .NET on every platform.
Brotli is a common compression format on the web. Microsoft gives no CVSS number, but The Hacker News reports a CVSS score of 9.2 for the underlying Brotli flaw. It also notes that patches have shipped for libbrotli, Python, Node.js, Bun, Envoy and Istio. On October 26, PHP also released updated Windows builds that bundle the fixed Brotli 1.2.1, since the bug can be reached through PHP’s cURL extension, The Hacker News reports. Some researchers are calling the bug “Node2Shell” or “HTTP2Shell.”
Are you affected?
Your .NET app is exposed mainly if it handles Brotli-compressed data in one of three ways:
- ASP.NET Core request decompression
- HttpClient automatic response decompression
- The System.IO.Compression Brotli APIs
The first two are off by default, which limits exposure for many apps. The older .NET Framework is not affected. Microsoft rates the flaw Critical for .NET and Visual Studio and Important for PowerShell, and it shipped out-of-band updates for Visual Studio and PowerShell too. It lists the bug as publicly disclosed but not yet exploited, and says exploitation is more likely. On October 26, security firm ELLIO recorded the first exploit attempt in the wild, aimed at a Node.js server, and advised treating the flaw as exploited. No attacks on .NET apps have been reported. The flaw was still not on CISA’s Known Exploited Vulnerabilities list as of October 26. A public proof of concept on GitHub can crash unpatched software and leak limited memory. Imperva’s Red Team says it got remote code execution against a stock Node.js build, but it has not released that exploit.
Fixed versions
- .NET 8.0.33
- .NET 9.0.22
- .NET 10.0.14
- .NET 11 RC3 (RC2 users should move to RC3)
To see which runtimes you have installed, run dotnet --list-runtimes.
Updating the runtime may not be enough
How you patch depends on how your app is deployed:
- Framework-dependent apps: install the new runtime, then restart the app.
- Self-contained apps: rebuild and republish. These apps bundle their own copy of .NET, so a newer runtime on the server doesn’t fix them.
- Containers: rebuild and redeploy using the updated .NET images.
This release also fixes CVE-2026-114148, a Linux tarball issue that could let a local attacker gain higher privileges. Microsoft also re-released fixes for two older bugs (CVE-2026-70197 and CVE-2026-102870) that the October 13 updates didn’t fully fix.
Cloudflare adds WAF rules
Cloudflare has also added two emergency rules to its managed firewall ruleset. One flags requests with Brotli-compressed bodies, and the other flags traffic to the Next.js image endpoint. Both start in log-only mode. Cloudflare suggests reviewing what they catch before switching them to block.
The AI angle
The bug came out of OpenAI’s large-scale red-teaming campaign. OpenAI set teams of AI agents loose to try to break out of its own training sandboxes. In an October 23 post, OpenAI said the agents chained together flaws to escape their virtual machines. It said it has sent fixes to projects including gVisor, Kata Containers and Docker. A widely used library like Brotli now needing emergency patches across many platforms shows how quickly AI-driven security research is finding serious bugs.
Bottom line: If you run .NET services that accept Brotli-compressed traffic, update now. Self-contained apps and containers need a full rebuild, not just a runtime update.
Sources: Microsoft .NET Blog, The Hacker News, OpenAI, GBHackers on Cloudflare’s rules, TNW