Security News

Cybersecurity news aggregator

๐Ÿ”“
HIGH Vulnerabilities Microsoft Security Response Center

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

CVE-2026-40372 is an elevation of privilege vulnerability (CVSS 9.1) in ASP.NET Core due to improper verification of cryptographic signatures, allowing an unauthorized network attacker to elevate their privileges. The vulnerability specifically affects applications using Microsoft.AspNetCore.DataProtection version 10.0.6 from NuGet when deployed on Linux, macOS, or other non-Windows operating systems. Microsoft has released a security update; affected users should upgrade to a patched version of the library.
Read Full Article →

We use optional cookies to improve your experience on our websites, such as through social media connections, and to display personalized advertising based on your online activity. If you reject optional cookies, only cookies necessary to provide you the services will be used. You may change your selection by clicking โ€œManage Cookiesโ€ at the bottom of the page. Privacy Statement Third-Party Cookies Accept Reject Manage cookies MSRC ๎ฌ Customer Guidance ๎ฌ Security Update Guide ๎ฌ Vulnerabilities ๎ฌ CVE-2026-40372 ASP.NET Core Elevation of Privilege Vulnerability New On this page ๎œ CVE-2026-40372 ๎œ• Subscribe RSS PowerShell ๎ฅƒ API ๎ฅƒ CSAF Security Vulnerability Released: Apr 21, 2026 Assigning CNA Microsoft CVE.org link CVE-2026-40372 ๏Ÿ Impact Elevation of Privilege Max Severity Important Weakness CWE-347: Improper Verification of Cryptographic Signature CVSS Source Microsoft Vector String CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N/E:U/RL:O/RC:C Metrics CVSS:3.1 9.1 / 7.9 ๎ฅ† Base score metrics: 9.1 / Temporal score metrics: 7.9 ๎ฅฎ Expand all ๎ฅฐ Collapse all Metric Value ๎ฃฌ ๎ฅด Base score metrics(8) Attack Vector Network Attack Complexity Low Privileges Required None User Interaction None Scope Unchanged Confidentiality High Integrity High Availability None ๎ฃฌ ๎ฅด Temporal score metrics(3) Exploit Code Maturity Unproven Remediation Level Official Fix Report Confidence Confirmed Please see Common Vulnerability Scoring System for more information on the definition of these metrics. Executive Summary Improper verification of cryptographic signature in ASP.NET Core allows an unauthorized attacker to elevate privileges over a network. Exploitability The following table provides an exploitability assessment for this vulnerability at the time of original publication. Publicly disclosed No Exploited No Exploitability assessment Exploitation Less Likely FAQ How do I know if I'm affected? You are affected if all three of the following are true: Your application uses Microsoft.AspNetCore.DataProtection 10.0.6 from NuGet (directly, or through a package that depends on it such as Microsoft.AspNetCore.DataProtection.StackExchangeRedis). The NuGet copy of the library was actually loaded at runtime โ€” not the shared framework copy. This typically means you deploy self-contained, or your installed shared framework is older than the NuGet package version. Your application runs on Linux, macOS, or another non-Windows OS. How do I determine if the vulnerable binary was loaded? Check application logs. The clearest symptom is users being logged out and repeated "The payload was invalid" errors in your logs after upgrading to 10.0.6. Check your project file. Look for a PackageReference to Microsoft.AspNetCore.DataProtection version 10.0.6 in your .csproj file (or in a package that depends on it). You can also run dotnet list package to see resolved package versions. Inspect the binary on disk. See [https://file+.vscode-resource.vscode-cdn.net/c%3A/Users/shalter/Downloads/advisory-upd-1.md#technical-details]Technical details for how to distinguish the affected NuGet binary from the correct shared framework binary by file size. Additional information Shared framework deployments are not affected. If your application runs framework-dependent and the installed ASP.NET Core shared framework version is โ‰ฅ your Microsoft.AspNetCore.DataProtection PackageReference version, the correct shared framework binary is loaded and the NuGet binary is never used. Windows deployments are not affected. On Windows, DataProtection uses CNG-based encryptors by default, which do not contain this bug. 8.0.x and 9.0.x packages are not affected. The defective code path was introduced during 10.0 development and was never backported. Windows with managed algorithms: If you run on Windows but explicitly opted into managed algorithms via UseCustomCryptographicAlgorithms, you are also affected. Older target frameworks: A smaller population running net462 / netstandard2.0 with Microsoft.AspNetCore.DataProtection 10.0.0โ€“10.0.6 is affected on all operating systems. See [https://file+.vscode-resource.vscode-cdn.net/c%3A/Users/shalter/Downloads/advisory-upd-1.md#technical-details]Technical details for specifics. https://github.com/dotnet/announcements/issues/395 What privileges could be gained by an attacker who successfully exploited this vulnerability? An attacker who successfully exploited this vulnerability could gain SYSTEM privileges. According to the CVSS metrics, successful exploitation of this vulnerability could lead to major loss of confidentiality (C:H), and integrity (I:H), but could lead to no loss of availability (A:N). What does that mean for this vulnerability? Exploiting this vulnerability could allow an attacker to disclose files and modify data, but the attacker cannot impact the availability of the system. Acknowledgements Anonymous Microsoft recognizes the efforts of those in the security community who help us protect customers through coordinated vulnerability disclosure. See Acknowledgements for more information. Security Updates To determine the support lifecycle for your software, see the Microsoft Support Lifecycle. Release date Descending ๎œ Edit columns ๎ข– Download ๎œœ Filters ๎œก Product Family ๎œ Max Severity ๎œ Impact ๎œ Platform ๎œ ๎ข” Clear Release date ๎นฉ Product Platform Impact Max Severity Article Download Build Number Assigning CNA Customer Action Required Title: Release date, Content: Apr 21, 2026 ASP.NET Core 10.0 - Elevation of Privilege Important Title: Knowledge Base Articles for ASP.NET Core 10.0, Content:, 1 link 5091596 ๏Ÿ Title: Download Security Update for ASP.NET Core 10.0, Content:, 1 link Security Update ๏Ÿ Title: Build numbers, Content: 10.0.7 Title: Assigning CNA, Content: Microsoft Title: Customer action required, Content: Required All results loaded Loaded all 1 rows Disclaimer The information provided in the Microsoft Knowledge Base is provided "as is" without warranty of any kind. Microsoft disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. In no event shall Microsoft Corporation or its suppliers be liable for any damages whatsoever including direct, indirect, incidental, consequential, loss of business profits or special damages, even if Microsoft Corporation or its suppliers have been advised of the possibility of such damages. Some states do not allow the exclusion or limitation of liability for consequential or incidental damages so the foregoing limitation may not apply. Revisions version revisionDate description 1.0 Apr 21, 2026 Information published. ๎žน How satisfied are you with the MSRC Security Update Guide? Rating ๎žƒ Broken ๎ชˆ Bad ๎— Below average ๎ช‡ Average ๎ฎ Great! ๎ข” Your Privacy Choices Consumer Health Privacy

Share this article