high7.8
CVE-2026-124225
Improper control of generation of code ('code injection') in Windows PowerShell allows an unauthorized attacker to execute code locally.
Impact
Improper control of generation of code ('code injection') in Windows PowerShell allows an unauthorized attacker to execute code locally.
An attacker can exploit this with local access to the system, without logging in, but a user has to do something, such as open a file or a link. If it succeeds: high risk of data being read, high risk of data or systems being changed, high risk of outages.
Affected products · Microsoft
| Product | Affected versions | Fixed by |
|---|---|---|
| Windows 10 1607 | from 10.0.14393.0 before 10.0.14393.9688 | KB5131291 build 10.0.14393.9688 |
| Windows 10 1809 | from 10.0.17763.0 before 10.0.17763.9487 | KB5131085 build 10.0.17763.9487 |
| Windows 10 21H2 | from 10.0.19044.0 before 10.0.19044.7846 | KB5131096 build 10.0.19044.7846 |
| Windows 10 22H2 | from 10.0.19045.0 before 10.0.19045.7846 | KB5131096 build 10.0.19045.7846 |
| Windows 11 23H2 | from 10.0.22631.0 before 10.0.22631.7711 | KB5131087 build 10.0.22631.7711 |
| Windows 11 24H2 | from 10.0.26100.0 before 10.0.26100.9968 | KB5135385 build 10.0.26100.9968 |
| Windows 11 25H2 | from 10.0.26200.0 before 10.0.26200.9968 | KB5135385 build 10.0.26200.9968 |
| Windows 11 26H1 | from 10.0.28000.0 before 10.0.28000.3501 | KB5132059 build 10.0.28000.3501 |
| Windows 11 26H2 | from 10.0.26300.0 before 10.0.26300.9968 | KB5135385 build 10.0.26300.9968 |
| Windows Server 2016including Server Core | from 10.0.14393.0 before 10.0.14393.9688 | KB5131291 build 10.0.14393.9688 |
| Windows Server 2019including Server Core | from 10.0.17763.0 before 10.0.17763.9487 | KB5131085 build 10.0.17763.9487 |
| Windows Server 2022including Server Core | before 10.0.20348.5870 | KB5131090 build 10.0.20348.5870 |
| Windows Server 2025 | from 10.0.26100.0 before 10.0.26100.33812 | KB5135386 build 10.0.26100.33812 |