CWE-29: Path Traversal: '..filename'

64 CVEs have CWE-29 as their primary weakness. 0 of them are in the CISA KEV catalog. The highest EPSS score among them is 89.716%.

The product uses external input to construct a pathname that should be within a restricted directory, but it does not properly neutralize '..filename' (leading backslash dot dot) sequences that can resolve to a location that is outside of that directory.

Sometimes a program checks for .. at the beginning of the input, so a .. can bypass that check. It is also useful for bypassing path traversal protection schemes that only assume that the / separator is valid.

Child of CWE-23: Relative Path Traversal

Mitigations

Observed examples

Get more CVE data from the API.

Free without a key or signup. Pro adds monitoring and higher limits: pricing.

Sources