CVE-2026-50523: CWE-77: Improper Neutralization of Special Elements used in a Command ('Command Injection') in Microsoft PowerShell 7.4
Improper neutralization of special elements used in a command ('command injection') in Microsoft PowerShell allows an authorized attacker to execute code locally.
AI Analysis
Technical Summary
This vulnerability (CVE-2026-50523) involves improper neutralization of special elements used in commands within Microsoft PowerShell 7.4, classified under CWE-77 (Command Injection). An attacker with local privileges can exploit this flaw to execute arbitrary code on the affected system. The vulnerability has been assigned a CVSS v3.1 base score of 7.8, indicating high severity, with impacts on confidentiality, integrity, and availability. Microsoft has published an official fix addressing this issue.
Potential Impact
An authorized local attacker can execute arbitrary code on the affected system, potentially leading to full compromise of confidentiality, integrity, and availability of the system running PowerShell 7.4. This could allow unauthorized actions or control over the affected environment.
Mitigation Recommendations
An official fix is available from Microsoft. Users should apply the patch provided in the Microsoft security advisory at https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-50523 to remediate this vulnerability.
CVE-2026-50523: CWE-77: Improper Neutralization of Special Elements used in a Command ('Command Injection') in Microsoft PowerShell 7.4
Description
Improper neutralization of special elements used in a command ('command injection') in Microsoft PowerShell allows an authorized attacker to execute code locally.
CVSS v3.1
Score 7.8high
Affected software
pkg:nuget/microsoft.powershell.sdkRun 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 (CVE-2026-50523) involves improper neutralization of special elements used in commands within Microsoft PowerShell 7.4, classified under CWE-77 (Command Injection). An attacker with local privileges can exploit this flaw to execute arbitrary code on the affected system. The vulnerability has been assigned a CVSS v3.1 base score of 7.8, indicating high severity, with impacts on confidentiality, integrity, and availability. Microsoft has published an official fix addressing this issue.
Potential Impact
An authorized local attacker can execute arbitrary code on the affected system, potentially leading to full compromise of confidentiality, integrity, and availability of the system running PowerShell 7.4. This could allow unauthorized actions or control over the affected environment.
Mitigation Recommendations
An official fix is available from Microsoft. Users should apply the patch provided in the Microsoft security advisory at https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-50523 to remediate this vulnerability.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- microsoft
- Date Reserved
- 2026-06-04T19:00:41.293Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- official-fix
- Vendor Advisory Urls
- [{"url":"https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-50523","vendor":"Microsoft"}]
Threat ID: 6a7f84bcbf8831d539b282c7
Added to database: 08/14/2026, 21:12:28 UTC
Last enriched: 08/14/2026, 21:26:13 UTC
Last updated: 08/14/2026, 21:57:39 UTC
Views: 6
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.