CVE-2019-0841

CVE-2019-0841 is a high-severity vulnerability in Microsoft Windows 10 1703 with a CVSS 3.x base score of 7.8. It is listed in CISA's Known Exploited Vulnerabilities (KEV) catalog, confirming it has been exploited in the wild (added 2022-03-15). The underlying weakness is classified as CWE-59.

Key facts

Description

An elevation of privilege vulnerability exists when Windows AppX Deployment Service (AppXSVC) improperly handles hard links, aka 'Windows Elevation of Privilege Vulnerability'. This CVE ID is unique from CVE-2019-0730, CVE-2019-0731, CVE-2019-0796, CVE-2019-0805, CVE-2019-0836.

CVE-2019-0841: Windows AppXSVC Hard Link Privilege Escalation

AI-generated analysis based on the vulnerability data on this page.

Summary

CVE-2019-0841 is an elevation of privilege vulnerability in the Windows AppX Deployment Service (AppXSVC). The service fails to properly validate and handle hard links during package deployment operations, enabling a low-privileged local attacker to overwrite arbitrary protected files on the system. With a CVSS v3 score of 7.8 (HIGH) and active exploitation confirmed by CISA's Known Exploited Vulnerabilities (KEV) catalog since March 2022, this flaw has been observed in ransomware campaigns and represents a critical patching priority for affected Windows endpoints.

Background

The AppX Deployment Service (AppXSVC) is a core Windows component responsible for installing, updating, and removing Universal Windows Platform (UWP) applications packaged in the AppX/MSIX format. AppXSVC runs with NT AUTHORITY\SYSTEM privileges and performs file-system operations on behalf of users during application lifecycle events. Because the service interacts with user-writable directories and package staging areas, its file handling routines must rigorously validate path traversals, symbolic links, and hard links to prevent low-privileged users from redirecting operations to sensitive system files.

Root Cause

The underlying weakness is classified as CWE-59: Improper Link Resolution Before File Access ('Link Following'). During certain package cleanup or deployment tasks, AppXSVC performs file operations—such as setting permissions or overwriting content—on paths that an attacker can pre-populate with a hard link pointing to an arbitrary target file. Because hard links share the same inode (file record) and the service operates within a SYSTEM security context, the operation is executed against the linked target with elevated privileges.

The specific failure is a missing check for hard-link junctions before file writes or permission modifications. When AppXSVC encounters what it believes is a routine package file, it does not verify whether the path resolves to a protected system file via a hard link created by a lower-privileged user. This allows the attacker to redirect the privileged operation to critical files such as .dll libraries, service executables, or configuration stores that are normally inaccessible to non-administrative accounts.

Impact

  • CVSS v3.1: 7.8 (HIGH) — AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
  • CVSS v2: 7.2 — AV:L/AC:L/Au:N/C:C/I:C/A:C

The vulnerability grants a local attacker with low privileges the ability to achieve complete compromise of confidentiality, integrity, and availability on the host. Successful exploitation yields arbitrary code execution with SYSTEM-level privileges, effectively bypassing all user-mode access controls. The attacker can install persistent malware, exfiltrate data, modify security tooling, or disable defenses. The exploitability metrics are notably severe: the attack vector is local, complexity is low, no user interaction is required, and only low-level privileges are needed to stage the hard link.

With an EPSS score of 0.414 (approximately 41.4% probability of exploitation within 30 days) and a percentile ranking of 98.5%, this vulnerability sits in the top tier of actively exploited flaws. CISA added it to the KEV catalog on 15 March 2022, and it has been linked to ransomware operations in the wild.

Exploitation Walkthrough

From a defensive perspective, the attack chain proceeds as follows. This description is intentionally generic and omits weaponized implementation details.

  1. Staging: A low-privileged attacker identifies a directory where AppXSVC performs cleanup or temporary file operations during package installation or uninstallation. The attacker creates a hard link inside this directory, pointing to a target protected file such as a system DLL or service binary.

  2. Trigger: The attacker initiates or waits for an AppX/MSIX package operation (install, update, or remove) that causes AppXSVC to process the staged directory.

  3. Redirection: AppXSVC, running as SYSTEM, performs a file operation on the hard link. Because hard links share the same underlying file object, the operation is redirected to the target file the attacker chose.

  4. Privilege Escalation: If the operation is a permission change or overwrite, the attacker can now modify a file they normally cannot write to. By overwriting a system executable or DLL that is later loaded by a privileged process, the attacker achieves code execution as SYSTEM.

Ethics Note: The mechanism described above is intended for defensive understanding, patch verification, and detection engineering. Developing or distributing working exploit code for privilege escalation without authorization violates responsible disclosure principles and may violate law.

Affected and Patched Versions

