Security Resilience

CWE · MITRE source

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

Abstraction: Variant · CVEs in our corpus: 30

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: 14 October 2026 20:41 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
  • ID.RA-01
  • PR.AA-05
  • 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-2024-23897 KEV 9.99.81.00002024-01-24
CVE-2024-24809 8.38.50.54412024-04-10
CVE-2024-21896 7.59.80.01262024-02-20
CVE-2024-27764 7.59.80.00972024-03-05
CVE-2023-50254 7.09.30.02122023-12-22
CVE-2022-24785 6.97.50.13902022-04-04
CVE-2026-24457 6.99.10.00642026-03-05
CVE-2025-66518 6.78.80.01002026-01-05
CVE-2023-34125 6.56.50.25372023-07-13
CVE-2024-51747 6.59.10.00852024-11-11
CVE-2025-58761 6.38.60.00682025-09-09
CVE-2021-35027 6.27.50.02042021-09-29
CVE-2023-52076 6.28.50.01092024-01-25
CVE-2025-10438 6.28.60.00452025-09-25
CVE-2026-62391 6.28.10.00792026-07-31
CVE-2023-27588 6.17.50.01302023-03-14
CVE-2024-20348 6.07.50.00802024-04-03
CVE-2026-763445.67.70.00412026-08-19
CVE-2023-20127 5.36.50.00922023-04-05
CVE-2023-20129 5.36.50.00922023-04-05
CVE-2023-20131 5.26.50.00572023-04-05
CVE-2025-52237 5.26.50.00482025-08-05
CVE-2023-20130 5.16.50.00382023-04-05
CVE-2023-20090 5.06.70.00212024-11-15
CVE-2024-74584.65.50.00842024-08-04