Emergency Patch Addresses High-Severity Vulnerability
Microsoft has rolled out an urgent patch for its ASP.NET Core framework, targeting a critical flaw that exposes devices running Linux or macOS applications to unauthenticated attackers seeking SYSTEM-level privileges. The software giant announced the issue on Tuesday evening via its GitHub repository, highlighting the vulnerability tracked as CVE-2026-40372. This affects versions 10.0.0 through 10.0.6 of the Microsoft.AspNetCore.DataProtection NuGet package, an integral component of the framework used in web development.
At the core of the problem lies a defective verification process for cryptographic signatures, specifically during HMAC validation. This mechanism is essential for ensuring the integrity and authenticity of data exchanged between clients and servers. Attackers can exploit this weakness to forge authentication payloads, bypassing security checks and potentially compromising entire systems.
Beware: Forged Credentials Persist After Patching
Users running vulnerable versions were at risk of attacks where unauthenticated individuals could elevate to sensitive SYSTEM privileges, leading to full machine compromise. The danger doesn't end with applying the patch; any authentication credentials forged by threat actors during the exposure window remain valid unless explicitly purged from the system.
This persistence means that even patched environments could harbor backdoors if attackers had already injected malicious credentials. Administrators must take proactive steps to identify and revoke any suspicious authentication data to fully mitigate the threat. Microsoft's announcement underscores the need for immediate action beyond just updating the package.
Key Facts on the Vulnerability
- Affected package: Microsoft.AspNetCore.DataProtection versions 10.0.0 to 10.0.6
- Exploitation method: Forging authentication payloads via faulty HMAC validation
- Impact: Unauthenticated remote code execution leading to SYSTEM privileges
- Platforms: Linux and macOS hosting ASP.NET Core apps
- Post-patch risk: Forged credentials survive unless manually removed
- Announcement: Detailed in GitHub issue dotnet/announcements#395
Recommendations for Mitigation
Organizations relying on ASP.NET Core for web applications on non-Windows platforms should prioritize updating to the patched version and conduct thorough audits of authentication artifacts. The flaw's severity demands a layered defense approach, including monitoring for anomalous privilege escalations and rotating all data protection keys. While Microsoft has acted swiftly, the onus falls on users to ensure complete remediation, as lingering forged credentials represent a stealthy ongoing threat.






