Common Weakness Enumeration

    CWE Definition / CWE-25

    CWE-25: Path Traversal: '/../filedir'

    The product uses external input to construct a pathname that should be within a restricted directory, but it does not properly neutralize /../ 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