CVE-2024-38081 .NET, .NET Framework, and Visual Studio Elevation of Privilege Vulnerability

High 7.3 Published Updated

An attacker can exploit a symlink vulnerability in .NET to elevate 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-2024-38081?

CVE-2024-38081 is a high-severity vulnerability in Microsoft .Net, published on 9 Jul 2024. 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, .NET Framework, and Visual Studio Elevation of Privilege Vulnerability

Weakness: CWE-59

Which versions are affected by CVE-2024-38081?

4 open source packages ship an affected version, including Microsoft.IO.Redist, dotnet and dotnet-sdk. It affects 3 products.

PackageAffectedFixed in
Microsoft.IO.Redist NuGetFrom 4.6.0-preview.18571.36.0.1
Microsoft.IO.Redist NuGetFrom 4.6.0-preview.18571.36.0.1
dotnet BitnamiFrom 6.0.06.0.32
dotnet-sdk BitnamiFrom 6.0.06.0.32

Products include Microsoft .Net, Microsoft .Net Framework, Microsoft Visual Studio 2022.

How do I fix CVE-2024-38081?

Upgrade Microsoft.IO.Redist to 6.0.1 or later.

Is CVE-2024-38081 being exploited?

There is no known exploitation of CVE-2024-38081 in the wild and no public exploit code.

All Microsoft .Net vulnerabilities

Sources

Also known as BELL-CVE-2024-38081, BIT-dotnet-2024-38081, BIT-dotnet-sdk-2024-38081, CLEANSTART-2025-KL68323, GHSA-hq7w-xv5x-g34j, UBUNTU-CVE-2024-38081.

Is CVE-2024-38081 in your software?

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

Check your SBOMs for free