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-87715 Overview
CVE-2026-87715 is a use-after-free vulnerability [CWE-416] in Windows Installer that enables local privilege escalation. An authorized attacker with low-privilege access to a Windows system can exploit the flaw to execute code in the context of a higher-privileged account. Microsoft published the advisory through the Microsoft Security Response Center (MSRC) on October 13, 2026. The vulnerability requires local access and high attack complexity, but successful exploitation compromises confidentiality, integrity, and availability. No public proof-of-concept or in-the-wild exploitation has been reported at the time of publication.
Critical Impact
Successful exploitation grants an authenticated local attacker SYSTEM-level privileges, enabling full host compromise, persistence, and lateral movement.
Affected Products
- Microsoft Windows (Windows Installer component)
- Refer to the Microsoft Security Update Guide for the authoritative list of affected Windows builds
- Server and client editions running the vulnerable Windows Installer service
Discovery Timeline
- 2026-10-13 - CVE-2026-87715 published to NVD
- 2026-10-13 - Last updated in NVD database
Technical Details for CVE-2026-87715
Vulnerability Analysis
The vulnerability resides in the Windows Installer service (msiexec.exe and associated msi.dll logic), which processes installation packages and MSI transactions under elevated privileges. A use-after-free condition [CWE-416] occurs when the service references a memory object after it has been released. An attacker who controls the lifecycle of that object can reclaim the freed allocation and influence subsequent operations performed by the installer. Because Windows Installer runs with SYSTEM privileges to perform installation tasks on behalf of standard users, abusing the dangling pointer yields privilege escalation.
Root Cause
The root cause is improper lifetime management of a heap-allocated object within Windows Installer. Code paths that handle installer transactions release the object but retain a reference, allowing later access to freed memory. Microsoft has not released public details on the specific object or function at fault. See the Microsoft Security Update Guide for vendor-authoritative technical context.
Attack Vector
Exploitation requires local access and valid low-privilege credentials. The attacker triggers a crafted sequence of Windows Installer operations, such as initiating or manipulating MSI transactions, to force the vulnerable code path. The attack has high complexity, indicating that a race condition or precise heap grooming is likely required to reliably reclaim the freed allocation. User interaction is not required. Successful exploitation elevates the attacker to SYSTEM.
Detection Methods for CVE-2026-87715
Indicators of Compromise
- Unexpected msiexec.exe child processes spawning command shells (cmd.exe, powershell.exe) under the SYSTEM account
- Abnormal MSI installation activity initiated by standard user accounts, especially outside maintenance windows
- Creation or modification of files in C:\Windows\Installer\ or %TEMP% immediately preceding privilege-escalation behavior
- Crashes or faults in msiexec.exe logged in the Windows Application event log with heap corruption signatures
Detection Strategies
- Monitor process-ancestry telemetry for msiexec.exe spawning interactive shells or administrative tools from non-administrative user contexts
- Correlate MSI transaction activity with subsequent token-elevation or SYSTEM-context process creation events
- Deploy behavioral detections for memory-corruption patterns in Windows Installer, including heap exception events (0xC0000374, 0xC0000005)
- Baseline normal MSI installation behavior per host and alert on deviations initiated by low-privilege users
Monitoring Recommendations
- Enable Windows Event IDs 4688 (process creation) and 4697 (service installation) and forward them to a centralized SIEM
- Track Sysmon Event IDs 1 (process creation) and 10 (process access) targeting msiexec.exe for anomalous callers
- Alert on repeated msiexec.exe crashes on the same host, which may indicate exploitation attempts
How to Mitigate CVE-2026-87715
Immediate Actions Required
- Apply the October 2026 Microsoft security updates referenced in the Microsoft Security Update Guide across all Windows endpoints and servers
- Prioritize patching on multi-user systems, jump hosts, and privileged workstations where local attackers are most likely to pivot
- Audit local accounts and remove unnecessary interactive logon rights to reduce the pool of potential attackers
- Verify patch deployment with configuration management tooling and confirm the installed update KB version
Patch Information
Microsoft addressed CVE-2026-87715 in the security update released on October 13, 2026. The patch corrects the object lifetime handling in the Windows Installer component. Consult the Microsoft Security Update Guide for the specific KB article and build numbers that apply to each supported Windows version.
Workarounds
- No vendor-supplied workaround is documented; apply the official security update
- Restrict installation of MSI packages by non-administrative users via Group Policy (DisableMSI and AlwaysInstallElevated set to disabled)
- Limit local logon rights and enforce least privilege for interactive user accounts on sensitive hosts
- Monitor msiexec.exe behavior with endpoint telemetry until all systems are patched
# Group Policy registry hardening to restrict MSI usage by non-admin users
# Set via: Computer Configuration > Administrative Templates > Windows Components > Windows Installer
reg add "HKLM\Software\Policies\Microsoft\Windows\Installer" /v DisableMSI /t REG_DWORD /d 1 /f
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

