Cyber Resilience

CWE · MITRE source

CWE-31Path Traversal: 'dir\..\..\filename'

Abstraction: Variant · CVEs in our corpus: 11

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)

See the full cumulative-coverage rollup →

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 UPD8.09.90.79332024-03-07
CVE-2024-25840 UPD5.57.50.00582024-02-27
CVE-2024-28088 UPD5.58.10.01742024-03-04
CVE-2019-62685.57.50.00832024-03-08
CVE-2024-249985.58.80.03242024-04-19
CVE-2024-354315.57.50.01002024-05-30
CVE-2024-368575.57.50.02052024-06-04
CVE-2024-413765.58.80.00962024-08-05
CVE-2024-22723 UPD3.54.90.00882024-02-28
CVE-2024-354293.56.50.00952024-05-30
CVE-2023-358603.55.30.00802024-06-13