CVE-2026-102870: Microsoft.AspNetCore.Components.WebAssembly.Server Remote Code Execution Vulnerability

HIGH
Advisory Identifier: GHSA-g27p-qf6j-c96c
CVSS 8.8
CWE-94
Published
Advisory Summary

CVE-2026-102870 is a HIGH (CVSS 8.8) remote code execution vulnerability (CWE-94: Improper Control of Generation of Code ('Code Injection')) affecting Microsoft.AspNetCore.Components.WebAssembly.Server libraries in the NuGet ecosystem. The issue involves microsoft security advisory cve-2026-102870 - asp.net core remote code execution vulnerability. Remediation is available by upgrading affected packages to version 10.0.13, 11.0.0-rc.2.26478.115.

CVE-2026-102870 at a Glance

CVE Identifier CVE-2026-102870
GHSA Identifier GHSA-g27p-qf6j-c96c
Severity HIGH
CVSS v3.1 Base Score 8.8
CWE Classification CWE-94: Improper Control of Generation of Code ('Code Injection')
Affected Product Microsoft.AspNetCore.Components.WebAssembly.Server
Package Ecosystem NuGet
Published Date
Last Updated

Security Impact

CVSS: 8.8

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required None (PR:N)
User Interaction Required (UI:R)
Scope Unchanged (S:U)
Confidentiality High (C:H)
Integrity High (I:H)
Availability High (A:H)

How to Fix CVE-2026-102870

To remediate this vulnerability, upgrade all affected Microsoft.AspNetCore.Components.WebAssembly.Server dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

Microsoft.AspNetCore.Components.WebAssembly.Server fixed: 10.0.13
Upgrade Microsoft.AspNetCore.Components.WebAssembly.Server to 10.0.13
Microsoft.AspNetCore.Components.WebAssembly.Server fixed: 11.0.0-rc.2.26478.115
Upgrade Microsoft.AspNetCore.Components.WebAssembly.Server to 11.0.0-rc.2.26478.115
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for Microsoft.AspNetCore.Components.WebAssembly.Server

How to Check if You Are Affected

To determine whether your application is affected by CVE-2026-102870, inspect your project dependencies for Microsoft.AspNetCore.Components.WebAssembly.Server:

inspect dependencies for Microsoft.AspNetCore.Components.WebAssembly.Server

Analyze the terminal output to locate any version of Microsoft.AspNetCore.Components.WebAssembly.Server in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 10.0.13), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-94: Improper Control of Generation of Code ('Code Injection'), where the product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment. In Microsoft.AspNetCore.Components.WebAssembly.Server, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

## Executive summary Microsoft is releasing this security advisory to provide information about a vulnerability in the Blazor WebAssembly debugger included in `Microsoft.AspNetCore.Components.WebAssembly.Server`. This advisory also provides guidance on what developers can do to update their applications to remove this vulnerability. The Blazor WebAssembly debug proxy evaluates debugger expressions by generating and compiling C# source. Certain values originating in the application being debugged, including `ToString()` results, descriptions, and class names, are embedded in that generated source without consistent escaping. An attacker-controlled value can escape the generated string literal and execute code on a developer's machine when the developer evaluates an expression during debugging. ## Announcement Announcement for this issue can be found at https://github.com/dotnet/announcements/issues/445 ## CVSS Details - **Version:** 3.1 - **Severity:** High - **Score:** 8.8 - **Vector:** `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H` - **Weakness:** CWE-94 (Improper Control of Generation of Code ('Code Injection')) ## Affected Platforms - **Platforms:** Windows, Linux, macOS - **Architectures:** All ## <a name="affected-packages"></a>Affected Packages The vulnerability affects Microsoft .NET projects that use an affected package version listed below. Package name | Affected version | Patched version ------------ | ---------------- | --------------- [Microsoft.AspNetCore.Components.WebAssembly.Server](https://www.nuget.org/packages/Microsoft.AspNetCore.Components.WebAssembly.Server) | >= 10.0.0, <= 10.0.12 | 10.0.13 [Microsoft.AspNetCore.Components.WebAssembly.Server](https://www.nuget.org/packages/Microsoft.AspNetCore.Components.WebAssembly.Server) | >= 11.0.0-preview.1, <= 11.0.0-rc.1 | 11.0.0-rc.2.26478.115 ## Advisory FAQ ### <a name="how-affected"></a>How do I know if I am affected? You are affected if you use a vulnerable version of `Microsoft.AspNetCore.Components.WebAssembly.Server` to debug a Blazor WebAssembly application and evaluate an expression involving attacker-controlled application data. ### <a name="how-fix"></a>How do I fix the issue? 1. Install the latest supported version of .NET. 2. Update `Microsoft.AspNetCore.Components.WebAssembly.Server` to the patched version for the .NET release used by the application. Once the updated package or runtime is installed, restart the debugger and development environment. ## Other Information ### Reporting Security Issues If you have found a potential security issue in a supported version of .NET, please report it to the Microsoft Security Response Center (MSRC) via the [MSRC Researcher Portal](https://msrc.microsoft.com/report/vulnerability/new). Further information can be found in the MSRC [Report an Issue FAQ](https://www.microsoft.com/msrc/faqs-report-an-issue). Security reports made through MSRC may qualify for the Microsoft .NET Bounty. Details of the Microsoft .NET Bounty Program including terms and conditions are at https://aka.ms/corebounty. ### Support You can ask questions about this issue on GitHub in the .NET GitHub organization. The main repositories are located at https://github.com/dotnet/runtime and https://github.com/dotnet/aspnetcore. The Announcements repository (https://github.com/dotnet/announcements) will contain this bulletin as an issue and will include a link to a discussion issue. ### Disclaimer The information provided in this advisory is provided "as is" without warranty of any kind. Microsoft disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. In no event shall Microsoft Corporation or its suppliers be liable for any damages whatsoever including direct, indirect, incidental, consequential, loss of business profits or special damages, even if Microsoft Corporation or its suppliers have been advised of the possibility of such damages. Some states do not allow the exclusion or limitation of liability for consequential or incidental damages so the foregoing limitation may not apply. ### External Links [CVE-2026-102870](https://www.cve.org/CVERecord?id=CVE-2026-102870) ### Acknowledgements alittleston3 ### Revisions V1.0 (10/13/2026): Advisory published.

