Command injection in Microsoft Windows and Windows Server - CVE-2026-123387

 

Command injection in Microsoft Windows and Windows Server - CVE-2026-123387

Published: November 11, 2026


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

Vulnerability details

The vulnerability allows a remote user to escalate privileges.

The vulnerability exists due to improper neutralization of special elements used in a command in Windows Active Directory Domain Services when generating the affected PowerShell remediation script. A remote user can use delegated directory permissions to rename an object with crafted characters to inject commands and escalate privileges when a privileged administrator generates and runs the script.


Affected software

Microsoft Windows
Windows Server

How to mitigate CVE-2026-123387

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.9974, 11 25H2 10.0.26200.9911, 11 25H2 10.0.26200.9974, 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.33822

External References

Related Security Bulletins