Common Weakness Enumeration

    CWE Definition / CWE-27

    CWE-27: Path Traversal: 'dir/../../filename'

    The product uses external input to construct a pathname that should be within a restricted directory, but it does not properly neutralize multiple internal ../ sequences that can resolve to a location that is outside of that directory.

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

    Related Weakness

    CWE-23: Relative Path Traversal