CWE · MITRE source
CWE-26Path 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 "/dir/../filename" 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 '/dir/../filename' manipulation is useful for bypassing some path traversal protection schemes. Sometimes a program only checks for "../" at the beginning of the input, so a "/../" can bypass that check.
Last updated: 04 July 2026 00:28 UTC
Cumulative inbound coverage
How completely the frameworks we cross-walk collectively cover this — the verdict is the strongest single mapping (overlapping partials are not summed); breadth shows the corroboration behind it.
Collective: mostly · 1 mapping(s) from 1 framework(s): ATT&CK 1 (mostly)
NIST 800-53 r5 controls that address this weakness (0)AI
| Control | Title | Family | Why it addresses this CWE |
|---|---|---|---|
| No NIST controls proposed yet. | |||
MITRE ATT&CK techniques this weakness enables
Our own two-way CWE↔ATT&CK cross-walk — a direct mapping with no public source (the CWE→CAPEC→ATT&CK chain leaves most top weaknesses, incl. XSS and SQLi, mapped to nothing). Drafted by Grok and spot-checked by Claude Opus 4.8.
Direction: ← other covers this;
→ this covers other (F/M/P = full / mostly /
partial).
Top CVEs of this weakness type, ranked by Risk Priority
| CVE | Risk | CVSS | EPSS | Published |
|---|---|---|---|---|
CVE-2023-50255 | 7.0 | 9.3 | 0.0105 | 2023-12-27 |
CVE-2024-28064 | 7.0 | 9.8 | 0.0086 | 2024-05-18 |
CVE-2021-34762 | 5.5 | 8.1 | 0.0191 | 2021-10-27 |
CVE-2021-42021 | 5.5 | 7.5 | 0.0169 | 2021-11-09 |
CVE-2023-25802 | 5.5 | 7.5 | 0.0101 | 2023-03-13 |
CVE-2024-25466 UPD | 5.5 | 7.8 | 0.0053 | 2024-02-16 |
CVE-2024-31551 | 5.5 | 7.5 | 0.0069 | 2024-04-26 |
CVE-2024-29466 | 5.5 | 8.8 | 0.0105 | 2024-04-30 |
CVE-2024-5865 | 5.5 | 7.7 | 0.0048 | 2024-07-02 |
CVE-2026-25575 | 5.5 | 7.5 | 0.0044 | 2026-02-04 |
CVE-2024-20345 UPD | 3.5 | 6.5 | 0.0215 | 2024-03-06 |
CVE-2024-5866 | 3.5 | 5.0 | 0.0038 | 2024-07-02 |
CVE-2022-45133 | 3.5 | 6.5 | 0.0032 | 2025-08-22 |
CVE-2026-46747 UPD | 3.5 | 4.3 | 0.0024 | 2026-06-09 |