CVE-2026-50649 .NET Remote Code Execution Vulnerability

High 7.8 Published Updated

An attacker can execute arbitrary code locally by exploiting unsafe deserialization in the .NET runtime.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2026-50649?

CVE-2026-50649 is a high-severity unsafe deserialization vulnerability in Microsoft .Net, published on 14 Jul 2026. 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

Deserialization of untrusted data in .NET allows an unauthorized attacker to execute code locally.

Weakness: CWE-502

Which versions are affected by CVE-2026-50649?

2 open source packages ship an affected version, including dotnet and dotnet-sdk. It affects 3 products.

PackageAffectedFixed in
dotnet BitnamiFrom 8.0.08.0.29, 9.0.18
dotnet-sdk BitnamiFrom 8.0.08.0.29, 9.0.18

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

How do I fix CVE-2026-50649?

Upgrade dotnet to a fixed version for your release line: 8.0.29 or 9.0.18.

Upgrade, and only deserialise data from trusted sources or with an allow-list of types. More about Unsafe deserialization.

Is CVE-2026-50649 being exploited?

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

All Microsoft .Net vulnerabilities

Sources

Also known as BIT-dotnet-2026-50649, BIT-dotnet-sdk-2026-50649, MINI-28wj-p962-gp8m, MINI-fxv5-9wfj-ccr5, UBUNTU-CVE-2026-50649.

Is CVE-2026-50649 in your software?

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

Check your SBOMs for free