ASP.NET Elevation of Privilege Vulnerability (CVE-2026-40372)

A new critical Elevation of Privilege Vulnerability (CVE-2026-40372) was identified in ASP.NET Core recently which allows an authorized attacker to elevate privileges over a network.  Microsoft has released the security update patches to fix the vulnerability and recommends customers to apply the update IMMEDIATELY.

 

Vulnerability

  • ASP.NET Core Elevation of Privilege Vulnerability (CVE-2026-40372)

 

Severity Level

  • Critical

 

Affected Products

  • ASP.NET Core: from 10.0, before 10.0.7 
  • Visual Studio: version 18.5

 

Remediation

  • Please apply the latest security update for your affected system immediately.
    • upgrade ASP.NET Core 10.0 to 10.0.7
    • upgrade Microsoft Visual Studio 2026 version 18.5 to 18.5.2

 

Reference

 

 

Published on: 22 Apr 2026

Last updated on: 29 Apr 2026