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
- Severity: High (CVSS 3.x base score 7.8)
- CVSS v2: 7.2
- EPSS exploit prediction: 41% (99th percentile)
- Actively exploited: Yes — listed in CISA KEV (added 2022-03-15)
- EU (EUVD) id: EUVD-2019-1592
- EU exploitation: Flagged exploited in the ENISA EU Vulnerability Database (since 2022-03-15)
- Weakness: CWE-59
- Affected product: Microsoft Windows 10 1703
- Published:
- Last modified:
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.
-
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.
-
Trigger: The attacker initiates or waits for an AppX/MSIX package operation (install, update, or remove) that causes AppXSVC to process the staged directory.
-
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. -
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
-
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.
-
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.
-
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.exeprocesses 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
SetSecurityFileorWriteFileoperations on protected executables or DLLs initiated byAppXSVC. - 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:
- 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.
- 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
- https://portal.msrc.microsoft.com/en-US/security-guidance/advisory/CVE-2019-0841
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2019-0841
- https://www.zerodayinitiative.com/advisories/ZDI-19-360/
- https://www.exploit-db.com/exploits/46683/
- http://packetstormsecurity.com/files/152463/Microsoft-Windows-AppX-Deployment-Service-Privilege-Escalation.html
- http://packetstormsecurity.com/files/153114/Microsoft-Windows-AppX-Deployment-Service-Local-Privilege-Escalation.html
- http://packetstormsecurity.com/files/153215/Microsoft-Windows-AppX-Deployment-Service-Local-Privilege-Escalation.html
- http://packetstormsecurity.com/files/153642/AppXSvc-Hard-Link-Privilege-Escalation.html
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
- http://packetstormsecurity.com/files/152463/Microsoft-Windows-AppX-Deployment-Service-Privilege-Escalation.html
- http://packetstormsecurity.com/files/153009/Internet-Explorer-JavaScript-Privilege-Escalation.html
- http://packetstormsecurity.com/files/153114/Microsoft-Windows-AppX-Deployment-Service-Local-Privilege-Escalation.html
- http://packetstormsecurity.com/files/153215/Microsoft-Windows-AppX-Deployment-Service-Local-Privilege-Escalation.html
- http://packetstormsecurity.com/files/153642/AppXSvc-Hard-Link-Privilege-Escalation.html
- https://portal.msrc.microsoft.com/en-US/security-guidance/advisory/CVE-2019-0841
- https://www.exploit-db.com/exploits/46683/
- https://www.zerodayinitiative.com/advisories/ZDI-19-360/
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2019-0841
Affected products (6)
- cpe:2.3:o:microsoft:windows_10_1703:*:*:*:*:*:*:*:*
- cpe:2.3:o:microsoft:windows_10_1709:*:*:*:*:*:*:*:*
- cpe:2.3:o:microsoft:windows_10_1803:*:*:*:*:*:*:*:*
- cpe:2.3:o:microsoft:windows_10_1809:*:*:*:*:*:*:*:*
- cpe:2.3:o:microsoft:windows_server_2016:1803:*:*:*:*:*:*:*
- cpe:2.3:o:microsoft:windows_server_2019:-:*:*:*:*:*:*:*
More vulnerabilities in Microsoft Windows 10 1703
- CVE-2017-8543 — Critical (CVSS 9.8): Microsoft Windows XP SP3, Windows XP x64 XP2, Windows Server 2003 SP2, Windows Vista, Windows 7 SP1, Windows Server…
- CVE-2019-0903 — High (CVSS 8.8): A remote code execution vulnerability exists in the way that the Windows Graphics Device Interface (GDI) handles…
- CVE-2018-8414 — High (CVSS 8.8): A remote code execution vulnerability exists when the Windows Shell does not properly validate file paths, aka "Windows…
- CVE-2018-0824 — High (CVSS 8.8): A remote code execution vulnerability exists in "Microsoft COM for Windows" when it fails to properly handle serialized…
- CVE-2017-8464 — High (CVSS 8.8): Windows Shell in Microsoft Windows Server 2008 SP2 and R2 SP1, Windows 7 SP1, Windows 8, Windows 8.1, Windows Server…
- CVE-2022-38396 — High (CVSS 7.8): HP Factory Preinstalled Images on certain systems that shipped with Windows 10 versions 20H2 and earlier OS versions…
All CVEs affecting Microsoft Windows 10 1703 →
Other CWE-59 (Improper Link Resolution Before File Access (Link Following)) vulnerabilities
- CVE-2024-37143 — Critical (CVSS 10.0): Dell PowerFlex appliance versions prior to IC 46.381.00 and IC 46.376.00, Dell PowerFlex rack versions prior to RCM…
- CVE-2024-28189 — Critical (CVSS 10.0): Judge0 is an open-source online code execution system. The application uses the UNIX chown command on an untrusted file…
- CVE-2024-28185 — Critical (CVSS 10.0): Judge0 is an open-source online code execution system. The application does not account for symlinks placed inside the…
- CVE-2022-22995 — Critical (CVSS 10.0): The combination of primitives offered by SMB and AFP in their default configuration allows the arbitrary writing of…
- CVE-2014-4480 — Critical (CVSS 10.0): Directory traversal vulnerability in afc in AppleFileConduit in Apple iOS before 8.1.3 and Apple TV before 7.0.3 allows…
- CVE-2002-2374 — Critical (CVSS 10.0): Unspecified vulnerability in pprosetup in Sun PatchPro 2.0 has unknown impact and attack vectors related to "unsafe use…
Browse all CWE-59 (Improper Link Resolution Before File Access (Link Following)) vulnerabilities →