The images in this article were generated with artificial intelligence. How we publish
Microsoft has published an off-schedule security update to correct critical vulnerability on ASP.NET Core that allows for the climbing of privileges. The failure, recorded as CVE-2026-40372, affects the cryptographic APIs of the data protection system (Data Protection) of ASP.NET Core and, under certain conditions, leaves the door open for an unauthenticated attacker to force cookies and other protected data to pass on as privileged users.
The problem came to light when several developers started to notice decrypt failures in their applications after installing the .NET 10.0.6 update distributed in this month's Patch Tuesday. In investigating, Microsoft detected a regression in the NuGet packages Microsoft.AspNetCore.DataProtection 10.0.0-10.0.6: the component that generated and validated the HMAC label calculated the integrity control on incorrect bytes of the payload and, in some scenarios, ruled out the calculated hash. This combination allows apparently valid signatures to pass the authenticity checks and previously protected payloads - such as session cookies, anti-counterfeiting tokens, TempData or OIDC state - to be decipher or falsified. You can see the technical explanation in the notes in version 10.0.7 published by the .NET team: notes to version 10.0.7.

The practical consequences are worrying: if an attacker is able to authenticate with a privileged identity using forged payloads during the vulnerability window, the application could then issue legitimate tokens - for example, refresh tokens, API keys or password restoration links - that will remain valid even after applying the correction, unless a data protection key ring rotation is performed. Microsoft describes these implications in its security notice: MSRC advice on CVE-2026-40372.
The immediate measure recommended by Microsoft is to update the Microsoft.AspNetCore.DataProtection package to version 10.0.7 and redeploy the affected applications as soon as possible so that the restored validation routine automatically rejects forged payloads. The .NET team summarized the instructions and risk in a technical statement where it requests all customers to act with priority: .NET blog entry on the OOB 10.0.7, and the updated package is available on the official download page: .NET 10.0 downloads.
It is not enough to just park: entities that could have been manipulated during the exposure window should consider the rotation of their keys Data Protection to invalidate legitimate tokens misissued. Official documentation on how data protection works and how to manage the key ring can serve as a guide for this process without interrupting services: Data Protection documentation in ASP.NET Core and key management guide.
Microsoft also clarified that, in addition to the possibility of supplanting identities and issuing legitimate tokens by the attacker, vulnerability can be exploited to reveal files or modify data stored by the application. However, according to the notice, this failure does not affect the availability of the system (for example, causing denial of service at the operating system level).

This incident is in addition to other recent serious vulnerabilities reported in the ASP.NET Core ecosystem. Last October Microsoft patched a "HTTP request smuggling" failure on the Kestrel web server that received particularly high severity and allowed authenticated attackers to kidnap credentials from other users, avoid front controls or even cause the server to fall; that vulnerability is recorded as CVE-2025-55315. The repetition of critical problems in web infrastructure components highlights the need to apply patches with agility and to maintain in-depth defence controls.
For managers and development teams, the practical road map is clear: update to package 10.0.7, refold services, review logs and unusual access signals during the vulnerable window and, if there is a suspicion of exposure, rotate data protection keys and revoke sensitive tokens. Microsoft keeps a record of the platforms and configurations affected in the official ad accompanying the correction: announcement in GitHub about the update.
Finally, it should be recalled that Microsoft has continued to publish off-cycle updates for other problems identified following the April 2026 updates, and that the security of modern web applications depends on both fast and practical patches such as configuration hardening, active monitoring and privilege segregation. If you manage ASP.NET Core applications using Data Protection, act now: patch, display and validate the integrity of your keys and tokens.
Related
More news on the same subject.

Campaign at Hugging Face Spaces and GitHub uses game traps to steal passwords and sessions
A massive campaign has used Hugging Face Spaces pages and GitHub repositories to attract players with supposed traps and bots and push them to install malware that steals browse...

Canada detects NEXCOL intrusion and suspension of export permits
The Canadian government confirmed that its online system to manage permits for the export of military material and strategic goods, known as NEXCOL, suffered an intrusion detect...

CertiK shows Weight2Shell: identical weights, different outputs by inference environment
CertiK security researchers have demonstrated a technique - called Weight2Shell in their report - that allows two instances of the same artificial intelligence model, carrying i...

RabbitMQ: critical failure in the management interface exposes tokens OAuth2; patches 4.4.1 / 4.3.8
A critical vulnerability in RabbitMQ allows an attacker who has access to the management interface to get tokens OAuth2 signed by the identity provider without credentials and t...

Critical Vulnerability in Erlang / OTP client TLS allows MITM without certificate (CVE-2026-124286)
A critical vulnerability to the client implementation of TLS within Erlang / Open Telecom Platform (OTP) allows a malicious server to complete a TLS 1.2 handshake without presen...

pCloud Pass: cyber attack exposes emails from few users; undecipher encrypted vaults
This week pCloud Pass, the password manager integrated into the Swiss pCloud service, confirmed that it was the target of a "cyber attack" after several users reported early log...

SOCRadar identifies WeaveLotus / RedOps campaign in intrusions to Thailand and the Philippines
SOCRadar has published an analysis that attributes a series of intrusions to military, government and legislative institutions in South-East Asia to a set of tools and activitie...