Cyber Posture

CWE · MITRE source

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

Abstraction: Variant · CVEs in our corpus: 12

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. Sometimes a program checks for "../" at the beginning of the input, so a "/../" can bypass that check.

Last updated: 09 May 2026 03:25 UTC

NIST 800-53 r5 controls that address this weakness (0)AI

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-20775 KEV3.67.80.00422022-09-30
CVE-2023-520762.48.50.11762024-01-25
CVE-2025-689161.99.10.01452025-12-24
CVE-2023-521381.88.20.02532024-02-05
CVE-2023-69471.87.70.04632024-12-10
CVE-2022-208181.67.80.00522022-09-30
CVE-2023-61181.57.50.00102023-11-23
CVE-2023-69191.57.50.00242024-01-26
CVE-2024-24421.57.50.00162024-03-19
CVE-2025-02250.94.30.00242025-01-05
CVE-2026-238770.94.30.00072026-01-19
CVE-2025-582860.73.30.00012025-10-11