CWE-59: Improper Link Resolution Before File Access ('Link Following')
Also known as: insecure temporary file, Zip Slip
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.
Overview
CWE-59 (Improper Link Resolution Before File Access ('Link Following')) is a base-level software weakness catalogued by MITRE in the Common Weakness Enumeration (CWE). It describes a recurring type of mistake that can lead to exploitable security vulnerabilities.