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.
Originally disclosed on Microsoft
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
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.