1. CVE archive
  2. Vulnerability types
  3. CWE-59
CWE-59 · #37 most frequent type in the archive

Improper Link Resolution Before File Access

The product attempts to access a file based on the filename, but it does not properly prevent that filename from identifying a link or shortcut that resolves to an unintended resource.

Part of: CWE-706 · Use of Incorrectly-Resolved Name or Reference

1,858CVEs of this type in the archive
65critical (CVSS ≥ 9)
849high severity (7–8.9)
Nov 30, 2026latest published

What it is

The product attempts to access a file based on the filename, but it does not properly prevent that filename from identifying a link or shortcut that resolves to an unintended resource.

Impact on systems

ScopeImpact
Confidentiality, Integrity, Access Control Read Files or Directories, Modify Files or Directories, Bypass Protection Mechanism
An attacker may be able to traverse the file system to unintended locations and read or overwrite the contents of unexpected files. If the files are used for a security mechanism then an attacker may be able to bypass the mechanism.
Other Execute Unauthorized Code or Commands
Windows simple shortcuts, sometimes referred to as soft links, can be exploited remotely since a .LNK file can be uploaded like a normal file. This can enable remote execution.

How to prevent it

Architecture and Design · Separation of Privilege Follow the principle of least privilege when assigning access rights to entities in a software system. Denying access to a file can prevent an attacker from replacing that file with a link to a sensitive file. Ensure good compartmentalization in the system to provide protected areas that can be trusted.

Source: MITRE CWE catalog · Official entry on the MITRE website

CWE-59 CVEs published per year

2026: year in progress, updated every hour

Show the data as a table
YearCVE
20005
20013
20025
20035
20044
200514
20065
200727
2008172
200932
201025
201133
201217
201320
201459
201523
20168
201735
201850
2019109
2020105
202198
202293
2023110
2024149
2025141
2026511

All CWE-59 CVEs

1,858 results

Dottor Marc

Is this type of vulnerability in your systems?

An archive tells you what exists; a Vulnerability Assessment tells you what is exposed on your side. Dottor Marc tests your web applications and network with automated and manual checks.