cve.bz

CVE-2026-102870 microsoft: Code Injection

8.8 highEPSS 0.9%Fix available

High (8.8) in microsoft. EPSS 0.9% estimated probability of exploitation activity in the next 30 days. Fixed in Microsoft.AspNetCore.Components.WebAssembly.Server 10.0.14, 11.0.0-rc.3.26522.148.

On this page
Improper control of generation of code ('code injection') in ASP.NET Core allows an unauthorized attacker to execute code over a network.

Severity

CVSS 3.1

8.8 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS
0.9% (unchanged from 0.9% a week ago; 0.8% 30 days ago) estimated probability of exploitation activity in the next 30 days; 60th percentile. Scored 2026-11-17. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: total, assessed 2026-10-08. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-94 Improper Control of Generation of Code (Code Injection)
OWASP Top 10
A05:2025 Injection
Published
Modified
Assigned by
microsoft (CNA)
NVD analysis
Under analysis
Record from
the NVD, synced

Fix and patched versions

  • Microsoft.AspNetCore.Components.WebAssembly.Server (NuGet): fixed in 10.0.14, 11.0.0-rc.3.26522.148
  • Ubuntu, Red Hat, AlmaLinux, Rocky Linux, Alpine: fixed package versions per release

Ask an AI about this CVE

Show the promptExplain CVE-2026-102870 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-102870?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-102870?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-102870 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

  • microsoft:.net 10.0 installed on linux
  • microsoft:.net 10.0 installed on mac os
  • microsoft:.net 10.0 installed on windows
  • microsoft:.net 11.0 installed on linux
  • microsoft:.net 11.0 installed on mac os
  • microsoft:.net 11.0 installed on windows
  • microsoft:microsoft visual studio 2019 version 16.11
  • microsoft:microsoft visual studio 2022 version 17.14
  • microsoft:microsoft visual studio 2026 version 18.10
  • microsoft:microsoft visual studio 2026 version 18.11
  • microsoft:microsoft visual studio 2026 version 18.12
  • microsoft:microsoft.aspnetcore.components.webassembly.devserver
  • microsoft:microsoft.aspnetcore.components.webassembly.server

Versions

From the CNA's record in the CVE List.

ProductAffected
Microsoft .NET 10.0 installed on Linuxfrom 10.0.0 before 10.0.403
Microsoft .NET 10.0 installed on Mac OSfrom 10.0.0 before 10.0.403
Microsoft .NET 10.0 installed on Windowsfrom 10.0.0 before 10.0.403
Microsoft .NET 11.0 installed on Linuxfrom 11.0.0-preview.1 before 11.0.100-rc.3
Microsoft .NET 11.0 installed on Mac OSfrom 11.0.0-preview.1 before 11.0.100-rc.3
Microsoft .NET 11.0 installed on Windowsfrom 11.0.0-preview.1 before 11.0.100-rc.3
Microsoft Visual Studio 2019 version 16.11from 16.11.0 before 16.11.61
Microsoft Visual Studio 2022 version 17.14from 17.14.0 before 17.14.43
Microsoft Visual Studio 2026 version 18.10from 18.10.0 before 18.10.4
Microsoft Visual Studio 2026 version 18.11from 18.11.0 before 18.11.2
Microsoft Visual Studio 2026 version 18.12from 18.12.0 before 18.12 Insiders 3
Microsoft.AspNetCore.Components.WebAssembly.DevServerfrom 11.0.0-preview.1 before 10.0.14
Microsoft.AspNetCore.Components.WebAssembly.Serverfrom 10.0.0 before 10.0.13

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-g27p-qf6j-c96cNuGetMicrosoft.AspNetCore.Components.WebAssembly.Server>=10.0.0 <10.0.1410.0.14
GHSA-g27p-qf6j-c96cNuGetMicrosoft.AspNetCore.Components.WebAssembly.Server>=11.0.0-preview.1 <11.0.0-rc.3.26522.14811.0.0-rc.3.26522.148

Linux distributions

