MicrosoftCVE-2026-70338
Microsoft PowerShell: code injection
Fix: upgrade to 7.4.19.0 or later (3 fixed versions below)
Improper control of generation of code ('code injection') in Microsoft PowerShell allows an unauthorized attacker to bypass a security feature locally.
Affected versions
| Package | Affected | Fixed in |
|---|---|---|
| PowerShell 7.4 Product | >= 7.4.0, < 7.4.19.0 | 7.4.19.0 |
| PowerShell 7.5 Product | >= 7.5.0, < 7.5.10.0 | 7.5.10.0 |
| PowerShell 7.6 Product | >= 7.6.0, < 7.6.5 | 7.6.5 |
Details and references
- CVSS 3.1
- CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- Severity from
- the vendor (its own CVE record or advisory)
- Weakness
- CWE-94