CWE-25: Path Traversal: '/../filedir', published in 2022
Filter
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.
What the weakness is: CWE-25 at MITRE. All weaknesses
Ask an AI about CWE-25
Show the prompt
Explain CWE-25: Path Traversal: '/../filedir' and how to prevent and detect it in code. Use https://cwe.mitre.org/data/definitions/25.html and https://cve.bz/cve/cwe/25?via=ask-ai-copy for recent CVEs with this weakness. Cite the sources.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this weakness's id and public links.
By year: all 2026 2025 2024 2023 2022 2021
- 7.8CVE-2022-20818ciscoEPSS 0.5%
Multiple vulnerabilities in the CLI of Cisco SD-WAN Software could allow an authenticated, local attacker to gain elevated privileges. These vulnerabilities are due to improper access controls on commands within the application CLI. An att…
- 7.8CVE-2022-20775ciscoKEVEPSS 0.8%
A vulnerability in the CLI of Cisco SD-WAN Software could allow an authenticated, local attacker to gain elevated privileges. This vulnerability is due to improper access controls on commands within the application CLI. An attacker coul…