CVE-2025-21173 .NET Elevation of Privilege Vulnerability
An elevation of privilege vulnerability in the .NET runtime allows attackers to gain higher privileges on affected systems.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2025-21173?
CVE-2025-21173 is a high-severity vulnerability in Microsoft .Net, published on 14 Jan 2025. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.
Official description
.NET Elevation of Privilege Vulnerability
Weakness: CWE-379
Which versions are affected by CVE-2025-21173?
2 open source packages ship an affected version, including dotnet and dotnet-sdk. It affects 2 products.
| Package | Affected | Fixed in |
|---|---|---|
dotnet Bitnami | From 8.0.0 | 8.0.1, 9.0.1 |
dotnet-sdk Bitnami | From 8.0.0 | 8.0.101, 9.0.100 |
Products include Microsoft .Net, Microsoft Visual Studio 2022.
How do I fix CVE-2025-21173?
Upgrade dotnet to a fixed version for your release line: 8.0.1 or 9.0.1.
Is CVE-2025-21173 being exploited?
There is no known exploitation of CVE-2025-21173 in the wild and no public exploit code.
Other vulnerabilities in Microsoft .Net
- CVE-2024-43498 .NET and Visual Studio Remote Code Execution Vulnerability
- CVE-2024-0057 NET, .NET Framework, and Visual Studio Security Feature Bypass Vulnerability
- CVE-2026-96957 .NET Security Feature Bypass Vulnerability
- CVE-2026-69439 .NET and Visual Studio Elevation of Privilege Vulnerability
- CVE-2026-71328 .NET and Visual Studio Remote Code Execution Vulnerability
Sources
Also known as BELL-CVE-2025-21173, BIT-dotnet-2025-21173, BIT-dotnet-sdk-2025-21173, GHSA-mvph-h5j7-4h2g, UBUNTU-CVE-2025-21173.