CVE-2026-96251 Microsoft PowerShell Remote Code Execution Vulnerability
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.
| Package | Affected | Fixed in |
|---|---|---|
powershell Bitnami | From 7.4.0 | 7.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.
Other vulnerabilities in Microsoft PowerShell 7.4
- CVE-2018-8327 Code injection in PowerShell Editor
- CVE-2026-70337 Microsoft PowerShell Remote Code Execution Vulnerability
- CVE-2022-41076 PowerShell Remote Code Execution Vulnerability
- CVE-2026-50523 Microsoft PowerShell Remote Code Execution Vulnerability
- CVE-2026-70338 Microsoft PowerShell Security Feature Bypass Vulnerability
Sources
Also known as BIT-powershell-2026-96251, GHSA-xqvx-cfr9-2h2j.