Skip to main content
CVE Vulnerability Database
Vulnerability Database/CVE-2026-50490

CVE-2026-50490: Windows Installer Privilege Escalation

CVE-2026-50490 is a use after free privilege escalation vulnerability in Windows Installer that allows authorized attackers to elevate privileges locally. This article covers technical details, affected versions, and mitigation.

Published:

CVE-2026-50490 Overview

CVE-2026-50490 is a use-after-free vulnerability [CWE-416] in Windows Installer that enables local privilege escalation. An authorized attacker with low privileges can exploit the flaw to elevate to higher rights on the affected system. Microsoft published the advisory on July 14, 2026, and the issue affects the msiexec service component responsible for installing, maintaining, and removing software packages.

Critical Impact

Successful exploitation grants an attacker elevated privileges on the local system, breaking Windows security boundaries and enabling further compromise, including persistence and lateral movement.

Affected Products

Discovery Timeline

  • 2026-07-14 - CVE-2026-50490 published to NVD
  • 2026-07-15 - Last updated in NVD database

Technical Details for CVE-2026-50490

Vulnerability Analysis

The vulnerability resides in Windows Installer, a system component that manages application installation and configuration under a privileged service context. A use-after-free condition occurs when the component references heap memory after it has been freed. An attacker who controls the freed allocation can influence the dangling pointer and steer execution or memory writes toward attacker-controlled data.

Because Windows Installer executes operations with NT AUTHORITY\SYSTEM privileges during certain package actions, corrupting its state provides a path from a standard user context to SYSTEM. The attack complexity is rated High, indicating that reliable exploitation requires winning a specific race condition or preparing precise heap layout conditions before the freed object is reused.

Root Cause

The root cause is improper object lifetime management within Windows Installer [CWE-416]. Code paths release a memory object but retain and later dereference a stale pointer to it. When the freed allocation is reclaimed with attacker-influenced content, subsequent operations on the stale pointer read or write memory the attacker controls, producing a corrupted privileged state.

Attack Vector

Exploitation requires local access and low-privilege authentication. The attacker triggers installer operations, such as invoking msiexec with a crafted package or manipulating repair, rollback, or advertisement flows, and races the freed-object reuse window. No user interaction is required beyond the attacker's own actions. See the Microsoft Security Update CVE-2026-50490 advisory for component-specific details.

Detection Methods for CVE-2026-50490

Indicators of Compromise

  • Unexpected msiexec.exe child processes spawning cmd.exe, powershell.exe, or other interactive shells under the SYSTEM account
  • Application or service crashes referencing msi.dll or msiexec.exe in Windows Error Reporting logs
  • Creation or modification of files under C:\Windows\Installer\ by non-administrative users outside of normal software deployment windows

Detection Strategies

  • Monitor Windows Event ID 1033 and 1034 (MsiInstaller) for abnormal install, repair, or rollback sequences initiated by standard users
  • Alert on integrity-level transitions where a Medium-integrity process spawns a High or System-integrity child via msiexec
  • Correlate rapid, repeated invocations of msiexec /f (repair) or msiexec /y (DLL registration) from the same low-privileged user, a pattern consistent with race-condition exploitation attempts

Monitoring Recommendations

  • Enable command-line auditing (Event ID 4688) and Sysmon Event ID 1 to capture full msiexec invocations and parent-child process relationships
  • Ingest endpoint telemetry into a centralized SIEM or data lake to hunt for anomalous privilege transitions across the fleet
  • Track installations of unsigned or unusual .msi and .msp files staged from user-writable directories such as %TEMP% or %APPDATA%

How to Mitigate CVE-2026-50490

Immediate Actions Required

  • Apply the Microsoft security update referenced in the Microsoft Security Update CVE-2026-50490 advisory to all affected Windows systems
  • Prioritize patching on multi-user systems, terminal servers, and jump hosts where low-privileged users can execute code
  • Audit local user accounts and remove unnecessary interactive logon rights on servers

Patch Information

Microsoft has released updates addressing CVE-2026-50490 through the standard Windows Update channels. Consult the Microsoft Security Update CVE-2026-50490 advisory for the specific KB article numbers and build versions that remediate the use-after-free condition in Windows Installer.

Workarounds

  • No official workaround has been published; installing the vendor patch is the supported remediation
  • As a defense-in-depth measure, restrict the AlwaysInstallElevated group policy and confirm it is set to Disabled in both HKLM and HKCU policy hives
  • Limit non-administrative users' ability to place .msi or .msp files in shared or writable locations that are subsequently processed by the installer service
bash
# Verify AlwaysInstallElevated is disabled (both keys should return 0 or not exist)
reg query "HKLM\SOFTWARE\Policies\Microsoft\Windows\Installer" /v AlwaysInstallElevated
reg query "HKCU\SOFTWARE\Policies\Microsoft\Windows\Installer" /v AlwaysInstallElevated

# Confirm the Windows Installer service is running a patched build
wmic datafile where name="C:\\Windows\\System32\\msiexec.exe" get Version

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.