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

UNIX Symbolic Link (Symlink) Following

The product, when opening a file or directory, does not sufficiently account for when the file is a symbolic link that resolves to a target outside of the intended control sphere. This could allow an attacker to cause the product to operate on unauthorized files.

Part of: CWE-59 · Improper Link Resolution Before File Access

127CVEs of this type in the archive
9critical (CVSS ≥ 9)
63high severity (7–8.9)
Dec 1, 2026latest published

What it is

The product, when opening a file or directory, does not sufficiently account for when the file is a symbolic link that resolves to a target outside of the intended control sphere. This could allow an attacker to cause the product to operate on unauthorized files.

Impact on systems

ScopeImpact
Confidentiality, Integrity Read Files or Directories, Modify Files or Directories
A product that allows a symbolic link (symlink) as part of a path - whether in internal code or through user input - can allow an attacker to spoof the symbolic link and traverse the file system to unintended locations or access arbitrary files. An attacker could read, write, or /corrupt a file that they originally did not have permissions to access directly.

How to prevent it

Implementation Symbolic link attacks often occur when a program creates a tmp directory that stores files/links. Access to the directory should be restricted to the program as to prevent attackers from manipulating the files.
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-61 CVEs published per year

2026: year in progress, updated every hour

Show the data as a table
YearCVE
20202
20212
202414
202527
202682

All CWE-61 CVEs

127 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.