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.
A product that allows UNIX symbolic links (symlink) as part of paths 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. The symbolic link can permit an attacker to read/write/corrupt a file that they originally did not have permissions to access.
Common consequences
- Confidentiality,Integrity→Read Files or Directories,Modify Files or Directories
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
CWE-59Improper Link Resolution Before File Access ('Link Following')CWE-362Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')CWE-340Generation of Predictable Numbers or IdentifiersCWE-386Symbolic Name not Mapping to Correct ObjectCWE-732Incorrect Permission Assignment for Critical Resource
Recent CVEs classified under this CWE
CVE-2026-492482026-06-18CVE-2026-544208.52026-06-14CVE-2026-423067.22026-06-12CVE-2025-432785.52026-06-11CVE-2026-52235.32026-05-25CVE-2026-87844.22026-05-18CVE-2026-419377.22026-05-14CVE-2026-64758.82026-05-14CVE-2026-78198.12026-05-11CVE-2026-292038.82026-05-08CVE-2026-422758.72026-05-08CVE-2026-318935.52026-05-05CVE-2026-78327.02026-05-05CVE-2026-435706.52026-05-05CVE-2026-73974.42026-04-29CVE-2026-413268.22026-04-24CVE-2026-353725.02026-04-22CVE-2026-3986110.02026-04-21CVE-2026-286846.62026-04-20CVE-2026-403542.92026-04-11