CWE · MITRE source
CWE-27Path 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.
This allows attackers to traverse the file system to access files or directories that are outside of the restricted directory. The 'directory/../../filename' manipulation is useful for bypassing some path traversal protection schemes. Sometimes a program only removes one "../" sequence, so multiple "../" can bypass that check. Alternately, this manipulation could be used to bypass a check for "../" at the beginning of the pathname, moving up more than one directory level.
Last updated: 22 August 2026 14:14 UTC
Control responseHuman-reviewed
Answering this weakness across the control lifecycle, from our framework cross-walks.
PR.PS-06ID.RA-01PR.AA-05SI-10Information Input Validation
—
—
—
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-2024-23897 KEV UPD | 9.9 | 9.8 | 1.0000 | 2024-01-24 |
CVE-2024-24809 UPD | 8.3 | 8.5 | 0.5441 | 2024-04-10 |
CVE-2024-21896 UPD | 7.5 | 9.8 | 0.0126 | 2024-02-20 |
CVE-2024-27764 UPD | 7.5 | 9.8 | 0.0097 | 2024-03-05 |
CVE-2023-50254 UPD | 7.0 | 9.3 | 0.0212 | 2023-12-22 |
CVE-2026-24457 UPD | 6.9 | 9.1 | 0.0062 | 2026-03-05 |
CVE-2025-66518 UPD | 6.7 | 8.8 | 0.0091 | 2026-01-05 |
CVE-2022-24785 UPD | 6.5 | 7.5 | 0.0552 | 2022-04-04 |
CVE-2023-34125 UPD | 6.5 | 6.5 | 0.2537 | 2023-07-13 |
CVE-2024-51747 UPD | 6.5 | 9.1 | 0.0084 | 2024-11-11 |
CVE-2025-58761 UPD | 6.3 | 8.6 | 0.0068 | 2025-09-09 |
CVE-2021-35027 UPD | 6.2 | 7.5 | 0.0204 | 2021-09-29 |
CVE-2023-52076 UPD | 6.2 | 8.5 | 0.0102 | 2024-01-25 |
CVE-2025-10438 UPD | 6.2 | 8.6 | 0.0042 | 2025-09-25 |
CVE-2023-27588 UPD | 6.1 | 7.5 | 0.0130 | 2023-03-14 |
CVE-2026-62391 UPD | 6.1 | 8.1 | 0.0052 | 2026-07-31 |
CVE-2024-20348 UPD | 6.0 | 7.5 | 0.0080 | 2024-04-03 |
CVE-2026-76344 | 5.6 | 7.7 | 0.0030 | 2026-08-19 |
CVE-2023-20127 UPD | 5.3 | 6.5 | 0.0092 | 2023-04-05 |
CVE-2023-20129 UPD | 5.3 | 6.5 | 0.0092 | 2023-04-05 |
CVE-2023-20131 UPD | 5.2 | 6.5 | 0.0057 | 2023-04-05 |
CVE-2025-52237 UPD | 5.2 | 6.5 | 0.0047 | 2025-08-05 |
CVE-2023-20130 UPD | 5.1 | 6.5 | 0.0038 | 2023-04-05 |
CVE-2023-20090 UPD | 5.0 | 6.7 | 0.0021 | 2024-11-15 |
CVE-2024-7458 | 4.6 | 5.5 | 0.0084 | 2024-08-04 |