CWE•Compound•Incomplete•20 recent CVEs
CWE-61UNIX Symbolic Link (Symlink) Following
Description
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.
Common consequences
- Confidentiality,Integrity→Read Files or Directories,Modify Files or DirectoriesA 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 f
Potential mitigations
- ImplementationSymbolic 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[object Object]
Related CWEs
Recent CVEs classified under this CWE
CVE-2026-1114338.62026-11-12CVE-2026-928647.32026-11-10CVE-2026-917638.22026-11-10CVE-2026-917627.92026-11-10CVE-2026-917618.22026-11-10CVE-2026-1245844.42026-11-09CVE-2026-1239628.42026-11-06CVE-2026-1003952026-11-05CVE-2026-1217475.52026-11-04CVE-2026-1215202026-11-03CVE-2026-651094.72026-11-03CVE-2026-1193367.82026-10-30CVE-2026-1186887.92026-10-28CVE-2026-1159087.42026-10-26CVE-2026-1154245.52026-10-22CVE-2026-1153927.92026-10-22CVE-2026-1027405.82026-10-15CVE-2026-506122026-10-15CVE-2026-415412026-10-15CVE-2026-1089813.62026-10-12