Code Injection in Microsoft Windows and Windows Server - CVE-2026-124225

 

Code Injection in Microsoft Windows and Windows Server - CVE-2026-124225

Published: November 11, 2026


Vulnerability identifier: #VU165499
CSH Severity: High
CVSS v4: 8.4 [CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-124225
CWE-ID: CWE-94
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to execute arbitrary code in the invoking Windows PowerShell process on the victim's system.

The vulnerability exists due to improper control of code generation in Windows PowerShell when Invoke-WebRequest processes a specially crafted non-2xx HTML response through MSHTML without displaying the security confirmation prompt. A remote attacker can convince a victim, or cause a victim-controlled automated process, to invoke Invoke-WebRequest against an attacker-controlled URL and return a crafted response to execute embedded script in the invoking PowerShell process.


Affected software

Microsoft Windows
Windows Server

How to mitigate CVE-2026-124225

Install security update from vendor's website.

Microsoft Windows - addressed in versions 10 21H2 10.0.19044.7846, 10 22H2 10.0.19045.7846, 10 1607 10.0.14393.9688, 10 1809 10.0.17763.9487, 11 23H2 10.0.22631.7711, 11 24H2 10.0.26100.9911, 11 24H2 10.0.26100.9968, 11 25H2 10.0.26200.9911, 11 25H2 10.0.26200.9968, 11 26H1 10.0.28000.3501
Windows Server - addressed in versions 2016 10.0.14393.9688, 2019 10.0.17763.9487, 2022 10.0.20348.5870, 2025 10.0.26100.33730, 2025 10.0.26100.33812

External References

Related Security Bulletins