Affected products (according to NVD CPE records):

  • Microsoft Windows 10 Version 1703
  • Microsoft Windows 10 Version 1709
  • Microsoft Windows 10 Version 1803
  • Microsoft Windows 10 Version 1809
  • Microsoft Windows Server 2016 Version 1803
  • Microsoft Windows Server 2019

Patched versions: Microsoft released security updates addressing this vulnerability in the April 2019 Patch Tuesday cycle. Specific patch availability varies by Windows version and release channel; administrators should verify their systems are running builds with the April 2019 (or later) cumulative updates applied. The Microsoft Security Response Center advisory (ADV190014) provides detailed KB numbers per edition.

Remediation

  1. Apply Microsoft security updates immediately. Ensure all affected Windows 10 and Windows Server 2019 instances have the April 2019 cumulative security update or a later patch level installed. This remains the primary and most reliable remediation.

  2. Enable and verify Windows Update on server workloads. Windows Server 2019 and affected 2016 versions are frequently under-patched in enterprise environments. Schedule regular maintenance windows and validate patch compliance via endpoint management tools.

  3. Compensating controls:

    • Restrict non-administrative users from installing or sideloading AppX/MSIX packages through Group Policy or Intune policies.
    • Apply the principle of least privilege: limit local user accounts and avoid granting standard users unnecessary write access to staging or temporary directories used by deployment services.
    • Deploy endpoint detection and response (EDR) policies that monitor for anomalous hard-link creation targeting system directories.

Detection

Defenders can hunt for exploitation indicators using the following telemetry:

  • Process monitoring: Identify svchost.exe processes hosting the AppXSVC service performing file writes or permission changes on unusual target paths, especially outside standard package directories.
  • File-system auditing: Enable Object Access Auditing for sensitive system directories and alert on hard-link creation events (Event ID 4663 on Windows) originating from standard user contexts immediately preceding SYSTEM-level file modifications.
  • ETW telemetry: Windows Event Tracing for threat intelligence can capture file operation events from the AppX Deployment Service. Look for SetSecurityFile or WriteFile operations on protected executables or DLLs initiated by AppXSVC.
  • Integrity verification: Deploy application control (AppLocker or Windows Defender Application Control) and monitor for unexpected modifications to signed system binaries.

Assessment

CVE-2019-0841 is a textbook example of how a privileged system service's failure to sanitize file-system links can lead to complete host compromise. Its inclusion in the CISA KEV catalog and association with ransomware underscores that attackers have weaponized this flaw at scale. The EPSS score of 0.414 reflects an exceptionally high likelihood of active exploitation compared to the broader CVE population.

Key lessons:

  1. Trusted services must distrust user-writable paths. Any privileged process that reads from or writes to directories influenced by low-integrity users must perform rigorous link resolution and validation.
  2. Patch latency is adversary advantage. The gap between April 2019 patching and KEV cataloging in 2022 illustrates that unpatched legacy systems continue to present high-value targets years after fixes become available.

References

Frequently asked questions

What is CVE-2019-0841?
An elevation of privilege vulnerability exists when Windows AppX Deployment Service (AppXSVC) improperly handles hard links, aka 'Windows Elevation of Privilege Vulnerability'. This CVE ID is unique from CVE-2019-0730, CVE-2019-0731, CVE-2019-0796, CVE-2019-0805, CVE-2019-0836.
How severe is CVE-2019-0841?
CVE-2019-0841 has a CVSS 3.x base score of 7.8, rated high severity. It is exploitable over local access with low attack complexity, requires low privileges and no user interaction. Impact on confidentiality is high, integrity high, and availability high.
Is CVE-2019-0841 being actively exploited?
Yes. CVE-2019-0841 is on CISA's Known Exploited Vulnerabilities (KEV) catalog, added on 2022-03-15, which means active exploitation has been confirmed. It should be prioritised for remediation.
What products are affected by CVE-2019-0841?
CVE-2019-0841 primarily affects Microsoft Windows 10 1703. In total, 6 product configurations (CPEs) are listed as vulnerable; see the affected-products list for the exact versions.
How do I fix CVE-2019-0841?
Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Because this CVE is known to be actively exploited, treat remediation as urgent — CISA KEV typically sets a short remediation deadline.
Does CVE-2019-0841 have an EU (EUVD) identifier?
Yes. CVE-2019-0841 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2019-1592. It is also flagged as exploited in the EUVD (since 2022-03-15).
When was CVE-2019-0841 published?
CVE-2019-0841 was published on 2019-04-09 and last updated on 2026-06-17.

References

Affected products (6)

More vulnerabilities in Microsoft Windows 10 1703

All CVEs affecting Microsoft Windows 10 1703 →

Other CWE-59 (Improper Link Resolution Before File Access (Link Following)) vulnerabilities

Browse all CWE-59 (Improper Link Resolution Before File Access (Link Following)) vulnerabilities →