Common Weakness Enumeration

    CWE Definition / CWE-57

    CWE-57: Path Equivalence: 'fakedir/../realdir/filename'

    The product contains protection mechanisms to restrict access to 'realdir/filename', but it constructs pathnames using external input in the form of 'fakedir/../realdir/filename' that are not handled by those mechanisms. This allows attackers to perform unauthorized actions against the targeted file.

    Published:19 Jul 2006
    Organization:MITRE
    Modified:11 Dec 2025

    Related Weakness

    CWE-41: Improper Resolution of Path Equivalence