Skip to content
MicrosoftCVE-2026-50650

Microsoft .NET 8.0: code injection

High7.8CVE-2026-50650 · Published Jul 14, 2026 · updated Jul 24, 2026

Improper control of generation of code ('code injection') in .NET Framework allows an unauthorized attacker to elevate privileges locally.

Microsoft advisory

Affected versions

PackageAffectedFixed in
.NET 8.0
Product
>= 8.0.0, < 8.0.298.0.29
.NET 9.0
Product
>= 9.0.0, < 9.0.189.0.18
Microsoft .NET Framework 3.5
Product
>= 3.5.0, < 2.0.50727.8983 & 3.0.30729.89782.0.50727.8983 & 3.0.30729.8978
Microsoft .NET Framework 3.5 AND 4.7.2
Product
>= 4.7.0, < 2.0.50727.9069 & 3.0.30729.9067 & 4.7.4143.02.0.50727.9069 & 3.0.30729.9067 & 4.7.4143.0
Microsoft .NET Framework 3.5 AND 4.8
Product
>= 4.8.0, < 2.0.50727.9069 & 3.0.30729.9067 & 4.8.4803.02.0.50727.9069 & 3.0.30729.9067 & 4.8.4803.0
Microsoft .NET Framework 3.5 AND 4.8.1
Product
>= 4.8.1, < 2.0.50727.9182 & 3.0.30729.9168 & 4.8.9339.02.0.50727.9182 & 3.0.30729.9168 & 4.8.9339.0
Microsoft .NET Framework 4.6.2/4.7/4.7.1/4.7.2
Product
>= 4.7.0, < 4.7.4143.04.7.4143.0
Microsoft .NET Framework 4.8
Product
>= 4.8.0, < 4.8.4803.04.8.4803.0
Microsoft Visual Studio 2022 version 17.12
Product
>= 17.12.0, < 17.12.2217.12.22
Microsoft Visual Studio 2022 version 17.14
Product
>= 17.14.0, < 17.14.3617.14.36
Microsoft Visual Studio 2026 version 18.7
Product
>= 18.0, < 18.7.418.7.4
Details and references
CVSS 3.1
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Severity from
the vendor (its own CVE record or advisory)
Weakness
CWE-94

More Microsoft advisories

All Microsoft
Advisory
Secret exfiltration vulnerability
HighJul 14
Workspace Trust Security Feature Bypass Vulnerability
HighJul 14
Remote Code Execution Vulnerability
HighJul 14
Microsoft .NET 8.0: unsafe deserialization
High7.8Jul 14
Microsoft .NET 10.0: resource exhaustion
High7.5Jul 14
Microsoft .NET 10.0: spoofing
Medium6.5Jul 14

Critical advisories by email

Wednesdays: the week’s critical and high advisories in the AI and data stack, with the fixed versions. Only in weeks that have some.

Double opt-in. Unsubscribe any time.