high8.8
CVE-2026-102870
Improper control of generation of code ('code injection') in ASP.NET Core allows an unauthorized attacker to execute code over a network.
Impact
Improper control of generation of code ('code injection') in ASP.NET Core allows an unauthorized attacker to execute code over a network.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| nuget | Microsoft.AspNetCore.Components.WebAssembly.Server | >= 10.0.0, <= 10.0.12 | 10.0.13 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Microsoft | .NET 11.0 Installed On Linux | from 11.0.0-preview.1 before 11.0.100-rc.3 |
| Microsoft | Microsoft Visual Studio 2026 Version 18.10 | from 18.10.0 before 18.10.4 |
| Microsoft | Microsoft Visual Studio 2026 Version 18.12 | Version 18.12.0 <18.12 Insiders 3 |
| Microsoft | .NET 11.0 Installed On Mac OS | from 11.0.0-preview.1 before 11.0.100-rc.3 |
| Microsoft | .NET 10.0 Installed On Mac OS | from 10.0.0 before 10.0.403 |
| Microsoft | Microsoft Visual Studio 2019 Version 16.11 | from 16.11.0 before 16.11.61 |
| Microsoft | Microsoft.AspNetCore.Components.WebAssembly.DevServer | from 11.0.0-preview.1 before 10.0.14 |
| Microsoft | Microsoft.AspNetCore.Components.WebAssembly.Server | from 10.0.0 before 10.0.13 |
| Microsoft | Microsoft Visual Studio 2022 Version 17.14 | from 17.14.0 before 17.14.43 |
| Microsoft | Microsoft Visual Studio 2026 Version 18.11 | from 18.11.0 before 18.11.2 |
| Microsoft | .NET 11.0 Installed On Windows | from 11.0.0-preview.1 before 11.0.100-rc.3 |
| Microsoft | .NET 10.0 Installed On Linux | from 10.0.0 before 10.0.403 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/advisories/GHSA-g27p-qf6j-c96c
- https://github.com/dotnet/aspnetcore/security/advisories/GHSA-g27p-qf6j-c96c
- https://github.com/dotnet/announcements/issues/445
- https://github.com/dotnet/aspnetcore/discussions/69791
- https://nvd.nist.gov/vuln/detail/CVE-2026-102870
- https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-102870