DistributionReleasePackageFixed inAdvisory
Ubuntu22.04:LTSdotnet7no fix listedUBUNTU-CVE-2026-102870
Ubuntu22.04:LTSdotnet88.0.132-8.0.32-0ubuntu1~22.04.1USN-8942-1
Ubuntu22.04:LTSdotnet88.0.133-8.0.33-0ubuntu1~22.04.1USN-8958-1
Ubuntu24.04:LTSdotnet1010.0.114-10.0.14-0ubuntu1~24.04.1UBUNTU-CVE-2026-102870 USN-8942-1 USN-8958-1
Ubuntu24.04:LTSdotnet88.0.132-8.0.32-0ubuntu1~24.04.1USN-8942-1
Ubuntu24.04:LTSdotnet88.0.133-8.0.33-0ubuntu1~24.04.1USN-8958-1
Ubuntu26.04:LTSdotnet1010.0.114-10.0.14-0ubuntu1~26.04.1UBUNTU-CVE-2026-102870 USN-8942-1 USN-8958-1
Ubuntu26.10dotnet1010.0.114-10.0.14-0ubuntu1~26.10.1UBUNTU-CVE-2026-102870 USN-8942-1 USN-8958-1
Ubuntu26.10dotnet1111.0.100-11.0.0~rc3-0ubuntu1~26.10.1UBUNTU-CVE-2026-102870 USN-8942-1 USN-8958-1
Red Hatenterprise_linux:8::appstreamdotnet, dotnet10.0, dotnet-sdk-10.0 and 7 more0:10.0.113-1.el8_10RHSA-2026:86192
Red Hatenterprise_linux:8::appstreamdotnet-hostfxr-10.0, dotnet-runtime-10.0, aspnetcore-runtime-10.0 and 8 more0:10.0.13-1.el8_10RHSA-2026:86192
Red Hatenterprise_linux:8::crbdotnet-hostfxr-10.0-debuginfo, dotnet-runtime-10.0-debuginfo, dotnet-apphost-pack-10.0-debuginfo0:10.0.13-1.el8_10RHSA-2026:86192
Red Hatenterprise_linux:8::crbdotnet10.0-debuginfo, dotnet10.0-debugsource, dotnet-sdk-10.0-debuginfo and 2 more0:10.0.113-1.el8_10RHSA-2026:86192
Red Hatenterprise_linux:9::appstreamdotnet-host, dotnet-hostfxr-10.0, dotnet-runtime-10.0 and 10 more0:10.0.13-1.el9_8RHSA-2026:86193
Red Hatenterprise_linux:9::appstreamdotnet10.0, dotnet-sdk-10.0, dotnet-sdk-aot-10.0 and 6 more0:10.0.113-1.el9_8RHSA-2026:86193
Red Hatenterprise_linux:9::crbdotnet-host-debuginfo, dotnet-hostfxr-10.0-debuginfo, dotnet-runtime-10.0-debuginfo and 1 more0:10.0.13-1.el9_8RHSA-2026:86193
Red Hatenterprise_linux:9::crbdotnet10.0-debuginfo, dotnet10.0-debugsource, dotnet-sdk-10.0-debuginfo and 2 more0:10.0.113-1.el9_8RHSA-2026:86193
Red Hatenterprise_linux:10.2dotnet-host, dotnet-hostfxr-10.0, dotnet-runtime-10.0 and 10 more0:10.0.13-1.el10_2RHSA-2026:86195
Red Hatenterprise_linux:10.2dotnet10.0, dotnet-sdk-10.0, dotnet-sdk-aot-10.0 and 6 more0:10.0.113-1.el10_2RHSA-2026:86195
AlmaLinux8dotnet, dotnet-sdk-10.0, dotnet-sdk-aot-10.0 and 3 more10.0.113-1.el8_10ALSA-2026:86192
AlmaLinux8dotnet-hostfxr-10.0, dotnet-runtime-10.0, aspnetcore-runtime-10.0 and 5 more10.0.13-1.el8_10ALSA-2026:86192
AlmaLinux9dotnet-host, dotnet-hostfxr-10.0, dotnet-runtime-10.0 and 6 more10.0.13-1.el9_8ALSA-2026:86193
AlmaLinux9dotnet-sdk-10.0, dotnet-sdk-aot-10.0, dotnet-sdk-dbg-10.0 and 2 more10.0.113-1.el9_8ALSA-2026:86193
AlmaLinux10dotnet-host, dotnet-hostfxr-10.0, dotnet-runtime-10.0 and 6 more10.0.13-1.el10_2ALSA-2026:86195
AlmaLinux10dotnet-sdk-10.0, dotnet-sdk-aot-10.0, dotnet-sdk-dbg-10.0 and 2 more10.0.113-1.el10_2ALSA-2026:86195
Rocky Linux8dotnet10.00:10.0.113-1.el8_10RLSA-2026:86192
Rocky Linux9dotnet10.00:10.0.113-1.el9_8RLSA-2026:86193
Rocky Linux10dotnet10.00:10.0.113-1.el10_2RLSA-2026:86195
Alpinev3.23, v3.24dotnet10-runtime10.0.13-r0ALPINE-CVE-2026-102870

From the distributions' data via OSV.dev: Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Ubuntu · Red Hat · Alpine.

Red Hat

Red Hat rates this Important.

Red Hat's statement

A code injection vulnerability was found in the Blazor WebAssembly debug proxy of ASP.NET Core, which is shipped in the dotnet10.0 packages in Red Hat Enterprise Linux 8, 9, and 10, Red Hat In-Vehicle OS, and Fedora. The debug proxy embeds attacker-controlled values, such as ToString() results, descriptions, and class names, into generated C# code without consistently escaping them. When a developer evaluates an expression while debugging a Blazor WebAssembly application, a malicious value can escape the generated string literal and execute arbitrary code on the developer's machine. Red Hat rated this flaw as IMPORTANT (CVSS 3.1 score of 8.8, CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H), matching the upstream Microsoft severity; exploitation requires no privileges but relies on a developer interacting with attacker-controlled values during a debugging session. The .NET 8 based dotnet8.0 builds in Red Hat Hardened Images were determined to be not affected because the vulnerable component is not present there. This flaw is tracked as DELEGATED, and a fix for the affected Red Hat products is being pursued.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 10dotnet10.0-0:10.0.113-1.el10_2Fixed 2026-10-20RHSA-2026:86195
Red Hat Enterprise Linux 8dotnet10.0-0:10.0.113-1.el8_10Fixed 2026-10-20RHSA-2026:86192
Red Hat Enterprise Linux 9dotnet10.0-0:10.0.113-1.el9_8Fixed 2026-10-20RHSA-2026:86193
Red Hat Hardened Imagesdotnet10.0Not affected
Red Hat Hardened Imagesdotnet8.0Not affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-102870.

Attack patterns (CAPEC)

  • CAPEC-35 Leverage Executable Code in Non-Executable Files Likelihood: High · Severity: Very High
  • CAPEC-77 Manipulating User-Controlled Variables Likelihood: High · Severity: Very High
  • CAPEC-242 Code Injection Likelihood: High · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON