CVE-2026-50523: CWE-77: Improper Neutralization of Special Elements used in a Command ('Command Injection') in Microsoft PowerShell 7.4
CVE-2026-50523 is a command injection vulnerability in Microsoft PowerShell 7.4 that allows an authorized attacker to execute arbitrary code locally by exploiting improper neutralization of special elements in commands. The vulnerability affects multiple 7.4.x, 7.5.x, and 7.6.x versions prior to specific patched releases. It has a high severity score of 7.8 and impacts confidentiality, integrity, and availability. An official fix is available to remediate this issue.
AI Analysis
Technical Summary
This vulnerability (CVE-2026-50523) involves improper neutralization of special elements used in commands within Microsoft PowerShell 7.4, classified as CWE-77 (Command Injection). An authorized attacker with local access can leverage this flaw to execute arbitrary code on the affected system. The vulnerability affects versions 7.4.0, all 7.4.x versions prior to 7.4.19, 7.5.x versions prior to 7.5.10, and 7.6.x versions prior to 7.6.5. The CVSS v3.1 base score is 7.8, indicating high severity with local attack vector, low attack complexity, and requiring privileges but no user interaction. The vendor has issued an official fix to address this vulnerability.
Potential Impact
Successful exploitation allows an authorized local attacker to execute arbitrary code, potentially leading to full compromise of confidentiality, integrity, and availability of the affected system. This can result in unauthorized actions performed with the privileges of the PowerShell process.
Mitigation Recommendations
An official fix is available for this vulnerability. Users should apply the vendor-provided patches to upgrade affected PowerShell versions to 7.4.19 or later, 7.5.10 or later, and 7.6.5 or later to remediate this issue.
CVE-2026-50523: CWE-77: Improper Neutralization of Special Elements used in a Command ('Command Injection') in Microsoft PowerShell 7.4
Description
CVE-2026-50523 is a command injection vulnerability in Microsoft PowerShell 7.4 that allows an authorized attacker to execute arbitrary code locally by exploiting improper neutralization of special elements in commands. The vulnerability affects multiple 7.4.x, 7.5.x, and 7.6.x versions prior to specific patched releases. It has a high severity score of 7.8 and impacts confidentiality, integrity, and availability. An official fix is available to remediate this issue.
CVSS v3.1
Score 7.8high
Affected software
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 as CWE-77 (Command Injection). An authorized attacker with local access can leverage this flaw to execute arbitrary code on the affected system. The vulnerability affects versions 7.4.0, all 7.4.x versions prior to 7.4.19, 7.5.x versions prior to 7.5.10, and 7.6.x versions prior to 7.6.5. The CVSS v3.1 base score is 7.8, indicating high severity with local attack vector, low attack complexity, and requiring privileges but no user interaction. The vendor has issued an official fix to address this vulnerability.
Potential Impact
Successful exploitation allows an authorized local attacker to execute arbitrary code, potentially leading to full compromise of confidentiality, integrity, and availability of the affected system. This can result in unauthorized actions performed with the privileges of the PowerShell process.
Mitigation Recommendations
An official fix is available for this vulnerability. Users should apply the vendor-provided patches to upgrade affected PowerShell versions to 7.4.19 or later, 7.5.10 or later, and 7.6.5 or later to remediate this issue.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-2x33-4fc7-ppvw
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-50523"]
- Database Specific Severity
- HIGH
- Cvss Version
- 3.1
- Remediation Level
- official-fix
- State
- PUBLISHED
Threat ID: 6a7ff5edbf8831d53987ec6e
Added to database: 08/15/2026, 05:15:25 UTC
Last enriched: 09/29/2026, 21:28:39 UTC
Last updated: 09/30/2026, 06:56:33 UTC
Views: 61
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.
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.