Security Resilience

CWE · MITRE source

CWE-24Path Traversal: '../filedir'

Abstraction: Variant · CVEs in our corpus: 125

The product uses external input to construct a pathname that should be within a restricted directory, but it does not properly neutralize "../" 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 "../" manipulation is the canonical manipulation for operating systems that use "/" as directory separators, such as UNIX- and Linux-based systems. In some cases, it is useful for bypassing protection schemes in environments for which "/" is supported but not the primary separator, such as Windows, which uses "\" but can also accept "/".

Last updated: 15 October 2026 20:36 UTC

Control responseHuman-reviewed

Answering this weakness across the control lifecycle, from our framework cross-walks.

Prevent
Stop it (NIST 800-53 / CSF Protect)
  • PR.PS-06
  • AC-3 Access Enforcement
  • SI-10 Information Input Validation
Detect
Catch it (CSF Detect / Respond)

—

Harden
Shrink the surface (DISA STIG)

—

Validate
Prove the fix (OWASP ASVS)

—

NIST 800-53 r5 controls PROPOSED for this weakness (0)AI-assisted

These are model PROPOSALS, not graded mappings. They come from controls_to_cwe_proposals, which carries no grade field at all; across the CWE pages 1,540 of 1,722 such associations (89%) have never been graded by anything. The heading said “address” until 2026-09-29, which asserted a relationship the data does not carry. Graded cross-walks are on the framework map, not here.

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-2022-38129 8.69.80.21382022-08-10
CVE-2025-27920 KEV 8.07.20.01862025-05-05
CVE-2026-398137.49.80.00722026-04-14
CVE-2025-60344 7.28.60.10892025-10-21
CVE-2021-33036 7.18.80.03972022-06-15
CVE-2025-54769 7.18.80.03332025-07-29
CVE-2023-6699 7.09.10.00862024-01-11
CVE-2025-61318 7.09.10.00732025-12-08
CVE-2024-23657 6.88.80.01212024-08-05
CVE-2026-1089806.88.80.01062026-10-12
CVE-2025-53513 6.78.80.00782025-07-08
CVE-2023-1800 6.37.30.03552023-04-02
CVE-2023-53691 6.38.30.01292025-10-22
CVE-2025-632986.38.20.00522025-10-30
CVE-2026-66140 6.38.40.00392026-07-24
CVE-2023-52076 6.28.50.01092024-01-25
CVE-2025-59049 6.27.50.01762025-09-10
CVE-2026-977306.28.50.01032026-09-25
CVE-2020-7882 6.17.50.01302021-11-22
CVE-2026-403186.18.50.00442026-04-16
CVE-2022-36065 6.07.50.01432022-09-06
CVE-2024-22079 6.07.50.01022024-03-20
CVE-2025-516615.97.50.00532025-11-19
CVE-2025-67364 5.97.50.00632026-01-07
CVE-2026-28427 5.97.50.00512026-03-04