Skip to content
RCE Advisory Advanced CVE-2026-102870

ASP.NET Core Remote Code Execution Vulnerability (CVE-2026-102870)

ASP.NET Core has a code injection flaw in the Blazor WebAssembly debugging path. An unauthenticated attacker could send crafted data so that, when a developer inspects an affected object during a debugging session, code runs in the developer's context.

alittleston3 Follow

Originally disclosed on Microsoft

High 8.8 View original

Description

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

FAQ

How could an attacker exploit this vulnerability? An unauthenticated attacker could supply specially crafted data to an application being debugged. If a developer evaluates an affected object during a Blazor WebAssembly debugging session, successful exploitation could allow the attacker to execute code in the developer's context. User interaction is required.

ASP.NET Core

ASP.NET Core

Microsoft

Microsoft

Customer Action Required

Yes

The original report as published on the Microsoft Security Response Center, by alittleston3. Images and videos are our own copies; raw HTML is shown as text. View it on Microsoft Security Response Center.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the debugger's handling of object data during a Blazor WebAssembly debugging session allowed injected code to be evaluated in the developer's context.

Impact

An attacker could execute code in the developer's context, but only if the developer evaluates an affected object during a debugging session, so user interaction is required.

What the attacker needed

Developer is debugging; developer evaluates affected object; attacker can supply crafted data

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

When developers debug a web app, their tools can receive data from the running program. Here, that data was not handled safely, so someone could slip in instructions that the developer's tool would run as if they were the developer's own commands. The attacker still needs the developer to be debugging and to look at the affected object.

What is RCE?

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.

More by alittleston3

View all

1 more disclosed report, best first.

More from Microsoft

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Remote code execution

The lesson behind this report.

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.