CWE · MITRE source
CWE-24Path 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.
This allows attackers to traverse the file system to access files or directories that are outside of the restricted directory. The "../" manipulation is the canonical manipulation for operating systems that use "/" as directory separators, such as UNIX- and Linux-based systems. In some cases, it is useful for bypassing protection schemes in environments for which "/" is supported but not the primary separator, such as Windows, which uses "\" but can also accept "/".
Last updated: 09 May 2026 03:25 UTC
NIST 800-53 r5 controls that address this weakness (0)AI
| Control | Title | Family | Why it addresses this CWE |
|---|---|---|---|
| No NIST controls proposed yet. | |||
Top CVEs of this weakness type, ranked by Risk Priority
| CVE | Risk | CVSS | EPSS | Published |
|---|---|---|---|---|
CVE-2025-27920 KEV | 6.4 | 7.2 | 0.5015 | 2025-05-05 |
CVE-2024-6746 | 5.3 | 4.3 | 0.7385 | 2024-07-15 |
CVE-2023-1800 | 4.3 | 7.3 | 0.4731 | 2023-04-02 |
CVE-2023-52076 | 2.4 | 8.5 | 0.1176 | 2024-01-25 |
CVE-2022-38129 | 2.2 | 9.8 | 0.0317 | 2022-08-10 |
CVE-2023-6699 | 2.1 | 9.1 | 0.0413 | 2024-01-11 |
CVE-2025-54769 | 2.1 | 8.8 | 0.0612 | 2025-07-29 |
CVE-2026-39813 | 2.0 | 9.8 | 0.0011 | 2026-04-14 |
CVE-2021-33036 | 1.9 | 8.8 | 0.0209 | 2022-06-15 |
CVE-2024-23657 | 1.9 | 8.8 | 0.0162 | 2024-08-05 |
CVE-2025-61318 | 1.9 | 9.1 | 0.0106 | 2025-12-08 |
CVE-2025-53513 | 1.8 | 8.8 | 0.0051 | 2025-07-08 |
CVE-2022-36065 | 1.7 | 7.5 | 0.0257 | 2022-09-06 |
CVE-2024-1459 | 1.7 | 5.3 | 0.1010 | 2024-02-12 |
CVE-2025-60344 | 1.7 | 8.6 | 0.0014 | 2025-10-21 |
CVE-2023-53691 | 1.7 | 8.3 | 0.0010 | 2025-10-22 |
CVE-2026-40318 | 1.7 | 8.5 | 0.0007 | 2026-04-16 |
CVE-2025-59049 | 1.6 | 7.5 | 0.0191 | 2025-09-10 |
CVE-2025-63298 | 1.6 | 8.2 | 0.0014 | 2025-10-30 |
CVE-2021-26725 | 1.5 | 7.2 | 0.0053 | 2021-02-22 |
CVE-2020-7882 | 1.5 | 7.5 | 0.0029 | 2021-11-22 |
CVE-2024-22079 | 1.5 | 7.5 | 0.0049 | 2024-03-20 |
CVE-2024-53636 | 1.5 | 6.4 | 0.0292 | 2025-04-26 |
CVE-2025-48050 | 1.5 | 7.5 | 0.0039 | 2025-05-15 |
CVE-2025-57618 | 1.5 | 7.3 | 0.0042 | 2025-10-14 |