Common Weakness Enumeration

    CWE Definition / CWE-54

    CWE-54: Path Equivalence: 'filedir' (Trailing Backslash)

    The product accepts path input in the form of trailing backslash ('filedir') without appropriate validation, which can lead to ambiguous path resolution and allow an attacker to traverse the file system to unintended locations or access arbitrary files.

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

    Related Weakness

    CWE-41: Improper Resolution of Path Equivalence

    CWE-162: Improper Neutralization of Trailing Special Elements