Microsoft Security Advisory CVE-2025-24070: .NET Elevation of Privilege Vulnerability
Date: 2025-03
Affected: nuget/Microsoft.AspNetCore.App.Runtime.linux-x64, nuget/Microsoft.AspNetCore.App.Runtime.win-x86, nuget/Microsoft.AspNetCore.App.Runtime.win-x64
Attack vector: other
Category: vulnerability-disclosure
Severity: High
CVE: CVE-2025-24070
CWE: CWE-1390
CVSS: 7 (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:H)

# Microsoft Security Advisory CVE-2025-24070: .NET Elevation of Privilege Vulnerability ## Executive summary Microsoft is releasing this security advisory to provide information about a vulnerability in ASP.NET Core 9.0, ASP.NET Core 8.0, ASP.NET Core 6.0, and ASP.NET Core 2.3. This advisory also provides guidance on what developers can do to update their applications to address this vulnerability. A vulnerability exists in ASP.NET Core applications calling RefreshSignInAsync with an improperly authenticated user parameter that could allow an attacker to sign into another user's account, resulting in Elevation of Privilege. ## Announcement Announcement for this issue can be found at https://github.com/dotnet/announcements/issues/348 ### Mitigation factors Microsoft has not identified any mitigating factors for this vulnerability. ## Affected software * Any ASP.NET Core 9.0 application running on ASP.NET Core 9.0.2 or earlier. * Any ASP.NET Core application running on ASP.NET Core 8.0.13 or earlier. * Any ASP.NET Core application running on ASP.NET Core 6.0.36 or earlier. * Any ASP.NET Core 2.x application consuming the package Microsoft.AspNetCore.Identity version 2.3.0 or earlier. ## Affected Packages The vulnerability affects any Microsoft .NET Core project if it uses any of affected packages versions listed below | Package name | Affected version | Patched version | | --- | --- | --- | | [Microsoft.AspNetCore.Identity](https://www.nuget.org/packages/Microsoft.A


Mitigations:

Architectural layers (MAESTRO):