CVE-2026-50646 .NET Framework Remote Code Execution Vulnerability

High 7.8 Published Updated

An attacker can execute code locally due to a protection mechanism failure in .NET Framework deserialization.

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-50646?

CVE-2026-50646 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

Protection mechanism failure in .NET Framework allows an unauthorized attacker to execute code locally.

Weakness: CWE-693, CWE-502

Which versions are affected by CVE-2026-50646?

20 open source packages ship an affected version, including Microsoft.WindowsDesktop.App.Runtime.win-arm64, dotnet and dotnet-sdk. It affects 4 products.

PackageAffectedFixed in
Microsoft.WindowsDesktop.App.Runtime.win-arm64 NuGetFrom 10.0.010.0.10
Microsoft.WindowsDesktop.App.Runtime.win-arm64 NuGetFrom 10.0.010.0.10
Microsoft.WindowsDesktop.App.Runtime.win-arm64 NuGetFrom 8.0.08.0.29
Microsoft.WindowsDesktop.App.Runtime.win-arm64 NuGetFrom 8.0.08.0.29
Microsoft.WindowsDesktop.App.Runtime.win-arm64 NuGetFrom 9.0.09.0.18
Microsoft.WindowsDesktop.App.Runtime.win-arm64 NuGetFrom 9.0.09.0.18
14 more packages
dotnet BitnamiFrom 8.0.08.0.29, 9.0.18
dotnet-sdk BitnamiFrom 8.0.08.0.29, 9.0.18
Microsoft.WindowsDesktop.App.Runtime.win-x64 NuGetFrom 10.0.010.0.10
Microsoft.WindowsDesktop.App.Runtime.win-x64 NuGetFrom 10.0.010.0.10
Microsoft.WindowsDesktop.App.Runtime.win-x64 NuGetFrom 8.0.08.0.29
Microsoft.WindowsDesktop.App.Runtime.win-x64 NuGetFrom 8.0.08.0.29
Microsoft.WindowsDesktop.App.Runtime.win-x64 NuGetFrom 9.0.09.0.18
Microsoft.WindowsDesktop.App.Runtime.win-x64 NuGetFrom 9.0.09.0.18
Microsoft.WindowsDesktop.App.Runtime.win-x86 NuGetFrom 10.0.010.0.10
Microsoft.WindowsDesktop.App.Runtime.win-x86 NuGetFrom 10.0.010.0.10
Microsoft.WindowsDesktop.App.Runtime.win-x86 NuGetFrom 8.0.08.0.29
Microsoft.WindowsDesktop.App.Runtime.win-x86 NuGetFrom 8.0.08.0.29
Microsoft.WindowsDesktop.App.Runtime.win-x86 NuGetFrom 9.0.09.0.18
Microsoft.WindowsDesktop.App.Runtime.win-x86 NuGetFrom 9.0.09.0.18

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

How do I fix CVE-2026-50646?

Upgrade Microsoft.WindowsDesktop.App.Runtime.win-arm64 to a fixed version for your release line: 10.0.10, 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-50646 being exploited?

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

All Microsoft .Net vulnerabilities

Sources

Also known as BIT-dotnet-2026-50646, BIT-dotnet-sdk-2026-50646, GHSA-gh2h-rhph-h37g, MINI-gq68-ghwh-w8g3, MINI-r4f7-54f5-v2jj, UBUNTU-CVE-2026-50646.

Is CVE-2026-50646 in your software?

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

Check your SBOMs for free