Every CVE Search/ Get API key

CVE-2026-21218

.NET Spoofing Vulnerability

7.5 HighFix available

Improper handling of missing special element in .NET allows an unauthorized attacker to perform spoofing over a network.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
None
User interaction
None

What an attacker can affect

Confidentiality
None
Integrity
High
Availability
None

Exploit likelihood

1.00%Up 1.0 points since Feb 11, 2026
90%50%10%1%

What each source reports

CVE List Score used 7.5

.NET Spoofing Vulnerability

Improper handling of missing special element in .NET allows an unauthorized attacker to perform spoofing over a network.

Record
CVE-2026-21218
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N/E:U/RL:O/RC:C
Weakness
CWE-166
Updated
2026-11-02
EUVDEUVD-2026-7347 7.5

Improper handling of missing special element in .NET allows an unauthorized attacker to perform spoofing over a network.

Record
EUVD-2026-7347
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N/E:U/RL:O/RC:C
Updated
2026-11-02
GitHub AdvisoriesGHSA-qvhc-9v3j-5rfw 8.7

Microsoft Security Advisory CVE-2026-21218 | .NET Security Feature Bypass Vulnerability

Microsoft Security Advisory CVE-2026-21218 | .NET Security Feature Bypass Vulnerability

<a name="executive-summary"></a>Executive summary

Microsoft is releasing this security advisory to provide information about a vulnerability in .NET 8.0, .NET 9.0, and .NET 10.0. This advisory also provides guidance on what developers can do to update their applications to remove this vulnerability.

An attacker could exploit this vulnerability by crafting a malicious payload that bypasses the security checks in the affected System.Security.Cryptography.Cose versions, potentially leading to unauthorized access or data manipulation.

Announcement

Announcement for this issue can be found at https://github.com/dotnet/announcements/issues/380

<a name="mitigation-factors"></a>Mitigation factors

If your application does not use System.Security.Cryptography.Cose it is not affected. By default, no .NET applications reference this component.

<a name="affected-packages"></a>Affected Packages

The vulnerability affects any Microsoft .NET project if it uses any of affected packages versions listed below

<a name=".NET 10"></a>.NET 10

Package name | Affected version | Patched version ------------ | ---------------- | ------------------------- System.Security.Cryptography.Cose | >= 10.0.0, <= 10.0.2 | 10.0.3

<a name=".NET 9"></a>.NET 9

Package name | Affected version | Patched version ------------ | ---------------- | ------------------------- System.Security.Cryptography.Cose | >= 9.0.0, <= 9.0.12 | 9.0.13

<a name=".NET 8"></a>.NET 8

Package name | Affected version | Patched version ------------ | ---------------- | ------------------------- System.Security.Cryptography.Cose | >= 8.0.0, <= 8.0.1 | 8.0.2

Advisory FAQ

<a name="how-affected"></a>How do I know if I am affected?

If an affected package listed in affected software or affected packages, you're exposed to the vulnerability.

<a name="how-fix"></a>How do I fix the issue?

To update the Using the System.Security.Cryptography.Cose NuGet package, use one of the following methods:

NuGet Package Manager UI in Visual Studio:

  • Open your project in Visual Studio.
  • Right-click on your project in Solution Explorer and select "Manage NuGet Packages..." or navigate to "Project > Manage NuGet Packages".
  • In the NuGet Package Manager window, select the "Updates" tab. This tab lists packages with available updates from your configured package sources.
  • Select the package(s) you wish to update. You can choose a specific version from the dropdown or update to the latest available version.
  • Click the "Update" button.

Using the NuGet Package Manager Console in Visual Studio:

  • Open your project in Visual Studio.
  • Navigate to "Tools > NuGet Package Manager > Package Manager Console".
  • To update a specific package to its latest version, use the following Update-Package command:
Update-Package -Id System.Security.Cryptography.Cose

Using the .NET CLI (Command Line Interface):

  • Open a terminal or command prompt in your project's directory.
  • To update a specific package to its latest version, use the following add package command:
dotnet add package System.Security.Cryptography.Cose

Once you have updated the nuget package reference you must recompile and deploy your application. Additionally we recommend you update your runtime and/or SDKs, but it is not necessary to patch the vulnerability.

