Cyber Resilience

CWE · MITRE source

CWE-27Path Traversal: 'dir/../../filename'

Abstraction: Variant · CVEs in our corpus: 27

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: 04 July 2026 08:17 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)

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-23897 KEV UPD10.09.81.00002024-01-24
CVE-2024-24809 UPD8.08.50.54412024-04-10
CVE-2023-502547.09.30.02122023-12-22
CVE-2024-21896 UPD7.09.80.01262024-02-20
CVE-2024-27764 UPD7.09.80.00972024-03-05
CVE-2024-517477.09.10.00822024-11-11
CVE-2026-244577.09.10.00622026-03-05
CVE-2023-341256.06.50.22712023-07-13
CVE-2021-350275.57.50.01982021-09-29
CVE-2022-247855.57.50.05662022-04-04
CVE-2023-275885.57.50.01302023-03-14
CVE-2023-520765.58.50.01022024-01-25
CVE-2024-20348 UPD5.57.50.00802024-04-03
CVE-2025-587615.58.60.00632025-09-09
CVE-2025-10438 UPD5.58.60.00412025-09-25
CVE-2025-665185.58.80.00892026-01-05
CVE-2023-201273.56.50.00922023-04-05
CVE-2023-201293.56.50.00922023-04-05
CVE-2023-201303.56.50.00382023-04-05
CVE-2023-201313.56.50.00572023-04-05
CVE-2024-25828 UPD3.54.90.00612024-02-22
CVE-2024-74583.55.50.00842024-08-04
CVE-2023-200903.56.70.00212024-11-15
CVE-2025-52237 UPD3.56.50.00472025-08-05
CVE-2026-200183.55.90.00422026-03-04