CVE-2026-50523 Microsoft PowerShell Remote Code Execution Vulnerability
An authorized attacker can execute arbitrary code locally via command injection in Microsoft PowerShell.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2026-50523?
CVE-2026-50523 is a high-severity command injection vulnerability in Microsoft PowerShell 7.4, published on 14 Aug 2026. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
Improper neutralization of special elements used in a command ('command injection') in Microsoft PowerShell allows an authorized attacker to execute code locally.
Weakness: CWE-77
Which versions are affected by CVE-2026-50523?
1 open source package ship an affected version, including powershell. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
powershell Bitnami | From 7.4.0 | 7.4.19, 7.5.10, 7.6.5 |
Products include Microsoft Powershell.
How do I fix CVE-2026-50523?
Upgrade powershell to a fixed version for your release line: 7.4.19, 7.5.10 or 7.6.5.
Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.
Is CVE-2026-50523 being exploited?
There is no known exploitation of CVE-2026-50523 in the wild and no public exploit code.
Other vulnerabilities in Microsoft PowerShell 7.4
- CVE-2018-8327 Code injection in PowerShell Editor
- CVE-2026-96251 Microsoft PowerShell Remote Code Execution Vulnerability
- CVE-2026-70337 Microsoft PowerShell Remote Code Execution Vulnerability
- CVE-2022-41076 PowerShell Remote Code Execution Vulnerability
- CVE-2026-70338 Microsoft PowerShell Security Feature Bypass Vulnerability
Sources
Also known as BIT-powershell-2026-50523, GHSA-2x33-4fc7-ppvw, MINI-v6hq-r63v-3q72.