CVE-2025-21173 .NET Elevation of Privilege Vulnerability

High 7.3 Published Updated

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.

PackageAffectedFixed in
dotnet BitnamiFrom 8.0.08.0.1, 9.0.1
dotnet-sdk BitnamiFrom 8.0.08.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.

All Microsoft .Net vulnerabilities

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.

Is CVE-2025-21173 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free