Intel

AIKIDO-2026-10510

Microsoft.AspNetCore.DataProtection is vulnerable to Improper Verification of Cryptographic Signature

Improper Verification of Cryptographic SignatureCVE-2026-40372 Published Apr 22, 2026

91

Critical Risk

This Affects:

DOTNETMicrosoft.AspNetCore.DataProtection
10.0.0 - 10.0.6
Fixed in 10.0.7
Are you affected? Scan for Free

TL;DR

A bug in Microsoft.AspNetCore.DataProtection 10.0.0-10.0.6 NuGet packages can give an attacker the opportunity to execute an Elevation of Privilege attack by forging authentication cookies, and also allows some protected payloads to be decrypted. If an attacker used forged payloads to authenticate as a privileged user during the vulnerable window, they may have induced the application to issue legitimately-signed tokens (session refresh, API key, password reset link, etc.) to themselves. Those tokens remain valid after upgrading to 10.0.7 unless the DataProtection key ring is rotated.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Background info

Microsoft.AspNetCore.DataProtection is vulnerable to Improper Verification of Cryptographic Signature in versions 10.0.0 - 10.0.6.

How to fix this

Upgrade the Microsoft.AspNetCore.DataProtection library to the patch version.