
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-50650 is a code injection (CWE-94) elevation of privilege vulnerability in Windows Presentation Foundation (WPF) within Microsoft .NET Framework and .NET. It allows an unauthenticated local attacker to elevate privileges by exploiting improper control of code generation when parsing specially crafted XAML input. Disclosed on July 14, 2026, as part of Microsoft's July 2026 Patch Tuesday, it affects .NET Framework versions 3.5 through 4.8.1, .NET 8.0 (before 8.0.29), .NET 9.0 (before 9.0.18), .NET 10.0 (before 10.0.10), and associated Visual Studio 2022/2026 versions. It carries a CVSS v3.1 base score of 7.8 (High) (MSRC Advisory, GitHub Advisory).
The vulnerability is rooted in improper neutralization of special elements in code generation (CWE-94) within the WPF XAML parser. When a WPF application processes a specially crafted XAML file, the parser fails to adequately control the generation of code derived from attacker-influenced input, enabling code injection. Exploitation requires local access and user interaction — typically, a user must open or process a malicious XAML document — but requires no prior privileges. The vulnerability is classified under CAPEC-242 (Code Injection) and CAPEC-35 (Leverage Executable Code in Non-Executable Files). No public proof-of-concept code has been identified at this time (GitHub Advisory, MSRC Advisory).
Successful exploitation grants an attacker high-impact compromise of confidentiality, integrity, and availability on the affected Windows system, effectively achieving full local privilege escalation. An attacker who exploits this vulnerability could execute arbitrary code at elevated privilege levels, potentially gaining administrative control over the affected host. The scope is limited to the local system (no scope change), but elevated privileges could facilitate further lateral movement or persistence within a compromised environment (GitHub Advisory, MSRC Advisory).
As of the time of disclosure, there is no public proof-of-concept exploit and no evidence of active in-the-wild exploitation. The NVD SSVC assessment confirms exploitation is currently "none" and the attack is not automatable due to the required user interaction. The EPSS score is approximately 0.285% (21st percentile), indicating a low near-term exploitation probability. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog (GitHub Advisory, MSRC Advisory).
.xaml files in user download directories, temp folders, or email attachment staging areas; newly created executables or scripts in user-writable directories following XAML file access.cmd.exe, powershell.exe, mshta.exe) with elevated privileges; processes running under unexpected user contexts after a user opened a XAML document.Microsoft released patches on July 14, 2026 (Patch Tuesday). Organizations should update to the following fixed versions: .NET 8.0.29 or later, .NET 9.0.18 or later, .NET 10.0.10 or later; .NET Framework 4.8 to version 4.8.4803.0 or later, 4.8.1 to 4.8.9339.0 or later, and 4.6.2/4.7/4.7.1/4.7.2 to 4.7.4143.0 or later; Visual Studio 2022 17.12 to 17.12.22+, 17.14 to 17.14.36+, and Visual Studio 2026 18.7 to 18.7.4+. Self-contained .NET applications targeting affected versions must be recompiled and redeployed. As an interim measure, apply the principle of least privilege to limit the impact of any successful local privilege escalation (MSRC Advisory, GitHub Advisory).
The vulnerability was covered as part of Microsoft's record-breaking July 2026 Patch Tuesday, which addressed 570 vulnerabilities including three zero-days, drawing significant attention from the security community (BleepingComputer). Microsoft published a dedicated servicing update blog post for .NET and .NET Framework (Microsoft DevBlogs). Rapid7 and SANS ISC also covered the July 2026 Patch Tuesday in their respective analyses (Rapid7 Blog, SANS ISC). Red Hat and other Linux ecosystem vendors issued advisories for their .NET runtime packages in response to this CVE.
Fix availability across major Linux distributions and their releases.
RHEL 8
:appstream:dotnet10.0-0:10.0.110-1.el8_10.src
RHEL 9
:appstream:dotnet8.0-0:8.0.130-1.el9_4.src
RHEL 10
dotnet8.0-0:8.0.130-1.el10_0.src
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."