CVE-2019-1129 — Microsoft Windows AppX Deployment Service (AppXSVC) Privilege Escalation Vulnerability

CVE-2019-1129

Windows AppXSVC — hard-link abuse lets a low-privileged process overwrite arbitrary files as SYSTEM

What is AppXSVC?

The AppX Deployment Service (AppXSVC) is the Windows SYSTEM-level service responsible for installing, updating, and removing packaged (AppX/MSIX) applications — the format used by Microsoft Store apps and many modern Windows components. Because it runs as SYSTEM and performs file operations on behalf of standard users during package installation, any flaw in how it validates the files it touches is a direct path from a low-privileged account to full system compromise.

Overview

CVE-2019-1129 is a local privilege escalation vulnerability in AppXSVC caused by improper handling of hard links during package deployment operations. A low-privileged, locally-authenticated attacker can exploit the race between AppXSVC's file checks and its file operations to redirect a write intended for an attacker-controlled path onto an arbitrary protected system file, resulting in code execution or file corruption in the context of SYSTEM.

Technical Details

The flaw is a classic link-following / TOCTOU (time-of-check to time-of-use) issue (CWE-59, improper link resolution before file access). AppXSVC performs operations — such as deleting or overwriting temporary files it creates during install/uninstall — without adequately verifying that the target path hasn't been swapped for a hard link to a sensitive system file (for example, a file under %windir%\system32) between the time the path is checked and the time it is acted on. Because the attacker fully controls the timing and the initial temp file, and AppXSVC operates with SYSTEM privileges, winning the race lets a Low-privileged local user cause SYSTEM to overwrite or delete a file it should not have access to, which can be leveraged into arbitrary code execution as SYSTEM. Exploitation requires local access (AV:L) and low privileges, with no user interaction, and complexity is Low once the race window is understood.

Discovery

This class of hard-link privilege-escalation bug in Windows deployment/servicing components was a recurring theme in 2019, with several similar AppXSVC and related-service issues patched across consecutive Patch Tuesdays; Microsoft credits its internal engineering and external researcher reports collectively rather than a single named individual for this specific CVE.

Exploitation Context

CISA's KEV catalog listing confirms this vulnerability has been used in real-world attacks, and the ransomwareUse: true flag indicates it has been observed bundled into ransomware-affiliated intrusion toolkits as a local privilege-escalation step following initial access — a common pattern where attackers use an unrelated foothold (phishing, exposed RDP, a web shell) and then chain a Windows LPE bug like this one to gain SYSTEM before deploying ransomware or moving laterally.

Remediation

  1. Apply the July 2019 (or later) Windows cumulative update, which addresses AppXSVC's hard-link validation.
  2. Treat this as a post-compromise escalation risk: prioritize patching on endpoints regardless of perceived exposure, since exploitation requires only local code execution, not network access.
  3. Restrict and monitor local user privileges — limiting who can log on interactively reduces the pool of accounts that could stage this exploit.
  4. Deploy endpoint detection and response (EDR) tooling capable of flagging anomalous hard-link creation targeting system directories.
  5. Review endpoint logs for unexpected SYSTEM-level file modifications correlated with AppX/MSIX install or removal activity predating patch deployment.

Key Details

PropertyValue
CVE ID CVE-2019-1129
Vendor / Product Microsoft — Windows
NVD Published2019-07-15
NVD Last Modified2025-10-29
CVSS 3.1 Score7.8
CVSS 3.1 VectorCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
SeverityHIGH
CWE CWE-59 find similar ↗
CISA KEV Added2022-03-15
CISA KEV Deadline2022-04-05
Known Ransomware Use ⚠️ Yes

CVSS 3.1 Breakdown

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Required Action

CISA BOD 22-01 Deadline: 2022-04-05. Apply updates per vendor instructions.

Timeline

DateEvent
2019-07-09Patched in Microsoft's July 2019 Patch Tuesday cumulative update
2022-03-15Added to CISA Known Exploited Vulnerabilities catalog
2022-04-05CISA BOD 22-01 remediation deadline

References

ResourceType
NVD — CVE-2019-1129 Vulnerability Database
CISA KEV Catalog Entry US Government