CWE · MITRE source
CWE-25Path Traversal: '/../filedir'
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: 16 October 2026 14:24 UTC
Control responseHuman-reviewed
Answering this weakness across the control lifecycle, from our framework cross-walks.
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-20775 KEV UPD | 8.5 | 7.8 | 0.1247 | 2022-09-30 |
CVE-2025-68916 UPD | 6.8 | 9.1 | 0.0262 | 2025-12-24 |
CVE-2023-52076 UPD | 6.2 | 8.5 | 0.0109 | 2024-01-25 |
CVE-2023-52138 UPD | 6.2 | 8.2 | 0.0167 | 2024-02-05 |
CVE-2026-68959 | 6.1 | 8.5 | 0.0065 | 2026-08-25 |
CVE-2023-6118 UPD | 6.0 | 7.5 | 0.0076 | 2023-11-23 |
CVE-2024-2442 UPD | 6.0 | 7.5 | 0.0070 | 2024-03-19 |
CVE-2022-20818 UPD | 5.9 | 7.8 | 0.0063 | 2022-09-30 |
CVE-2023-6919 UPD | 5.9 | 7.5 | 0.0058 | 2024-01-26 |
CVE-2023-6947 UPD | 5.8 | 7.7 | 0.0076 | 2024-12-10 |
CVE-2026-23877 UPD | 3.8 | 4.3 | 0.0060 | 2026-01-19 |
CVE-2025-0225 UPD | 3.7 | 4.3 | 0.0049 | 2025-01-05 |
CVE-2025-58286 UPD | 2.7 | 3.3 | 0.0011 | 2025-10-11 |