CVE-2026-50646 .NET Framework Remote Code Execution Vulnerability
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.
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.
| Package | Affected | Fixed in |
|---|---|---|
Microsoft.WindowsDesktop.App.Runtime.win-arm64 NuGet | From 10.0.0 | 10.0.10 |
Microsoft.WindowsDesktop.App.Runtime.win-arm64 NuGet | From 10.0.0 | 10.0.10 |
Microsoft.WindowsDesktop.App.Runtime.win-arm64 NuGet | From 8.0.0 | 8.0.29 |
Microsoft.WindowsDesktop.App.Runtime.win-arm64 NuGet | From 8.0.0 | 8.0.29 |
Microsoft.WindowsDesktop.App.Runtime.win-arm64 NuGet | From 9.0.0 | 9.0.18 |
Microsoft.WindowsDesktop.App.Runtime.win-arm64 NuGet | From 9.0.0 | 9.0.18 |
14 more packages
dotnet Bitnami | From 8.0.0 | 8.0.29, 9.0.18 |
dotnet-sdk Bitnami | From 8.0.0 | 8.0.29, 9.0.18 |
Microsoft.WindowsDesktop.App.Runtime.win-x64 NuGet | From 10.0.0 | 10.0.10 |
Microsoft.WindowsDesktop.App.Runtime.win-x64 NuGet | From 10.0.0 | 10.0.10 |
Microsoft.WindowsDesktop.App.Runtime.win-x64 NuGet | From 8.0.0 | 8.0.29 |
Microsoft.WindowsDesktop.App.Runtime.win-x64 NuGet | From 8.0.0 | 8.0.29 |
Microsoft.WindowsDesktop.App.Runtime.win-x64 NuGet | From 9.0.0 | 9.0.18 |
Microsoft.WindowsDesktop.App.Runtime.win-x64 NuGet | From 9.0.0 | 9.0.18 |
Microsoft.WindowsDesktop.App.Runtime.win-x86 NuGet | From 10.0.0 | 10.0.10 |
Microsoft.WindowsDesktop.App.Runtime.win-x86 NuGet | From 10.0.0 | 10.0.10 |
Microsoft.WindowsDesktop.App.Runtime.win-x86 NuGet | From 8.0.0 | 8.0.29 |
Microsoft.WindowsDesktop.App.Runtime.win-x86 NuGet | From 8.0.0 | 8.0.29 |
Microsoft.WindowsDesktop.App.Runtime.win-x86 NuGet | From 9.0.0 | 9.0.18 |
Microsoft.WindowsDesktop.App.Runtime.win-x86 NuGet | From 9.0.0 | 9.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.
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 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.