
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-21218 is a security feature bypass vulnerability in the System.Security.Cryptography.Cose library affecting Microsoft .NET 8.0, .NET 9.0, and .NET 10.0. It allows an unauthenticated, network-accessible attacker to forge COSE (CBOR Object Signing and Encryption) signatures and bypass message validation checks by crafting a malicious payload that exploits improper handling of a missing special element (CWE-166). The vulnerability was disclosed and patched on February 10, 2026, as part of Microsoft's February 2026 Patch Tuesday. It carries a CVSS v3.1 base score of 7.5 (High) and a CVSS v4.0 base score of 8.7 (High) (GitHub Advisory, Microsoft MSRC).
The root cause is classified as CWE-166 (Improper Handling of Missing Special Element): the System.Security.Cryptography.Cose library fails to correctly handle cases where an expected special element is absent during COSE message validation, allowing an attacker to craft a payload that bypasses signature verification. The attack vector is network-based, requires no privileges, no user interaction, and low attack complexity, making it straightforward to exploit remotely. Specifically, affected NuGet package versions are System.Security.Cryptography.Cose >= 8.0.0 and <= 8.0.1 (.NET 8), >= 9.0.0 and <= 9.0.12 (.NET 9), and >= 10.0.0 and <= 10.0.2 (.NET 10). Only applications that explicitly reference the System.Security.Cryptography.Cose NuGet package are affected; by default, no .NET applications include this component (GitHub Advisory).
Successful exploitation allows an attacker to forge COSE signatures and spoof security-critical data, resulting in a high integrity impact with no confidentiality or availability impact. Applications relying on COSE message validation for authentication or data integrity decisions could be deceived into accepting tampered or unauthorized messages, potentially enabling unauthorized access or data manipulation. The vulnerability is network-accessible and requires no user interaction, broadening the potential attack surface for any internet-facing service using the affected library (GitHub Advisory, Microsoft MSRC).
Update the System.Security.Cryptography.Cose NuGet package to the patched versions: 8.0.2 (for .NET 8), 9.0.13 (for .NET 9), or 10.0.3 (for .NET 10). This can be done via the NuGet Package Manager in Visual Studio, the Package Manager Console (Update-Package -Id System.Security.Cryptography.Cose), or the .NET CLI (dotnet add package System.Security.Cryptography.Cose). After updating the package reference, recompile and redeploy the application. Applications that do not reference System.Security.Cryptography.Cose are not affected and require no action (GitHub Advisory, Microsoft MSRC).
The vulnerability was covered as part of broader February 2026 Patch Tuesday reporting by outlets including BleepingComputer, Rapid7, Sophos, and The Cyber Express, though it did not receive individual spotlight coverage given its limited scope (only applications explicitly using the COSE library are affected). The SANS Internet Storm Center diary for February 2026 also noted the patch release. No significant independent researcher commentary or social media controversy was observed (BleepingComputer, Rapid7, Sophos).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."