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

CVE-2026-85366: Windows Installer Privilege Escalation

CVE-2026-85366 is a heap-based buffer overflow in Windows Installer that enables authorized attackers to elevate privileges locally. This article covers technical details, affected versions, and mitigation.

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-85366 Overview

CVE-2026-85366 is a heap-based buffer overflow [CWE-122] in Windows Installer that allows an authorized local attacker to elevate privileges. The flaw affects memory management within the Installer service, which executes under high-privilege contexts during package operations. An attacker with low-privileged local access can trigger the overflow to corrupt heap memory and gain SYSTEM-level execution. Microsoft published the advisory on October 13, 2026, and tracks remediation through the Microsoft Security Update Guide.

Critical Impact

Successful exploitation grants SYSTEM privileges on affected Windows hosts, enabling full compromise of confidentiality, integrity, and availability.

Affected Products

  • Microsoft Windows (Windows Installer component)
  • Refer to the Microsoft Security Update Guide for the authoritative list of affected builds
  • Systems where Windows Installer service (msiserver) is enabled

Discovery Timeline

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

Technical Details for CVE-2026-85366

Vulnerability Analysis

The vulnerability resides in Windows Installer, the service responsible for installing, maintaining, and removing software packages on Windows systems. The component processes MSI package data and installation transactions with elevated privileges. A heap-based buffer overflow occurs when the service writes attacker-influenced data beyond the bounds of an allocated heap buffer. The overflow corrupts adjacent heap structures and can be shaped into arbitrary code execution within the Installer process context.

Because Windows Installer runs under a high-privilege context when servicing requests, memory corruption in this code path translates directly into local privilege escalation. The attacker must already be authenticated on the target host with low privileges to trigger the vulnerable code path.

Root Cause

The defect is classified as [CWE-122] Heap-based Buffer Overflow. The root cause involves missing or insufficient bounds validation when the Installer processes input into a heap-allocated buffer. Insufficient size checks allow a crafted installer payload or interaction to exceed the destination buffer length. Microsoft has not publicly disclosed the specific function or allocation path.

Attack Vector

Exploitation requires local access with low privileges and no user interaction. An attacker interacts with the Windows Installer service through supported interfaces, submitting a crafted package or request that drives the vulnerable allocation. The subsequent out-of-bounds write enables control over heap metadata or function pointers, yielding code execution as SYSTEM. The scope remains unchanged, meaning the compromise is contained to the affected host but delivers full control over it.

No public proof-of-concept exploit is available at the time of publication, and the vulnerability is not listed in the CISA Known Exploited Vulnerabilities catalog.

Detection Methods for CVE-2026-85366

Indicators of Compromise

  • Unexpected creation or modification of MSI files in user-writable directories followed by Installer service activity
  • msiexec.exe child processes executing as SYSTEM without a corresponding administrator-initiated installation
  • Crashes or abnormal terminations of msiserver in the Windows Application event log

Detection Strategies

  • Monitor process ancestry for msiexec.exe spawning command interpreters such as cmd.exe, powershell.exe, or rundll32.exe under SYSTEM
  • Alert on service token elevations where the parent process originates from a standard user session
  • Correlate MSI file writes in %TEMP%, %APPDATA%, or user profile paths with subsequent Installer-initiated transactions

Monitoring Recommendations

  • Enable Windows Installer logging via the Logging registry value under HKLM\Software\Policies\Microsoft\Windows\Installer
  • Forward Sysmon Event IDs 1 (process creation) and 11 (file create) for msiexec.exe and msiserver to a central analytics platform
  • Baseline normal patch and software deployment windows and alert on out-of-band Installer activity on endpoints and servers

How to Mitigate CVE-2026-85366

Immediate Actions Required

  • Apply the Microsoft security update referenced in the Microsoft Security Update Guide across all Windows endpoints and servers
  • Prioritize patching on multi-user systems, jump hosts, and terminal servers where low-privileged accounts can authenticate interactively
  • Audit local accounts and remove unnecessary interactive logon rights to reduce the exploitable population

Patch Information

Microsoft has released a security update addressing CVE-2026-85366. Refer to the Microsoft Security Update Guide for the specific KB article and build numbers aligned to each supported Windows version. Deploy through Windows Update, WSUS, Microsoft Configuration Manager, or Intune based on your patch management workflow.

Workarounds

  • No official vendor workaround is documented; applying the security update is the supported remediation path
  • As a defense-in-depth measure, restrict the AlwaysInstallElevated group policy to disabled on all systems
  • Limit standard users' ability to execute arbitrary MSI packages through AppLocker or Windows Defender Application Control policies
bash
# Verify AlwaysInstallElevated policies are disabled
reg query HKLM\Software\Policies\Microsoft\Windows\Installer /v AlwaysInstallElevated
reg query HKCU\Software\Policies\Microsoft\Windows\Installer /v AlwaysInstallElevated

# Confirm the installed patch level after remediation
wmic qfe list brief /format:table

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.