CVE-2026-20816
vulnerability analysis and mitigation

Overview

CVE-2026-20816 is a Time-of-Check Time-of-Use (TOCTOU) race condition vulnerability in Windows Installer that allows an authenticated local attacker to elevate privileges. Disclosed by Microsoft on January 13, 2026, as part of the January 2026 Patch Tuesday release, it affects a broad range of Windows and Windows Server versions from Windows Server 2008 through Windows Server 2025 and Windows 10/11 across multiple feature releases. The CVSS v3.1 base score is 7.0 (High) per NVD, and 7.8 (High) per Microsoft's own CNA scoring (Microsoft MSRC).

Technical details

The vulnerability is classified as CWE-367 (Time-of-Check Time-of-Use Race Condition), meaning the Windows Installer component checks a resource's state at one point in time but uses it at a later point, during which an attacker can manipulate the resource to alter the outcome. The attack vector is local, requiring low privileges and no user interaction, but exploitation complexity is rated High due to the timing-sensitive nature of race condition exploitation. Attack patterns associated with this vulnerability include CAPEC-27 (Leveraging Race Conditions via Symbolic Links) and CAPEC-29 (Leveraging TOCTOU Race Conditions), suggesting the likely exploitation mechanism involves symbolic link manipulation during Windows Installer operations (Microsoft MSRC).

Impact

Successful exploitation allows an authenticated local attacker to escalate privileges to SYSTEM level on the affected Windows host, resulting in high confidentiality, integrity, and availability impact. An attacker with SYSTEM access can execute arbitrary code, access or exfiltrate sensitive data, modify system configurations, install persistent backdoors, and potentially use the compromised host as a pivot point for lateral movement within a network. The vulnerability affects a wide range of Microsoft products including Windows 10 (versions 1607, 1809, 21H2, 22H2), Windows 11 (versions 23H2, 24H2, 25H2), and Windows Server 2008 through 2025 including Server Core installations (Microsoft MSRC).

Exploitation steps

  1. Gain local access: Obtain a low-privileged local account on a vulnerable Windows system (e.g., via phishing, credential theft, or existing foothold).
  2. Identify Windows Installer activity: Monitor or trigger a Windows Installer operation (e.g., software installation, update, or repair) that involves file or resource checks susceptible to the TOCTOU window.
  3. Prepare race condition exploit: Create a symbolic link or manipulate a file/directory path that Windows Installer checks during its security validation phase, targeting the window between the check and the subsequent use of the resource.
  4. Win the race: Rapidly replace or redirect the checked resource (e.g., via a symlink swap using tools like CreateSymbolicLink or similar Windows API calls) during the brief interval between the time-of-check and time-of-use within the Installer process.
  5. Achieve privilege escalation: If the race is won, Windows Installer operates on the attacker-controlled resource with elevated (SYSTEM) privileges, allowing the attacker to write files, execute code, or modify configurations at the SYSTEM level.
  6. Establish persistence: With SYSTEM access, deploy a backdoor, create a new privileged account, or perform further post-exploitation actions (Microsoft MSRC).

Indicators of compromise

  • Process: Unusual child processes spawned by msiexec.exe or Windows Installer service (e.g., cmd.exe, powershell.exe) running under SYSTEM context initiated by a low-privileged user session.
  • File System: Unexpected symbolic links created in directories accessed by Windows Installer during installation or repair operations; new files written to protected system directories (e.g., %SystemRoot%\System32) by non-administrative processes.
  • Logs: Windows Event Log entries (Event ID 1033, 1034, 11707, 11708) showing Windows Installer operations initiated by standard user accounts followed immediately by SYSTEM-level process creation; Security Event Log entries (Event ID 4672, 4673) showing special privilege assignment to previously low-privileged accounts.
  • Network: Outbound connections from msiexec.exe or newly created SYSTEM-level processes to external IPs, which may indicate post-exploitation activity such as C2 communication or data exfiltration.

Mitigation and workarounds

Microsoft released patches on January 13, 2026, addressing this vulnerability across all affected platforms. Administrators should apply the following minimum patched versions: Windows 10 21H2 (10.0.19044.6809+), Windows 10 22H2 (10.0.19045.6809+), Windows 10 1809 (10.0.17763.8276+), Windows 10 1607 (10.0.14393.8783+), Windows 11 23H2 (10.0.22631.6491+), Windows 11 24H2 (10.0.26100.7623+), Windows 11 25H2 (10.0.26200.7623+), Windows Server 2008 SP2 (6.0.6003.23717+), Windows Server 2008 R2 SP1 (6.1.7601.28117+), Windows Server 2012 (6.2.9200.25868+), Windows Server 2012 R2 (6.3.9600.22968+), Windows Server 2016 (10.0.14393.8783+), Windows Server 2019 (10.0.17763.8276+), Windows Server 2022 (10.0.20348.4648+), Windows Server 2022 23H2 (10.0.25398.2092+), and Windows Server 2025 (10.0.26100.32230+). As a defense-in-depth measure, restrict local logon access to systems, enforce the principle of least privilege, and monitor Windows Installer activity for anomalous behavior from non-administrative accounts (Microsoft MSRC).

Community reactions

CVE-2026-20816 was covered as part of broader reporting on Microsoft's January 2026 Patch Tuesday, which addressed 114 vulnerabilities including 3 zero-days. Security outlets including BleepingComputer, Talos Intelligence, Zero Day Initiative, Qualys, and Dark Reading covered the January 2026 update cycle, though CVE-2026-20816 was not individually highlighted as a critical concern given the absence of active exploitation (BleepingComputer, Talos, ZDI). Qualys and Sophos also published patch Tuesday review blogs noting the breadth of the January update (Qualys Blog, Sophos Blog).

Additional resources


SourceThis report was generated using AI

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management