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

CVE-2026-85796: Windows Installer Privilege Escalation

CVE-2026-85796 is a privilege escalation vulnerability in Windows Installer caused by a numeric truncation error. Authorized attackers can exploit this flaw to gain elevated privileges locally. This article covers technical details, affected versions, security impact, 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-85796 Overview

CVE-2026-85796 is a numeric truncation error 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 rights. The vulnerability is tracked under CWE-121: Stack-based Buffer Overflow and carries a CVSS 3.1 base score of 7.8. Microsoft published the advisory through the Microsoft Security Response Center.

Critical Impact

Successful exploitation yields high confidentiality, integrity, and availability impact on the compromised host, allowing an attacker to escalate from a standard user context to elevated privileges on Windows systems.

Affected Products

Discovery Timeline

  • 2026-10-13 - CVE-2026-85796 published to NVD
  • 2026-10-13 - Last updated in NVD database

Technical Details for CVE-2026-85796

Vulnerability Analysis

The vulnerability resides in Windows Installer, the service responsible for installing, maintaining, and removing software on Windows systems. A numeric truncation error occurs when a larger integer value is converted into a smaller integer type, discarding high-order bits. In privileged service contexts, this truncation can produce incorrect size calculations that undermine memory safety assumptions.

The weakness is classified under CWE-121: Stack-based Buffer Overflow, indicating that the truncated value is used in a path that writes to a stack buffer. Writing past the intended stack boundary enables control over adjacent memory, including return addresses or local pointers used by the installer process.

The attack vector is local and requires low privileges with no user interaction. Because Windows Installer executes operations with SYSTEM-level rights, memory corruption inside the service can be converted into code execution at that privilege level.

Root Cause

The root cause is unsafe narrowing of a numeric value prior to its use as a length or index. When the truncated value is smaller than expected, downstream buffer handling allocates or validates against an incorrect size, enabling a stack-based overflow during installer processing.

Attack Vector

A local attacker with an authenticated foothold crafts input (typically a malformed installer package or configuration data) that triggers the truncation during Windows Installer processing. The resulting stack corruption is used to hijack execution flow and elevate privileges from the user's current context to SYSTEM.

No public proof-of-concept exploit is listed in the enrichment data, and the issue is not present on the CISA Known Exploited Vulnerabilities list at time of publication.

Detection Methods for CVE-2026-85796

Indicators of Compromise

  • Unexpected msiexec.exe child processes spawning command shells, PowerShell, or other interactive binaries
  • Creation or modification of .msi, .msp, or transform (.mst) files in user-writable directories prior to installer invocation
  • Windows Installer service (msiserver) crashes or faults recorded in the Application event log
  • New privileged accounts or scheduled tasks created shortly after installer activity by a non-administrative user

Detection Strategies

  • Alert on msiexec.exe invoking packages from non-standard paths such as %TEMP%, %APPDATA%, or user profile directories
  • Monitor for process lineage where msiexec.exe or TrustedInstaller.exe spawns LOLBins (cmd.exe, powershell.exe, rundll32.exe)
  • Correlate Windows Installer service faults with subsequent token manipulation or privilege assignment events (Event IDs 4672, 4673)

Monitoring Recommendations

  • Ingest Sysmon process creation (Event ID 1) and image load (Event ID 7) telemetry for msiexec.exe into your SIEM
  • Track Windows Installer registry writes under HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer for anomalous entries
  • Review endpoint behavioral telemetry for stack pivot or shellcode patterns inside installer-hosted processes

How to Mitigate CVE-2026-85796

Immediate Actions Required

  • Apply the Microsoft security update referenced in the Microsoft CVE-2026-85796 Update Guide as the primary remediation
  • Inventory endpoints running vulnerable Windows builds and prioritize patch deployment on multi-user systems, jump hosts, and developer workstations
  • Audit local accounts for unnecessary interactive logon rights to reduce the pool of users able to trigger the flaw

Patch Information

Microsoft has issued fixes through the standard Windows Update channel. Consult the Microsoft Security Response Center advisory for KB article numbers and the specific build versions that remediate CVE-2026-85796.

Workarounds

  • Enforce the AlwaysInstallElevated group policy value of 0 for both machine and user hives to prevent non-admin elevated installs
  • Restrict standard users from executing arbitrary .msi packages via AppLocker or Windows Defender Application Control (WDAC) rules
  • Remove local administrator rights from standard user accounts and require UAC approval for installer execution
bash
# Verify AlwaysInstallElevated is disabled (both must 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

# Explicitly set to 0 via policy
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.