Improper Verification of Cryptographic Signature in ASP.NET Core - CVE-2026-40372

 

Improper Verification of Cryptographic Signature in ASP.NET Core - CVE-2026-40372

Published: April 22, 2026


Vulnerability identifier: #VU126862
CSH Severity: High
CVSS v4: 9.3 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-40372
CWE-ID: CWE-347
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to elevate privileges.

The vulnerability exists due to improper verification of cryptographic signature in Microsoft.AspNetCore.DataProtection when processing cryptographically protected payloads. A remote attacker can send specially crafted data to elevate privileges.

Successful exploitation could result in SYSTEM privileges. The issue affects deployments where the NuGet copy of the library is loaded at runtime, including non-Windows deployments using the vulnerable code path and certain configurations using managed algorithms.


Affected software

ASP.NET Core
Ubuntu
Fedora
dotnet10 (Ubuntu package)
dotnet10.0

How to mitigate CVE-2026-40372

Install security update from vendor's website.

ASP.NET Core - update to 10.0.7
dotnet10 (Ubuntu package) - addressed in versions 10.0.7-0ubuntu1~24.04.1, 10.0.7-0ubuntu1~25.10.1, 10.0.7-0ubuntu1~26.04.1, 10.0.107-0ubuntu1~24.04.1, 10.0.107-0ubuntu1~25.10.1, 10.0.107-0ubuntu1~26.04.1, 10.0.107-10.0.7-0ubuntu1~24.04.1, 10.0.107-10.0.7-0ubuntu1~25.10.1, 10.0.107-10.0.7-0ubuntu1~26.04.1
dotnet10.0 - addressed in versions 10.0.107-1.fc42, 10.0.107-1.fc43, 10.0.107-1.fc44

External References

Related Security Bulletins