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 Framework 8.0 is caused by improper control over the generation of code, enabling unauthorized local attackers to perform code injection that leads to privilege escalation. The CVSS 3.1 base score is 7.8, indicating high severity, with attack vector local, low attack complexity, no privileges required, and user interaction required. Confidentiality, integrity, and availability impacts are all high. Microsoft has published an official fix for this vulnerability.
Potential Impact
An unauthorized local attacker can exploit this vulnerability to elevate their privileges on the affected system, potentially gaining higher-level access and control. The impact includes complete compromise of confidentiality, integrity, and availability of the affected system components running .NET 8.0.
Mitigation Recommendations
Microsoft has released an official fix for this vulnerability. Users and administrators should apply the provided patch from the Microsoft Security Response Center advisory at https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-50650 to remediate this issue.
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 Framework 8.0 is caused by improper control over the generation of code, enabling unauthorized local attackers to perform code injection that leads to privilege escalation. The CVSS 3.1 base score is 7.8, indicating high severity, with attack vector local, low attack complexity, no privileges required, and user interaction required. Confidentiality, integrity, and availability impacts are all high. Microsoft has published an official fix for this vulnerability.
Potential Impact
An unauthorized local attacker can exploit this vulnerability to elevate their privileges on the affected system, potentially gaining higher-level access and control. The impact includes complete compromise of confidentiality, integrity, and availability of the affected system components running .NET 8.0.
Mitigation Recommendations
Microsoft has released an official fix for this vulnerability. Users and administrators should apply the provided patch from the Microsoft Security Response Center advisory at https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-50650 to remediate this issue.
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: 08/13/2026, 15:10:23 UTC
Last updated: 08/26/2026, 22:52:11 UTC
Views: 124
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.