Skip to content
MicrosoftCVE-2026-70338

Microsoft PowerShell: code injection

High7.8CVE-2026-70338 · Published Aug 11, 2026 · updated Aug 14, 2026

Improper control of generation of code ('code injection') in Microsoft PowerShell allows an unauthorized attacker to bypass a security feature locally.

Microsoft advisory

Affected versions

PackageAffectedFixed in
PowerShell 7.4
Product
>= 7.4.0, < 7.4.19.07.4.19.0
PowerShell 7.5
Product
>= 7.5.0, < 7.5.10.07.5.10.0
PowerShell 7.6
Product
>= 7.6.0, < 7.6.57.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

More Microsoft advisories

All Microsoft

Critical advisories by email

Wednesdays: the week’s critical and high advisories in the AI and data stack, with the fixed versions. Only in weeks that have some.

Double opt-in. Unsubscribe any time.