CVE-2026-50523 Microsoft PowerShell Remote Code Execution Vulnerability

High 7.8 Published Updated

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.

PackageAffectedFixed in
powershell BitnamiFrom 7.4.07.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.

Sources

Also known as BIT-powershell-2026-50523, GHSA-2x33-4fc7-ppvw, MINI-v6hq-r63v-3q72.

Is CVE-2026-50523 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free