Other Information

Reporting Security Issues

If you have found a potential security issue in a supported version of .NET, please report it to the Microsoft Security Response Center (MSRC) via the [MSRC Researcher…

Record
GHSA-qvhc-9v3j-5rfw
CVSS 4.0
8.7 HighCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N
Weakness
CWE-166
Updated
2026-11-02
NVD 7.5

Improper handling of missing special element in .NET allows an unauthorized attacker to perform spoofing over a network.

Record
CVE-2026-21218
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Weakness
CWE-166
Updated
2026-11-02
OSVALPINE-CVE-2026-21218 7.5

Improper handling of missing special element in .NET allows an unauthorized attacker to perform spoofing over a network.

Record
ALPINE-CVE-2026-21218
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Updated
2026-11-03
OSVBELL-CVE-2026-21218 7.5
Record
BELL-CVE-2026-21218
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Updated
2026-11-02
Show 7 moreShow less
OSV 7.5

Improper handling of missing special element in .NET allows an unauthorized attacker to perform spoofing over a network.

Record
CVE-2026-21218
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Updated
2026-11-02
OSVGHSA-qvhc-9v3j-5rfw 8.7

Microsoft Security Advisory CVE-2026-21218 | .NET Security Feature Bypass Vulnerability

Microsoft Security Advisory CVE-2026-21218 | .NET Security Feature Bypass Vulnerability

<a name="executive-summary"></a>Executive summary

Microsoft is releasing this security advisory to provide information about a vulnerability in .NET 8.0, .NET 9.0, and .NET 10.0. This advisory also provides guidance on what developers can do to update their applications to remove this vulnerability.

An attacker could exploit this vulnerability by crafting a malicious payload that bypasses the security checks in the affected System.Security.Cryptography.Cose versions, potentially leading to unauthorized access or data manipulation.

Announcement

Announcement for this issue can be found at https://github.com/dotnet/announcements/issues/380

<a name="mitigation-factors"></a>Mitigation factors

If your application does not use System.Security.Cryptography.Cose it is not affected. By default, no .NET applications reference this component.

<a name="affected-packages"></a>Affected Packages

The vulnerability affects any Microsoft .NET project if it uses any of affected packages versions listed below

<a name=".NET 10"></a>.NET 10

Package name | Affected version | Patched version ------------ | ---------------- | ------------------------- System.Security.Cryptography.Cose | >= 10.0.0, <= 10.0.2 | 10.0.3

<a name=".NET 9"></a>.NET 9

Package name | Affected version | Patched version ------------ | ---------------- | ------------------------- System.Security.Cryptography.Cose | >= 9.0.0, <= 9.0.12 | 9.0.13

<a name=".NET 8"></a>.NET 8

Package name | Affected version | Patched version ------------ | ---------------- | ------------------------- System.Security.Cryptography.Cose | >= 8.0.0, <= 8.0.1 | 8.0.2

Advisory FAQ

<a name="how-affected"></a>How do I know if I am affected?

If an affected package listed in affected software or affected packages, you're exposed to the vulnerability.

<a name="how-fix"></a>How do I fix the issue?

To update the Using the System.Security.Cryptography.Cose NuGet package, use one of the following methods:

NuGet Package Manager UI in Visual Studio:

  • Open your project in Visual Studio.
  • Right-click on your project in Solution Explorer and select "Manage NuGet Packages..." or navigate to "Project > Manage NuGet Packages".
  • In the NuGet Package Manager window, select the "Updates" tab. This tab lists packages with available updates from your configured package sources.
  • Select the package(s) you wish to update. You can choose a specific version from the dropdown or update to the latest available version.
  • Click the "Update" button.

Using the NuGet Package Manager Console in Visual Studio:

  • Open your project in Visual Studio.
  • Navigate to "Tools > NuGet Package Manager > Package Manager Console".
  • To update a specific package to its latest version, use the following Update-Package command:
Update-Package -Id System.Security.Cryptography.Cose

Using the .NET CLI (Command Line Interface):

  • Open a terminal or command prompt in your project's directory.
  • To update a specific package to its latest version, use the following add package command:
dotnet add package System.Security.Cryptography.Cose

Once you have updated the nuget package reference you must recompile and deploy your application. Additionally we recommend you update your runtime and/or SDKs, but it is not necessary to patch the vulnerability.

Other Information

Reporting Security Issues

If you have found a potential security issue in a supported version of .NET, please report it to the Microsoft Security Response Center (MSRC) via the [MSRC Researcher…

Record
GHSA-qvhc-9v3j-5rfw
CVSS 4.0
8.7 HighCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N
Weakness
CWE-166
Updated
2026-11-02
OSVUBUNTU-CVE-2026-21218 7.5

Improper handling of missing special element in .NET allows an unauthorized attacker to perform spoofing over a network.

Record
UBUNTU-CVE-2026-21218
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Updated
2026-11-02
OSVBIT-dotnet-2026-21218 No score

.NET Spoofing Vulnerability

Improper handling of missing special element in .NET allows an unauthorized attacker to perform spoofing over a network.

Record
BIT-dotnet-2026-21218
Updated
2026-11-02
OSVBIT-dotnet-sdk-2026-21218 No score

.NET Spoofing Vulnerability

Improper handling of missing special element in .NET allows an unauthorized attacker to perform spoofing over a network.

Record
BIT-dotnet-sdk-2026-21218
Updated
2026-11-02
OSVUSN-8025-1 No score

dotnet8, dotnet9, dotnet10 vulnerability

Kevin Jones discovered that the System.Security.Cryptography.Cose component in .NET did not properly handle certain missing special elements in input data. An attacker could possibly use this issue to bypass security checks and gain unauthorized access or perform data manipulation.

Record
USN-8025-1
Updated
2026-11-02
OSVUSN-8025-2 No score

dotnet8, dotnet10 vulnerability

USN 8025-1 fixed a vulnerability in .NET. This update provides the corresponding fix for Ubuntu 24.04 LTS.

Original advisory details:

Kevin Jones discovered that the System.Security.Cryptography.Cose component in .NET did not properly handle certain missing special elements in input data. An attacker could possibly use this issue to bypass security checks and gain unauthorized access or perform data manipulation.

Record
USN-8025-2
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
System.Security.Cryptography.Cose
NuGet
8.0.0 to 8.0.1
8.0.2
System.Security.Cryptography.Cose
NuGet
9.0.0 to 9.0.12
9.0.13
System.Security.Cryptography.Cose
NuGet
10.0.0 to 10.0.2
10.0.3
dotnet10-runtime
Alpine:v3.23
before 10.0.3-r0
10.0.3-r0
dotnet10-runtime
Alpine:v3.24
before 10.0.3-r0
10.0.3-r0
dotnet8-runtime
Alpine:v3.20
before 8.0.24-r0
8.0.24-r0
dotnet8-runtime
Alpine:v3.21
before 8.0.24-r0
8.0.24-r0
dotnet8-runtime
Alpine:v3.22
before 8.0.24-r0
8.0.24-r0
dotnet8-runtime
Alpine:v3.23
before 8.0.24-r0
8.0.24-r0
dotnet8-runtime
Alpine:v3.24
before 8.0.24-r0
8.0.24-r0
Show 21 moreShow less
Affected packages
PackageAffectedFixed
dotnet9-runtime
Alpine:v3.21
before 9.0.13-r0
9.0.13-r0
dotnet9-runtime
Alpine:v3.22
before 9.0.13-r0
9.0.13-r0
dotnet9-runtime
Alpine:v3.23
before 9.0.13-r0
9.0.13-r0
dotnet9-runtime
Alpine:v3.24
before 9.0.13-r0
9.0.13-r0
dotnet8-runtime
Alpaquita:25
8.0.17-r0 up to 8.0.24-r0
8.0.24-r0
dotnet8-sdk
Alpaquita:25
8.0.117-r0 up to 8.0.124-r0
8.0.124-r0
dotnet8-runtime
Alpaquita:stream
8.0.11-r1 up to 8.0.24-r0
8.0.24-r0
dotnet8-sdk
Alpaquita:stream
8.0.111-r1 up to 8.0.124-r0
8.0.124-r0
dotnet
Bitnami
8.0.0 up to 8.0.24, 9.0.0 up to 9.0.13, 10.0.0 up to 10.0.3
8.0.249.0.1310.0.3
dotnet-sdk
Bitnami
8.0.0 up to 8.0.24, 9.0.0 up to 9.0.13, 10.0.0 up to 10.0.3
8.0.249.0.1310.0.3
System.Security.Cryptography.Cose
NuGet
8.0.0 up to 8.0.2, plus listed versions
8.0.1
8.0.2
System.Security.Cryptography.Cose
NuGet
9.0.0 up to 9.0.13, plus listed versions
9.0.19.0.109.0.119.0.129.0.2
Show 7 moreShow less
9.0.39.0.49.0.59.0.69.0.79.0.89.0.9
9.0.13
System.Security.Cryptography.Cose
NuGet
10.0.0 up to 10.0.3, plus listed versions
10.0.110.0.2
10.0.3
dotnet6
Ubuntu:22.04:LTS
All versions, plus listed versions
6.0.108-0ubuntu1~22.04.16.0.109-0ubuntu1~22.04.16.0.110-0ubuntu1~22.04.16.0.111-0ubuntu1~22.04.16.0.113-0ubuntu1~22.04.1
Show 16 moreShow less
6.0.116-0ubuntu1~22.04.16.0.118-0ubuntu1~22.04.16.0.119-0ubuntu1~22.04.16.0.120-0ubuntu1~22.04.16.0.121-0ubuntu1~22.04.16.0.122-0ubuntu1~22.04.16.0.123-0ubuntu1~22.04.16.0.124-0ubuntu1~22.04.16.0.125-0ubuntu1~22.04.16.0.126-0ubuntu1~22.04.16.0.127-0ubuntu1~22.04.16.0.128-0ubuntu1~22.04.26.0.132-0ubuntu1~22.04.16.0.133-0ubuntu1~22.04.16.0.135-0ubuntu1~22.04.16.0.136-0ubuntu1~22.04.1
None known
dotnet7
Ubuntu:22.04:LTS
All versions, plus listed versions
7.0.105-0ubuntu1~22.04.17.0.107-0ubuntu1~22.04.17.0.108-0ubuntu1~22.04.17.0.109-0ubuntu1~22.04.17.0.110-0ubuntu1~22.04.1
Show 9 moreShow less
7.0.111-0ubuntu1~22.04.17.0.112-0ubuntu1~22.04.17.0.113-0ubuntu1~22.04.17.0.114-0ubuntu1~22.04.17.0.115-0ubuntu1~22.04.17.0.116-0ubuntu1~22.04.17.0.117-0ubuntu1~22.04.17.0.117-0ubuntu1~22.04.27.0.119-0ubuntu1~22.04.1
None known
dotnet8
Ubuntu:22.04:LTS
before 8.0.124-8.0.24-0ubuntu1~22.04.1, plus listed versions
8.0.102-8.0.2-0ubuntu1~22.04.18.0.103-8.0.3-0ubuntu1~22.04.18.0.103-8.0.3-0ubuntu1~22.04.28.0.105-8.0.5-0ubuntu1~22.04.18.0.107-8.0.7-0ubuntu1~22.04.1
Show 14 moreShow less
8.0.108-8.0.8-0ubuntu1~22.04.18.0.110-8.0.10-0ubuntu1~22.04.18.0.111-8.0.11-0ubuntu1~22.04.18.0.112-8.0.12-0ubuntu1~22.04.18.0.114-8.0.14-0ubuntu1~22.04.18.0.115-8.0.15-0ubuntu1~22.04.18.0.116-8.0.16-0ubuntu1~22.04.18.0.117-8.0.17-0ubuntu1~22.04.18.0.118-8.0.18-0ubuntu1~22.04.18.0.119-8.0.19-0ubuntu1~22.04.18.0.120-8.0.20-0ubuntu1~22.04.18.0.121-8.0.21-0ubuntu1~22.04.18.0.122-8.0.22-0ubuntu1~22.04.18.0.123-8.0.23-0ubuntu1~22.04.1
8.0.124-8.0.24-0ubuntu1~22.04.1
dotnet10
Ubuntu:24.04:LTS
before 10.0.103-10.0.3-0ubuntu1~24.04.1, plus listed versions
10.0.100-10.0.0-0ubuntu1~24.04.110.0.101-10.0.1-0ubuntu1~24.04.2
10.0.103-10.0.3-0ubuntu1~24.04.1
dotnet8
Ubuntu:24.04:LTS
before 8.0.124-8.0.24-0ubuntu1~24.04.1, plus listed versions
8.0.100-8.0.0~rc1-0ubuntu18.0.100-8.0.0~rc2-0ubuntu18.0.100-8.0.0~rc2-0ubuntu28.0.100-8.0.0-0ubuntu18.0.100-8.0.0-0ubuntu2
Show 23 moreShow less
8.0.101-8.0.1-0ubuntu18.0.101-8.0.1-0ubuntu28.0.102-8.0.2-0ubuntu18.0.103-8.0.3-0ubuntu28.0.103-8.0.3-0ubuntu38.0.104-8.0.4-0ubuntu18.0.105-8.0.5-0ubuntu1~24.04.18.0.107-8.0.7-0ubuntu1~24.04.18.0.108-8.0.8-0ubuntu1~24.04.18.0.108-8.0.8-0ubuntu1~24.04.28.0.110-8.0.10-0ubuntu1~24.04.18.0.111-8.0.11-0ubuntu1~24.04.18.0.112-8.0.12-0ubuntu1~24.04.18.0.114-8.0.14-0ubuntu1~24.04.18.0.115-8.0.15-0ubuntu1~24.04.18.0.116-8.0.16-0ubuntu1~24.04.18.0.117-8.0.17-0ubuntu1~24.04.18.0.118-8.0.18-0ubuntu1~24.04.18.0.119-8.0.19-0ubuntu1~24.04.18.0.120-8.0.20-0ubuntu1~24.04.18.0.121-8.0.21-0ubuntu1~24.04.18.0.122-8.0.22-0ubuntu1~24.04.18.0.123-8.0.23-0ubuntu1~24.04.1
8.0.124-8.0.24-0ubuntu1~24.04.1
dotnet10
Ubuntu:25.10
before 10.0.103-10.0.3-0ubuntu1~25.10.1, plus listed versions
10.0.100-10.0.0~rc1-0ubuntu110.0.100-10.0.0~rc2-0ubuntu1~25.10.210.0.100-10.0.0-0ubuntu1~25.10.110.0.101-10.0.1-0ubuntu1~25.10.2
10.0.103-10.0.3-0ubuntu1~25.10.1
dotnet8
Ubuntu:25.10
before 8.0.124-8.0.24-0ubuntu1~25.10.1, plus listed versions
8.0.115-8.0.15-0ubuntu18.0.116-8.0.16-0ubuntu18.0.117-8.0.17-0ubuntu18.0.118-8.0.18-0ubuntu18.0.119-8.0.19-0ubuntu1
Show 4 moreShow less
8.0.120-8.0.20-0ubuntu18.0.121-8.0.21-0ubuntu1~25.10.18.0.122-8.0.22-0ubuntu1~25.10.18.0.123-8.0.23-0ubuntu1~25.10.1
8.0.124-8.0.24-0ubuntu1~25.10.1
dotnet9
Ubuntu:25.10
before 9.0.114-9.0.13-0ubuntu1~25.10.1, plus listed versions
9.0.105-9.0.4-0ubuntu19.0.106-9.0.5-0ubuntu19.0.107-9.0.6-0ubuntu19.0.108-9.0.7-0ubuntu19.0.109-9.0.8-0ubuntu1
Show 4 moreShow less
9.0.110-9.0.9-0ubuntu19.0.111-9.0.10-0ubuntu1~25.10.19.0.112-9.0.11-0ubuntu1~25.10.19.0.113-9.0.12-0ubuntu1~25.10.1
9.0.114-9.0.13-0ubuntu1~25.10.1

History

History
RecordedChangedSources
affected, aliases, referencesOSV
first indexedCVE List, EUVD, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2026-21218 is a high vulnerability (CVSS 7.5) in Microsoft .net, published February 10, 2026. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.00%, the 62nd percentile. Fixed in System.Security.Cryptography.Cose 8.0.2.

References

Show 7 moreShow less
This page doesn't list everything

Left out here: the rest of 2 source descriptions. The JSON record has them.

MoveEnter Open