CVE-2026-50650: CWE-94: Improper Control of Generation of Code ('Code Injection') in Microsoft .NET 8.0
Improper control of generation of code ('code injection') in .NET Framework allows an unauthorized attacker to elevate privileges locally.
AI Analysis
Technical Summary
This vulnerability in Microsoft .NET 8.0 (version 8.0.0) is due to improper control of code generation, enabling code injection attacks (CWE-94). An unauthorized attacker with local access can exploit this to elevate privileges. The CVSS 3.1 base score is 7.8, reflecting high impact on confidentiality, integrity, and availability. Microsoft has published an official fix for this issue, and no known exploits are reported in the wild.
Potential Impact
Successful exploitation allows an unauthorized local attacker to elevate privileges, potentially gaining higher-level access and control over the affected system. The vulnerability impacts confidentiality, integrity, and availability with high severity.
Mitigation Recommendations
An official fix is available from Microsoft. Users should apply the vendor-provided patch for .NET 8.0.0 as detailed in the Microsoft Security Response Center advisory at https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-50650 to remediate this vulnerability.
CVE-2026-50650: CWE-94: Improper Control of Generation of Code ('Code Injection') in Microsoft .NET 8.0
Description
Improper control of generation of code ('code injection') in .NET Framework allows an unauthorized attacker to elevate privileges locally.
CVSS v3.1
Score 7.8high
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
This vulnerability in Microsoft .NET 8.0 (version 8.0.0) is due to improper control of code generation, enabling code injection attacks (CWE-94). An unauthorized attacker with local access can exploit this to elevate privileges. The CVSS 3.1 base score is 7.8, reflecting high impact on confidentiality, integrity, and availability. Microsoft has published an official fix for this issue, and no known exploits are reported in the wild.
Potential Impact
Successful exploitation allows an unauthorized local attacker to elevate privileges, potentially gaining higher-level access and control over the affected system. The vulnerability impacts confidentiality, integrity, and availability with high severity.
Mitigation Recommendations
An official fix is available from Microsoft. Users should apply the vendor-provided patch for .NET 8.0.0 as detailed in the Microsoft Security Response Center advisory at https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-50650 to remediate this vulnerability.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- microsoft
- Date Reserved
- 2026-06-05T14:33:50.830Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- official-fix
- Vendor Advisory Urls
- [{"url":"https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-50650","vendor":"Microsoft"}]
Threat ID: 6a568f2868715ace43148ca3
Added to database: 07/14/2026, 19:34:00 UTC
Last enriched: 07/14/2026, 19:47:27 UTC
Last updated: 07/14/2026, 20:03:47 UTC
Views: 5
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.