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, categorized under CWE-77 (Command Injection). It enables an authorized attacker with local privileges to execute arbitrary code. The CVSS 3.1 score is 7.8 (high), reflecting local attack vector, low attack complexity, required privileges, no user interaction, and high impact on confidentiality, integrity, and availability. A vendor advisory from Microsoft confirms the issue and provides an official fix.
Potential Impact
An authorized attacker can execute arbitrary code locally on affected PowerShell versions, potentially leading to full compromise of the affected system's confidentiality, integrity, and availability. There are no known exploits in the wild at this time.
Mitigation Recommendations
Microsoft has released official fixes for this vulnerability. Users should apply the updates to PowerShell versions 7.4.19.0 or later, 7.5.10.0 or later, and 7.6.5 or later to remediate the issue. No additional mitigation steps are required beyond applying the official patches.
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
Microsoft
PowerShell 7.4
Microsoft
PowerShell 7.5
Microsoft
PowerShell 7.6
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, categorized under CWE-77 (Command Injection). It enables an authorized attacker with local privileges to execute arbitrary code. The CVSS 3.1 score is 7.8 (high), reflecting local attack vector, low attack complexity, required privileges, no user interaction, and high impact on confidentiality, integrity, and availability. A vendor advisory from Microsoft confirms the issue and provides an official fix.
Potential Impact
An authorized attacker can execute arbitrary code locally on affected PowerShell versions, potentially leading to full compromise of the affected system's confidentiality, integrity, and availability. There are no known exploits in the wild at this time.
Mitigation Recommendations
Microsoft has released official fixes for this vulnerability. Users should apply the updates to PowerShell versions 7.4.19.0 or later, 7.5.10.0 or later, and 7.6.5 or later to remediate the issue. No additional mitigation steps are required beyond applying the official patches.
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: 09/22/2026, 00:28:49 UTC
Last updated: 09/28/2026, 01:57:33 UTC
Views: 99
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.