CVE-2026-102870 Affected Microsoft.AspNetCore.Components.WebAssembly.Server Versions

2 component(s)
Fixed Versions:
10.0.1311.0.0-rc.2.26478.115
Product / Package Ecosystem Affected Versions Fixed Version
Microsoft.AspNetCore.Components.WebAssembly.Server
NuGet
≥ 10.0.0
< 10.0.13
10.0.13
Microsoft.AspNetCore.Components.WebAssembly.Server
NuGet
≥ 11.0.0-preview.1
< 11.0.0-rc.2.26478.115
11.0.0-rc.2.26478.115

References

Frequently Asked Questions

What is CVE-2026-102870?
CVE-2026-102870 is a security vulnerability in Microsoft.AspNetCore.Components.WebAssembly.Server involving Microsoft Security Advisory CVE-2026-102870 - ASP.NET Core Remote Code Execution Vulnerability under CWE-94: Improper Control of Generation of Code ('Code Injection').
Which Microsoft.AspNetCore.Components.WebAssembly.Server versions are affected?
Affected versions include releases prior to 10.0.13, 11.0.0-rc.2.26478.115 across affected packages: Microsoft.AspNetCore.Components.WebAssembly.Server.
What version fixes CVE-2026-102870?
Upgrading to 10.0.13, 11.0.0-rc.2.26478.115 (or the latest patched release for your respective branch) resolves the vulnerability.
Is Microsoft.AspNetCore.Components.WebAssembly.Server affected?
Yes, Microsoft.AspNetCore.Components.WebAssembly.Server is affected in releases prior to 10.0.13, 11.0.0-rc.2.26478.115. Upgrade your dependency to 10.0.13, 11.0.0-rc.2.26478.115 or later.
What is the CVSS score of CVE-2026-102870?
CVE-2026-102870 has a CVSS v3.1 base score of 8.8 (HIGH) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H.
What CWE is associated with CVE-2026-102870?
CVE-2026-102870 is classified under CWE-94: Improper Control of Generation of Code ('Code Injection') (The product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment.).
How can I check NuGet dependencies for CVE-2026-102870?
Run the dependency tree command: 'inspect dependencies for Microsoft.AspNetCore.Components.WebAssembly.Server'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-g27p-qf6j-c96c",
  "modified" : "2026-10-13T20:27:36Z",
  "published" : "2026-10-13T20:27:36Z",
  "aliases" : [ "CVE-2026-102870" ],
  "summary" : "Microsoft Security Advisory CVE-2026-102870 - ASP.NET Core Remote Code Execution Vulnerability",
  "details" : "## Executive summary\n\nMicrosoft is releasing this security advisory to provide information about a vulnerability in the Blazor WebAssembly debugger included in `Microsoft.AspNetCore.Components.WebAssembly.Server`. This advisory also provides guidance on what developers can do to update their applications to remove this vulnerability.\n\nThe Blazor WebAssembly debug proxy evaluates debugger expressions by generating and compiling C# source. Certain values originating in the application being debugged, including `ToString()` results, descriptions, and class names, are embedded in that generated source without consistent escaping. An attacker-controlled value can escape the generated string literal and execute code on a developer's machine when the developer evaluates an expression during debugging.\n\n## Announcement\n\nAnnouncement for this issue can be found at https://github.com/dotnet/announcements/issues/445\n\n## CVSS Details\n\n- **Version:** 3.1\n- **Severity:** High\n- **Score:** 8.8\n- **Vector:** `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`\n- **Weakness:** CWE-94 (Improper Control of Generation of Code ('Code Injection'))\n\n## Affected Platforms\n\n- **Platforms:** Windows, Linux, macOS\n- **Architectures:** All\n\n## <a name=\"affected-packages\"></a>Affected Packages\n\nThe vulnerability affects Microsoft .NET projects that use an affected package version listed below.\n\nPackage name | Affected version | Patched version\n------------ | ---------------- | ---------------\n[Microsoft.AspNetCore.Components.WebAssembly.Server](https://www.nuget.org/packages/Microsoft.AspNetCore.Components.WebAssembly.Server) | >= 10.0.0, <= 10.0.12 | 10.0.13\n[Microsoft.AspNetCore.Components.WebAssembly.Server](https://www.nuget.org/packages/Microsoft.AspNetCore.Components.WebAssembly.Server) | >= 11.0.0-preview.1, <= 11.0.0-rc.1 | 11.0.0-rc.2.26478.115\n\n## Advisory FAQ\n\n### <a name=\"how-affected\"></a>How do I know if I am affected?\n\nYou are affected if you use a vulnerable version of `Microsoft.AspNetCore.Components.WebAssembly.Server` to debug a Blazor WebAssembly application and evaluate an expression involving attacker-controlled application data.\n\n### <a name=\"how-fix\"></a>How do I fix the issue?\n\n1. Install the latest supported version of .NET.\n2. Update `Microsoft.AspNetCore.Components.WebAssembly.Server` to the patched version for the .NET release used by the application.\n\nOnce the updated package or runtime is installed, restart the debugger and development environment.\n\n## Other Information\n\n### Reporting Security Issues\n\nIf you have found a potential security issue in a supported version of .NET, please report it to the Microsoft Security Response Center (MSRC) via the [MSRC Researcher Portal](https://msrc.microsoft.com/report/vulnerability/new). Further information can be found in the MSRC [Report an Issue FAQ](https://www.microsoft.com/msrc/faqs-report-an-issue).\n\nSecurity reports made through MSRC may qualify for the Microsoft .NET Bounty. Details of the Microsoft .NET Bounty Program including terms and conditions are at https://aka.ms/corebounty.\n\n### Support\n\nYou can ask questions about this issue on GitHub in the .NET GitHub organization. The main repositories are located at https://github.com/dotnet/runtime and https://github.com/dotnet/aspnetcore. The Announcements repository (https://github.com/dotnet/announcements) will contain this bulletin as an issue and will include a link to a discussion issue.\n\n### Disclaimer\n\nThe information provided in this advisory is provided \"as is\" without warranty of any kind. Microsoft disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. In no event shall Microsoft Corporation or its suppliers be liable for any damages whatsoever including direct, indirect, incidental, consequential, loss of business profits or special damages, even if Microsoft Corporation or its suppliers have been advised of the possibility of such damages. Some states do not allow the exclusion or limitation of liability for consequential or incidental damages so the foregoing limitation may not apply.\n\n### External Links\n\n[CVE-2026-102870](https://www.cve.org/CVERecord?id=CVE-2026-102870)\n\n### Acknowledgements\n\nalittleston3\n\n### Revisions\n\nV1.0 (10/13/2026): Advisory published.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "Microsoft.AspNetCore.Components.WebAssembly.Server"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "10.0.0"
      }, {
        "fixed" : "10.0.13"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 10.0.12"
    }
  }, {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "Microsoft.AspNetCore.Components.WebAssembly.Server"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "11.0.0-preview.1"
      }, {
        "fixed" : "11.0.0-rc.2.26478.115"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 11.0.0-rc.1"
    }
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/dotnet/aspnetcore/security/advisories/GHSA-g27p-qf6j-c96c"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/dotnet/announcements/issues/445"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/dotnet/aspnetcore"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/dotnet/aspnetcore/discussions/69791"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-94" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-10-13T20:27:36Z",
    "nvd_published_at" : null
  }
}