Weakness (CWE)
CWE-59: Improper Link Resolution Before File Access
Base Draft
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.
How to prevent it (1 mitigation)
-
Architecture and Design
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-59
1 result · Clear filters · Feed
-
Low 3.6CVE-2025-55188 Public exploit
7-Zip before 25.01 does not always properly handle symbolic links during extraction.