CVE-2026-70338 Microsoft PowerShell Security Feature Bypass Vulnerability
An attacker can bypass security features in Microsoft PowerShell via improper code generation, requiring a patch to mitigate.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2026-70338?
CVE-2026-70338 is a high-severity vulnerability in Microsoft PowerShell 7.4, published on 11 Aug 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.
Official description
Improper control of generation of code ('code injection') in Microsoft PowerShell allows an unauthorized attacker to bypass a security feature locally.
Weakness: CWE-94
Which versions are affected by CVE-2026-70338?
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-70338?
Upgrade powershell to a fixed version for your release line: 7.4.19, 7.5.10 or 7.6.5.
Is CVE-2026-70338 being exploited?
There is no known exploitation of CVE-2026-70338 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-50523 Microsoft PowerShell Remote Code Execution Vulnerability
Sources
Also known as BIT-powershell-2026-70338, GHSA-mh62-3vqg-v8vm, MINI-5p43-c926-v3rj.