Windows Error Reporting flaw lets local users gain SYSTEM privileges
Attack Tradecraft · 2 sources · Updated 5mo ago · First seen Mar 22, 2026

Researchers disclosed CVE-2026-20817, a local privilege escalation flaw in the Windows Error Reporting (WER) service that allows a low-privileged user to obtain SYSTEM privileges by sending a crafted ALPC message to \WindowsErrorReportingServicePort. The bug resides in WerSvc.dll and affects the SvcElevatedLaunch code path, where user-controlled data from a file-mapping-backed buffer can be passed as command-line arguments when the service launches WerFault.exe with CreateProcessAsUserW under SYSTEM context.
Patch analysis showed Microsoft mitigated the issue by effectively disabling the vulnerable SvcElevatedLaunch feature rather than rewriting the logic, with the patched path returning 0x80004005 (E_FAIL). Researchers produced a proof of concept demonstrating SYSTEM-context WerFault.exe execution with attacker-controlled arguments, although full arbitrary code execution would require additional Windows internals techniques; they also noted operational constraints such as the WER service needing to be running and possible Microsoft Defender detection because the behavior resembles parent process ID spoofing. Reports further warned that fake and potentially malicious GitHub proof-of-concept repositories for CVE-2026-20817 are already circulating.


