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

CVE-2026-87693: Windows Installer Privilege Escalation

CVE-2026-87693 is a use-after-free privilege escalation vulnerability in Windows Installer that enables authorized attackers to gain elevated privileges locally. This article covers technical details, impact assessment, and mitigation strategies.

Published:

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

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

CVE-2026-87693 Overview

CVE-2026-87693 is a use-after-free vulnerability [CWE-416] in Windows Installer that enables local privilege escalation. An authorized attacker with low privileges on the target system can exploit the flaw to gain elevated privileges. Microsoft published the advisory on October 13, 2026. The vulnerability requires local access and high attack complexity, but a successful exploit yields high impact to confidentiality, integrity, and availability.

Critical Impact

An authenticated local attacker can abuse a freed memory object in Windows Installer to execute code at a higher privilege level, enabling full compromise of the affected host.

Affected Products

  • Microsoft Windows (Windows Installer component)
  • Refer to the Microsoft Security Update CVE-2026-87693 advisory for the authoritative list of affected builds
  • Systems where Windows Installer (msiexec.exe) processes installation packages

Discovery Timeline

  • 2026-10-13 - CVE-2026-87693 published to the National Vulnerability Database
  • 2026-10-13 - Last updated in NVD database

Technical Details for CVE-2026-87693

Vulnerability Analysis

The vulnerability resides in the Windows Installer service, which runs with elevated privileges to install, modify, and remove software packages. A use-after-free condition occurs when the installer references a memory object after it has been released. An attacker who wins the required race or triggers the specific state can reclaim the freed memory with controlled data. The installer then operates on attacker-influenced memory while running in a privileged context.

Successful exploitation grants code execution at the privilege level of the Windows Installer service, typically SYSTEM. This enables credential theft, persistence installation, and lateral movement from the compromised host.

Root Cause

The root cause is improper lifetime management of a heap object inside Windows Installer, classified as [CWE-416] Use After Free. A code path releases an object but retains or re-uses a dangling pointer. Subsequent operations dereference the stale pointer and operate on memory an attacker can control.

Attack Vector

Exploitation requires local access and valid low-privileged credentials on the target host. No user interaction is required. The attacker interacts with the Windows Installer service, likely through crafted MSI operations or installer APIs, to trigger the vulnerable code path. The high attack complexity reflects the timing or state conditions needed to reliably reclaim the freed memory. Microsoft has not published exploitation details. See the Microsoft Security Update CVE-2026-87693 advisory for vendor technical context.

Detection Methods for CVE-2026-87693

Indicators of Compromise

  • Unexpected msiexec.exe processes spawning child processes such as cmd.exe, powershell.exe, or rundll32.exe under the SYSTEM account
  • Crashes or access violations in the Windows Installer service (msiserver) recorded in the Application event log
  • MSI package operations initiated by low-privileged users immediately followed by privileged process creation

Detection Strategies

  • Hunt for Windows Installer activity correlated with new local administrator accounts, service installations, or scheduled task creation
  • Monitor for anomalous loading of MSI custom action DLLs or scripts from user-writable paths
  • Alert on repeated msiexec.exe crashes, which can indicate exploitation attempts that failed to reclaim memory reliably

Monitoring Recommendations

  • Enable Sysmon process creation (Event ID 1) and image load (Event ID 7) logging for msiexec.exe and msiserver
  • Forward Windows Installer events from the Application log and Microsoft-Windows-Application-Experience channel to a centralized SIEM
  • Baseline normal installer behavior per endpoint so that anomalous installations by non-administrative users surface quickly

How to Mitigate CVE-2026-87693

Immediate Actions Required

  • Apply the Microsoft security update referenced in the Microsoft Security Update CVE-2026-87693 advisory to all affected Windows systems
  • Prioritize patching multi-user systems, terminal servers, and developer workstations where low-privileged users have interactive access
  • Audit local accounts and restrict interactive logon rights to reduce the pool of users capable of exploiting local flaws

Patch Information

Microsoft has released a security update for CVE-2026-87693. Deploy the update through Windows Update, Windows Server Update Services (WSUS), or Microsoft Intune. Validate installation by confirming the updated msi.dll and related Windows Installer binaries report the patched version. Consult the Microsoft Security Update CVE-2026-87693 entry for the specific KB article aligned to each Windows build.

Workarounds

  • No vendor-approved workaround replaces the patch; apply the update as soon as change windows allow
  • As a defense-in-depth measure, set the AlwaysInstallElevated policy to disabled so standard users cannot invoke elevated MSI installations
  • Restrict execution of untrusted MSI files using AppLocker or Windows Defender Application Control policies
bash
# Verify AlwaysInstallElevated is disabled in both HKLM and HKCU
reg query "HKLM\Software\Policies\Microsoft\Windows\Installer" /v AlwaysInstallElevated
reg query "HKCU\Software\Policies\Microsoft\Windows\Installer" /v AlwaysInstallElevated

# Set both to 0 to prevent elevated MSI installs by standard users
reg add "HKLM\Software\Policies\Microsoft\Windows\Installer" /v AlwaysInstallElevated /t REG_DWORD /d 0 /f
reg add "HKCU\Software\Policies\Microsoft\Windows\Installer" /v AlwaysInstallElevated /t REG_DWORD /d 0 /f

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

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

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.