CVE-2026-102870 ASP.NET Core Remote Code Execution Vulnerability
An unauthorized attacker can execute arbitrary code over the network via improper code generation in ASP.NET Core.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2026-102870?
CVE-2026-102870 is a high-severity code injection vulnerability in Microsoft .NET 10.0 installed on Linux, published on 13 Oct 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
Improper control of generation of code ('code injection') in ASP.NET Core allows an unauthorized attacker to execute code over a network.
Weakness: CWE-94
Which versions are affected by CVE-2026-102870?
4 open source packages ship an affected version, including Microsoft.AspNetCore.Components.WebAssembly.Server.
| Package | Affected | Fixed in |
|---|---|---|
Microsoft.AspNetCore.Components.WebAssembly.Server NuGet | From 10.0.0 | 10.0.13 |
Microsoft.AspNetCore.Components.WebAssembly.Server NuGet | From 10.0.0 | 10.0.13 |
Microsoft.AspNetCore.Components.WebAssembly.Server NuGet | From 11.0.0-preview.1 | 11.0.0-rc.2.26478.115 |
Microsoft.AspNetCore.Components.WebAssembly.Server NuGet | From 11.0.0-preview.1 | 11.0.0-rc.2.26478.115 |
How do I fix CVE-2026-102870?
Upgrade Microsoft.AspNetCore.Components.WebAssembly.Server to a fixed version for your release line: 10.0.13 or 11.0.0-rc.2.26478.115.
Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.
Is CVE-2026-102870 being exploited?
There is no known exploitation of CVE-2026-102870 in the wild and no public exploit code.
Sources
Also known as GHSA-g27p-qf6j-c96c, UBUNTU-CVE-2026-102870.