Skip to main content
CVE Vulnerability Database
Vulnerability Database/CVE-2025-50173

CVE-2025-50173: Windows 10 1507 Privilege Escalation Flaw

CVE-2025-50173 is a privilege escalation vulnerability in Microsoft Windows 10 1507 caused by weak authentication in Windows Installer. Authorized attackers can exploit this locally to gain elevated privileges.

Published:

CVE-2025-50173 Overview

CVE-2025-50173 is a weak authentication vulnerability in the Windows Installer service that allows an authorized local attacker to elevate privileges. Microsoft disclosed the flaw as part of its August 2025 security advisory. The weakness is categorized under [CWE-1390: Weak Authentication] and impacts a broad range of Windows client and server editions, including Windows 10, Windows 11, and Windows Server 2008 through Windows Server 2025.

Successful exploitation grants an authenticated attacker the ability to gain higher privileges on the local system, resulting in full compromise of confidentiality, integrity, and availability of the affected host.

Critical Impact

A local authenticated user can abuse weak authentication in Windows Installer to elevate to SYSTEM-level privileges, enabling complete control of the target Windows host.

Affected Products

  • Microsoft Windows 10 (1507, 1607, 1809, 21H2, 22H2)
  • Microsoft Windows 11 (22H2, 23H2, 24H2)
  • Microsoft Windows Server 2008, 2012, 2016, 2019, 2022, 2022 23H2, and 2025

Discovery Timeline

  • 2025-08-12 - CVE-2025-50173 published to NVD alongside Microsoft's advisory
  • 2026-06-17 - Last updated in NVD database

Technical Details for CVE-2025-50173

Vulnerability Analysis

The vulnerability resides in the Windows Installer service (msiexec.exe and its supporting components), which executes installation packages with elevated privileges. Windows Installer performs authentication checks that are insufficient to enforce the trust boundary between a standard user context and privileged installation operations. An authorized local attacker can leverage this weakness to trigger installer actions or repair flows that run with SYSTEM privileges.

Because Windows Installer is a core operating system component present across every supported Windows release, the attack surface spans workstations and servers alike. Post-exploitation, the attacker inherits SYSTEM authority, which permits credential theft, security tool tampering, persistence, and lateral movement.

Root Cause

The root cause is classified as [CWE-1390: Weak Authentication]. Windows Installer relies on identity or state validation logic that does not adequately verify whether the calling user is authorized to invoke privileged installer operations. This authentication gap allows a low-privileged user to reach code paths that should be reserved for administrators or the Installer service itself.

Attack Vector

Exploitation requires local access and low-privileged authentication on the target Windows host. No user interaction is required. The attacker invokes Windows Installer functionality, such as package installation, repair, or advertised entry points, in a manner that bypasses the intended authentication requirement and executes attacker-controlled logic under SYSTEM.

No verified public proof-of-concept exploit code is available at the time of writing. See the Microsoft CVE-2025-50173 Advisory for authoritative technical details.

Detection Methods for CVE-2025-50173

Indicators of Compromise

  • Unexpected msiexec.exe child processes spawning shells such as cmd.exe, powershell.exe, or rundll32.exe under the SYSTEM account.
  • Creation or modification of MSI packages, transforms (.mst), or patches (.msp) in user-writable directories immediately prior to installer invocation.
  • New services, scheduled tasks, or local administrator accounts created by processes descended from msiexec.exe.

Detection Strategies

  • Monitor Windows Installer event logs (MsiInstaller events in the Application log) for repair and reinstall operations initiated by non-administrative users.
  • Correlate process creation events (Sysmon Event ID 1 / Security Event ID 4688) where msiexec.exe is launched by a standard user and subsequently spawns interactive or scripting processes.
  • Alert on token elevation anomalies where a low-integrity user session results in SYSTEM-level process activity.

Monitoring Recommendations

  • Enable command-line auditing and Sysmon across endpoints to capture msiexec.exe arguments, including /fa, /i, and /y flags used with untrusted packages.
  • Track file writes to %SystemRoot%\Installer and other installer cache locations by non-privileged users.
  • Baseline expected MSI activity per host to make deviations easier to identify.

How to Mitigate CVE-2025-50173

Immediate Actions Required

  • Apply the Microsoft security update for CVE-2025-50173 to all affected Windows client and server systems.
  • Prioritize patching multi-user systems, terminal servers, and jump hosts where local low-privileged accounts are common.
  • Audit local account membership and remove unnecessary interactive logon rights on servers.

Patch Information

Microsoft has released fixes as part of its update cycle. Refer to the Microsoft CVE-2025-50173 Advisory for the specific KB articles and cumulative updates that apply to each supported Windows version. Install the corresponding cumulative update through Windows Update, WSUS, or your enterprise patch management tooling.

Workarounds

  • No official workaround is provided by Microsoft; patching is the required remediation.
  • As a compensating control, restrict which users can execute msiexec.exe interactively via AppLocker or Windows Defender Application Control policies.
  • Enforce the AlwaysInstallElevated group policy setting to Disabled for both HKLM and HKCU scopes to reduce installer abuse potential.
bash
# Verify AlwaysInstallElevated is disabled (should return 0 or not present)
reg query HKLM\Software\Policies\Microsoft\Windows\Installer /v AlwaysInstallElevated
reg query HKCU\Software\Policies\Microsoft\Windows\Installer /v AlwaysInstallElevated

# Confirm the August 2025 (or later) cumulative update is installed
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.

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.