CVE-2026-96251 Microsoft PowerShell Remote Code Execution Vulnerability

High 8.8 Published Updated

An unauthorized attacker can execute code over a network due to reliance on untrusted inputs in a security decision within Microsoft PowerShell.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2026-96251?

CVE-2026-96251 is a high-severity code injection vulnerability in Microsoft PowerShell 7.4, published on 13 Oct 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

Reliance on untrusted inputs in a security decision in Microsoft PowerShell allows an unauthorized attacker to execute code over a network.

Weakness: CWE-807

Which versions are affected by CVE-2026-96251?

1 open source package ship an affected version, including powershell. It affects 1 product.

PackageAffectedFixed in
powershell BitnamiFrom 7.4.07.4.21, 7.5.12, 7.6.7

Products include Microsoft Powershell.

How do I fix CVE-2026-96251?

Upgrade powershell to a fixed version for your release line: 7.4.21, 7.5.12 or 7.6.7.

Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.

Is CVE-2026-96251 being exploited?

There is no known exploitation of CVE-2026-96251 in the wild and no public exploit code.

Sources

Also known as BIT-powershell-2026-96251, GHSA-xqvx-cfr9-2h2j.

Is CVE-2026-96251 in your software?

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

Check your SBOMs for free