What’s Vulnerable › Vulnerabilities
CVE-2025-21173: .NET Elevation of Privilege Vulnerability
- Severity: high (CVSS 7.3 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.3% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2025-01-14 · updated 2026-06-17
- Weakness: CWE-379
Description
.NET Elevation of Privilege Vulnerability
Affected products
- Microsoft .NET: 8.0.0, 9.0.0
- Microsoft Visual Studio 2022 version 17.14: from 17.6.0 before 17.6.22; from 17.8.0 before 17.8.17; from 17.10.0 before 17.10.10; from 17.12.0 before 17.12.4 — fixed in 17.10.10, 17.12.4, 17.6.22, 17.8.17
- Microsoft .NET 8.0: from 8.0.0 before 8.0.12 — fixed in 8.0.12
- Microsoft .NET 9.0: from 9.0.0 before 9.0.1 — fixed in 9.0.1
- Microsoft Visual Studio 2022 version 17.10: from 17.10.0 before 17.10.10 — fixed in 17.10.10
- Microsoft Visual Studio 2022 version 17.6: from 17.6.0 before 17.6.22 — fixed in 17.6.22
- Microsoft Visual Studio 2022 version 17.8: from 17.8.0 before 17.8.17 — fixed in 17.8.17
- Microsoft Visual Studio 2022 version 17.14: from 17.12.0 before 17.12.4 — fixed in 17.12.4
How to fix
Upgrade to a fixed version: Microsoft Visual Studio 2022 version 17.14 17.10.10, 17.12.4, 17.6.22, 17.8.17; Microsoft .NET 8.0 8.0.12; Microsoft .NET 9.0 9.0.1; Microsoft Visual Studio 2022 version 17.10 17.10.10; Microsoft Visual Studio 2022 version 17.6 17.6.22; Microsoft Visual Studio 2022 version 17.8 17.8.17; Microsoft Visual Studio 2022 version 17.14 17.12.4. Check the vendor advisory for mitigations.
References
- https://msrc.microsoft.com/update-guide/vulnerability/CVE-2025-21173
- https://www.herodevs.com/vulnerability-directory/cve-2025-21173
Get alerted when CVE-2025-21173 or the next vulnerability affects your stack