Link Following (CWE-59)
CWE-59 covers products that access a file by name without preventing that name from resolving through a link or shortcut to an unintended resource. MITRE calls link following a multi-factor issue involving permissions, filename predictability and race conditions. Zip Slip is listed as an alternate term for archive extraction cases.
Updated
About CWE-59
Attackers may read or overwrite unexpected files and bypass mechanisms that depend on those files. On Windows, uploaded shortcut files can enable remote execution.
- MITRE name
- Improper Link Resolution Before File Access
- Abstraction
- Base: abstract, but detailed enough to infer detection and prevention methods
- Status
- Draft
Also Known As
- insecure temporary file
- Zip Slip
- Link Following
Mitigations
- Apply least privilege to file access rights.
- Deny write access to locations where a file could be replaced by a link to a sensitive target.
- Compartmentalize the system so that protected areas can be trusted.
Detection
MITRE cites bytecode and binary analysis, scanners and fuzzers as cost effective for partial coverage.
CWE-59 in the KEV Catalog
as of 2026-11-14- 24 CISA KEV entries name Link Following (CWE-59) in their CVE record, tied for 20th among the 195 weaknesses named in the catalog.
- CISA added 0 CWE-59 entries to the KEV catalog in 2024, 2 in 2025, and 4 so far in 2026.
- Microsoft has the most CWE-59 entries in the CISA KEV catalog (19).
- CISA marks 58% of CWE-59 KEV entries (14 of 24) as known to be used in ransomware campaigns, compared with 20% of all KEV entries.
- CISA's SSVC enrichment rates 8% of CWE-59 KEV entries with SSVC data (2 of 24) as automatable, compared with 41% across the catalog.
Related Attack Patterns
4 CAPEC patternsCAPEC-17Using Malicious FilesStandard · Severity Very High · Likelihood High
Loading…
CAPEC-35Leverage Executable Code in Non-Executable FilesDetailed · Severity Very High · Likelihood High
Loading…
CAPEC-76Manipulating Web Input to File System CallsDetailed · Severity Very High · Likelihood High
Loading…
CAPEC-132Symlink AttackDetailed · Severity High · Likelihood Low
Loading…
CWE-59 Vulnerabilities
25 CVEs| CVE | Title | Vendor | CVSS | EPSS | KEV | Published |
|---|---|---|---|---|---|---|
| CVE-2026-81963KEV Windows Update Stack Elevation of Privilege Vulnerability | Windows Update Stack Elevation of Privilege Vulnerability | Microsoft | 7.8 | 7.1% | KEV | 2026-09-08 |
| CVE-2015-5287KEV Red Hat Automatic Bug Reporting Tool Privilege Escalation Vulnerability | Red Hat Automatic Bug Reporting Tool Privilege Escalation Vulnerability | - | 7.8 | 5.0% | KEV | 2015-12-07 |
| CVE-2026-41091KEV Microsoft Defender Elevation of Privilege Vulnerability | Microsoft Defender Elevation of Privilege Vulnerability | Microsoft | 7.8 | 8.2% | KEV | 2026-05-20 |
| CVE-2025-60710KEV Host Process for Windows Tasks Elevation of Privilege Vulnerability | Host Process for Windows Tasks Elevation of Privilege Vulnerability | Microsoft | 7.8 | 4.6% | KEV | 2025-11-11 |
| CVE-2025-48384KEV Git allows arbitrary code execution through broken config quoting | Git allows arbitrary code execution through broken config quoting | git | 8.1 | 4.5% | KEV | 2025-07-08 |
| CVE-2025-21391KEV Windows Storage Elevation of Privilege Vulnerability | Windows Storage Elevation of Privilege Vulnerability | Microsoft | 7.1 | 2.3% | KEV | 2025-02-11 |
| CVE-2023-36874KEV Windows Error Reporting Service Elevation of Privilege Vulnerability | Windows Error Reporting Service Elevation of Privilege Vulnerability | Microsoft | 7.8 | 44.4% | KEV | 2023-07-11 |
| CVE-2020-36193KEV PEAR Archive_Tar Improper Link Resolution Vulnerability | PEAR Archive_Tar Improper Link Resolution Vulnerability | - | 7.5 | 70.6% | KEV | 2021-01-18 |
| CVE-2022-30333KEV RARLAB UnRAR Directory Traversal Vulnerability | RARLAB UnRAR Directory Traversal Vulnerability | - | 9.8 | 99.2% | KEV | 2022-05-09 |
| CVE-2019-1385KEV Microsoft Windows AppX Deployment Extensions Privilege Escalation Vulnerability | Microsoft Windows AppX Deployment Extensions Privilege Escalation Vulnerability | Microsoft | 7.8 | 3.6% | KEV | 2019-11-12 |
| CVE-2020-0638KEV Microsoft Update Notification Manager Privilege Escalation Vulnerability | Microsoft Update Notification Manager Privilege Escalation Vulnerability | Microsoft | 7.8 | 2.5% | KEV | 2020-01-14 |
| CVE-2019-1130KEV Microsoft Windows AppX Deployment Service Privilege Escalation Vulnerability | Microsoft Windows AppX Deployment Service Privilege Escalation Vulnerability | Microsoft | 7.8 | 1.7% | KEV | 2019-07-29 |
| CVE-2022-21919KEV Windows User Profile Service Elevation of Privilege Vulnerability | Windows User Profile Service Elevation of Privilege Vulnerability | Microsoft | 7.0 | 2.6% | KEV | 2022-01-11 |
| CVE-2022-21999KEV Windows Print Spooler Elevation of Privilege Vulnerability | Windows Print Spooler Elevation of Privilege Vulnerability | Microsoft | 7.8 | 41.0% | KEV | 2022-02-09 |
| CVE-2019-0841KEV Microsoft Windows AppX Deployment Service (AppXSVC) Privilege Escalation Vulnerability | Microsoft Windows AppX Deployment Service (AppXSVC) Privilege Escalation Vulnerability | Microsoft | 7.8 | 41.4% | KEV | 2019-04-09 |
| CVE-2019-1253KEV Microsoft Windows AppX Deployment Server Privilege Escalation Vulnerability | Microsoft Windows AppX Deployment Server Privilege Escalation Vulnerability | Microsoft | 7.8 | 11.6% | KEV | 2019-09-11 |
| CVE-2019-1064KEV Windows Elevation of Privilege Vulnerability | Windows Elevation of Privilege Vulnerability | Microsoft | 7.8 | 6.9% | KEV | 2019-06-12 |
| CVE-2019-1069KEV Task Scheduler Elevation of Privilege Vulnerability | Task Scheduler Elevation of Privilege Vulnerability | Microsoft | 7.8 | 6.2% | KEV | 2019-06-12 |
| CVE-2019-1315KEV Microsoft Windows Error Reporting Manager Privilege Escalation Vulnerability | Microsoft Windows Error Reporting Manager Privilege Escalation Vulnerability | Microsoft | 7.8 | 3.5% | KEV | 2019-10-10 |
| CVE-2019-1129KEV Microsoft Windows AppX Deployment Service (AppXSVC) Privilege Escalation Vulnerability | Microsoft Windows AppX Deployment Service (AppXSVC) Privilege Escalation Vulnerability | Microsoft | 7.8 | 1.8% | KEV | 2019-07-29 |
| CVE-2021-41379KEV Windows Installer Elevation of Privilege Vulnerability | Windows Installer Elevation of Privilege Vulnerability | Microsoft | 5.5 | 19.5% | KEV | 2021-11-10 |
| CVE-2015-1130KEV Apple OS X Authentication Bypass Vulnerability | Apple OS X Authentication Bypass Vulnerability | - | 7.8 | 9.9% | KEV | 2015-04-10 |
| CVE-2020-0787KEV Microsoft Windows Background Intelligent Transfer Service (BITS) Improper Privilege Management Vulnerability | Microsoft Windows Background Intelligent Transfer Service (BITS) Improper Privilege Management Vulnerability | Microsoft | 7.8 | 42.5% | KEV | 2020-03-12 |
| CVE-2020-0683KEV Microsoft Windows Installer Privilege Escalation Vulnerability | Microsoft Windows Installer Privilege Escalation Vulnerability | Microsoft | 7.8 | 7.7% | KEV | 2020-02-11 |
| CVE-2026-50656 Microsoft Defender Elevation of Privilege Vulnerability | Microsoft Defender Elevation of Privilege Vulnerability | Microsoft | 7.8 | 11.2% | 2026-06-16 |
Frequently Asked Questions
What is CWE-59?→
CWE-59 is improper link resolution before file access, where a filename resolves through a symbolic link or shortcut to an unintended file.
Is Zip Slip part of CWE-59?→
MITRE lists Zip Slip as an alternate term. It notes Zip Slip is most often associated with relative path traversal (CWE-23) and link following (CWE-59).
How many exploited vulnerabilities are classified as CWE-59?→
This database lists 25 CVE records mapped to CWE-59 by their CVE Numbering Authority. 24 of them are in the CISA Known Exploited Vulnerabilities catalog, and CISA links 14 to known ransomware campaigns. Examples include CVE-2026-81963, CVE-2015-5287, CVE-2026-41091.
Weakness definitions summarized from the CWE List, © The MITRE Corporation, used under the CWE Terms of Use. CWE mappings come from each CVE record's CNA. Exploited-in-the-wild data from the CISA KEV catalog (CC0). This site is not affiliated with or endorsed by MITRE or CISA. Attack patterns from CAPEC 3.9, © The MITRE Corporation, used under the CAPEC Terms of Use.