CWE · MITRE source
CWE-31Path 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' (multiple internal backslash dot dot) 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 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: 04 July 2026 11:13 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: partial · 1 mapping(s) from 1 framework(s): ATT&CK 1 (partial)
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-2024-2044 UPD | 8.0 | 9.9 | 0.7933 | 2024-03-07 |
CVE-2024-25840 UPD | 5.5 | 7.5 | 0.0058 | 2024-02-27 |
CVE-2024-28088 UPD | 5.5 | 8.1 | 0.0174 | 2024-03-04 |
CVE-2019-6268 | 5.5 | 7.5 | 0.0083 | 2024-03-08 |
CVE-2024-24998 | 5.5 | 8.8 | 0.0324 | 2024-04-19 |
CVE-2024-35431 | 5.5 | 7.5 | 0.0100 | 2024-05-30 |
CVE-2024-36857 | 5.5 | 7.5 | 0.0205 | 2024-06-04 |
CVE-2024-41376 | 5.5 | 8.8 | 0.0096 | 2024-08-05 |
CVE-2024-22723 UPD | 3.5 | 4.9 | 0.0088 | 2024-02-28 |
CVE-2024-35429 | 3.5 | 6.5 | 0.0095 | 2024-05-30 |
CVE-2023-35860 | 3.5 | 5.3 | 0.0080 | 2024-06-13 |