Cyber Resilience

CWE · MITRE source

CWE-29Path Traversal: '\..\filename'

Abstraction: Variant · CVEs in our corpus: 63

The product uses external input to construct a pathname that should be within a restricted directory, but it does not properly neutralize '\..\filename' (leading 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. This is similar to CWE-25, except using "\" instead of "/". Sometimes a program checks for "..\" at the beginning of the input, so a "\..\" can bypass that check. It is also useful for bypassing path traversal protection schemes that only assume that the "/" separator is valid.

Last updated: 11 August 2026 10:53 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
  • AC-4 Information Flow 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-2024-6396 9.49.80.53112024-07-12
CVE-2023-1177 9.29.30.69682023-03-24
CVE-2024-4320 8.99.80.34352024-06-06
CVE-2024-3429 8.89.80.28322024-06-06
CVE-2024-2083 8.79.90.37492024-04-16
CVE-2023-6909 8.47.50.89722023-12-18
CVE-2023-1034 8.08.80.28112023-02-25
CVE-2023-2780 8.09.80.06362023-05-17
CVE-2023-0104 7.99.30.21852023-02-22
CVE-2023-6975 7.79.80.02012023-12-20
CVE-2024-3848 7.77.50.43282024-05-16
CVE-2023-6021 7.67.50.36832023-11-16
CVE-2024-2360 7.69.80.01872024-06-06
CVE-2024-2624 7.69.80.01362024-06-06
CVE-2024-2358 7.59.80.01122024-05-16
CVE-2024-5443 7.59.80.01152024-06-22
CVE-2024-4322 7.47.50.30992024-05-16
CVE-2025-15036 7.410.00.00582026-03-30
CVE-2024-2928 7.27.50.21852024-06-06
CVE-2024-34470 7.08.60.06702024-05-06
CVE-2024-5926 7.09.10.00862024-06-30
CVE-2024-7957 7.09.10.00882025-03-20
CVE-2024-8537 7.09.10.00952025-03-20
CVE-2024-7774 6.99.10.00552024-10-29
CVE-2024-11170 6.98.80.01662025-03-20