Cyber Resilience

CWE · MITRE source

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

Abstraction: Variant · CVEs in our corpus: 117

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: 20 August 2026 13:14 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 that address this weakness (0)AI-assisted

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-2026-398138.69.80.23062026-04-14
CVE-2022-38129 8.59.80.18732022-08-10
CVE-2025-27920 KEV 8.07.20.01802025-05-05
CVE-2021-33036 7.18.80.03822022-06-15
CVE-2025-60344 7.18.60.10272025-10-21
CVE-2023-6699 7.09.10.00872024-01-11
CVE-2025-54769 7.08.80.03112025-07-29
CVE-2025-613187.09.10.00712025-12-08
CVE-2024-23657 6.88.80.01212024-08-05
CVE-2025-53513 6.68.80.00662025-07-08
CVE-2023-1800 6.37.30.03522023-04-02
CVE-2023-53691 6.38.30.01202025-10-22
CVE-2025-632986.38.20.00482025-10-30
CVE-2023-52076 6.28.50.01022024-01-25
CVE-2025-59049 6.27.50.01782025-09-10
CVE-2026-66140 6.28.40.00262026-07-24
CVE-2020-7882 6.17.50.01212021-11-22
CVE-2024-22079 6.07.50.01022024-03-20
CVE-2026-403186.08.50.00292026-04-16
CVE-2022-36065 5.97.50.01122022-09-06
CVE-2025-516615.97.50.00532025-11-19
CVE-2025-67364 5.97.50.00592026-01-07
CVE-2025-57618 5.87.30.00672025-10-14
CVE-2026-28427 5.87.50.00432026-03-04
CVE-2021-26725 5.77.20.01062021-02-22