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: 20 August 2026 13:14 UTC
Control responseHuman-reviewed
Answering this weakness across the control lifecycle, from our framework cross-walks.
NIST 800-53 r5 controls that address this weakness (0)AI-assisted
| 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-2026-39813 | 8.6 | 9.8 | 0.2306 | 2026-04-14 |
CVE-2022-38129 UPD | 8.5 | 9.8 | 0.1873 | 2022-08-10 |
CVE-2025-27920 KEV UPD | 8.0 | 7.2 | 0.0180 | 2025-05-05 |
CVE-2021-33036 UPD | 7.1 | 8.8 | 0.0382 | 2022-06-15 |
CVE-2025-60344 UPD | 7.1 | 8.6 | 0.1027 | 2025-10-21 |
CVE-2023-6699 UPD | 7.0 | 9.1 | 0.0087 | 2024-01-11 |
CVE-2025-54769 UPD | 7.0 | 8.8 | 0.0311 | 2025-07-29 |
CVE-2025-61318 | 7.0 | 9.1 | 0.0071 | 2025-12-08 |
CVE-2024-23657 UPD | 6.8 | 8.8 | 0.0121 | 2024-08-05 |
CVE-2025-53513 UPD | 6.6 | 8.8 | 0.0066 | 2025-07-08 |
CVE-2023-1800 UPD | 6.3 | 7.3 | 0.0352 | 2023-04-02 |
CVE-2023-53691 UPD | 6.3 | 8.3 | 0.0120 | 2025-10-22 |
CVE-2025-63298 | 6.3 | 8.2 | 0.0048 | 2025-10-30 |
CVE-2023-52076 UPD | 6.2 | 8.5 | 0.0102 | 2024-01-25 |
CVE-2025-59049 UPD | 6.2 | 7.5 | 0.0178 | 2025-09-10 |
CVE-2026-66140 UPD | 6.2 | 8.4 | 0.0026 | 2026-07-24 |
CVE-2020-7882 UPD | 6.1 | 7.5 | 0.0121 | 2021-11-22 |
CVE-2024-22079 UPD | 6.0 | 7.5 | 0.0102 | 2024-03-20 |
CVE-2026-40318 | 6.0 | 8.5 | 0.0029 | 2026-04-16 |
CVE-2022-36065 UPD | 5.9 | 7.5 | 0.0112 | 2022-09-06 |
CVE-2025-51661 | 5.9 | 7.5 | 0.0053 | 2025-11-19 |
CVE-2025-67364 UPD | 5.9 | 7.5 | 0.0059 | 2026-01-07 |
CVE-2025-57618 UPD | 5.8 | 7.3 | 0.0067 | 2025-10-14 |
CVE-2026-28427 UPD | 5.8 | 7.5 | 0.0043 | 2026-03-04 |
CVE-2021-26725 UPD | 5.7 | 7.2 | 0.0106 | 2021-02-22 |