---
id: CVE-2026-102870
title: >-
  Improper control of generation of code ('code injection') in ASP.NET Core
  allows an unauthorized attacker to execute code over a network.
summary: >-
  Improper control of generation of code ('code injection') in ASP.NET Core
  allows an unauthorized attacker to execute code over a network.
severity: high
cvss: 8.8
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H'
cwe:
  - CWE-94
vendor: Microsoft
product: Microsoft.AspNetCore.Components.WebAssembly.Server
affected:
  - 'Microsoft.AspNetCore.Components.WebAssembly.Server >= 10.0.0, <= 10.0.12'
  - >-
    Microsoft.AspNetCore.Components.WebAssembly.Server >= 11.0.0-preview.1, <=
    11.0.0-rc.1
patched:
  - Microsoft.AspNetCore.Components.WebAssembly.Server 10.0.13
  - Microsoft.AspNetCore.Components.WebAssembly.Server 11.0.0-rc.2.26478.115
published: '2026-10-13'
updated: '2026-10-14'
sourceUpdated: '2026-10-14T04:18:08.113'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-102870'
references:
  - url: 'https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-102870'
    label: secure@microsoft.com
  - url: >-
      https://github.com/dotnet/aspnetcore/security/advisories/GHSA-g27p-qf6j-c96c
  - url: 'https://github.com/dotnet/announcements/issues/445'
  - url: 'https://github.com/dotnet/aspnetcore/discussions/69791'
  - url: 'https://github.com/advisories/GHSA-g27p-qf6j-c96c'
  - url: >-
      https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-102870.json
  - url: 'https://access.redhat.com/security/cve/CVE-2026-102870'
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2548777'
  - url: 'https://www.cve.org/CVERecord?id=CVE-2026-102870'
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2026-102870'
  - url: 'https://access.redhat.com/errata/RHSA-2026:86195'
  - url: 'https://access.redhat.com/errata/RHSA-2026:86192'
  - url: 'https://access.redhat.com/errata/RHSA-2026:86193'
tags:
  - nvd
  - ghsa
  - nuget
  - cve.org
  - csaf
  - vex
  - red-hat
aliases:
  - GHSA-g27p-qf6j-c96c
ecosystem: nuget
ingestedAt: '2026-10-13T19:43:28.900Z'
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: total
  timestamp: '2026-10-08T00:00:00+00:00'
epss: 0.00906
epssPercentile: 0.59663
---

## Overview

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

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.

## Package advisory (CVE-2026-102870)

Affected packages:

- `Microsoft.AspNetCore.Components.WebAssembly.Server >= 10.0.0, <= 10.0.12`
- `Microsoft.AspNetCore.Components.WebAssembly.Server >= 11.0.0-preview.1, <= 11.0.0-rc.1`

Patched in:

- `Microsoft.AspNetCore.Components.WebAssembly.Server 10.0.13`
- `Microsoft.AspNetCore.Components.WebAssembly.Server 11.0.0-rc.2.26478.115`

Source: https://github.com/advisories/GHSA-g27p-qf6j-c96c

## Vendor advisories

- **Red Hat VEX** · Important · affected: Red Hat Enterprise Linux 10, Red Hat Enterprise Linux 8, Red Hat Enterprise Linux 9 · no fix planned: Red Hat Enterprise Linux 10, Red Hat Enterprise Linux 8, Red Hat Enterprise Linux 9 · updated 2026-10-16 · [vex](https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-102870.json)
- **RHSA-2026:86195** · Red Hat · fixed in: Red Hat Enterprise Linux AppStream (v. 10), Red Hat Enterprise Linux CodeReady Linux Builder (v. 10) · released 2026-10-20 · [advisory](https://access.redhat.com/errata/RHSA-2026:86195)
- **RHSA-2026:86192** · Red Hat · fixed in: Red Hat Enterprise Linux AppStream (v. 8), Red Hat Enterprise Linux CRB (v. 8) · released 2026-10-20 · [advisory](https://access.redhat.com/errata/RHSA-2026:86192)
- **RHSA-2026:86193** · Red Hat · fixed in: Red Hat Enterprise Linux AppStream (v. 9), Red Hat Enterprise Linux CodeReady Linux Builder (v. 9) · released 2026-10-20 · [advisory](https://access.redhat.com/errata/RHSA-2026:86193)
