CWE-26: Path Traversal: '/dir/../filename', published in 2024
Filter
The product uses external input to construct a pathname that should be within a restricted directory, but it does not properly neutralize "/dir/../filename" sequences that can resolve to a location that is outside of that directory.
What the weakness is: CWE-26 at MITRE. All weaknesses
Ask an AI about CWE-26
Show the prompt
Explain CWE-26: Path Traversal: '/dir/../filename' and how to prevent and detect it in code. Use https://cwe.mitre.org/data/definitions/26.html and https://cve.bz/cve/cwe/26?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
- 4.3CVE-2024-5866delinea privileged access serviceEPSS 0.6%
Vulnerability in Delinea Centrify PAS v. 21.3 and possibly others. The application is prone to the path traversal vulnerability allowing listing of arbitrary directory outside the root directory of the web application. Versions 23.1-HF7 an…
- 6.5CVE-2024-5865delinea privileged access serviceEPSS 0.8%
Vulnerability in Delinea Centrify PAS v. 21.3 and possibly others. The application is prone to the path traversal vulnerability allowing arbitrary files reading outside the web publish directory. Versions 23.1-HF7 and on have the patch.
- 9.8CVE-2024-28064EPSS 1.4%
Kiteworks Totemomail 7.x and 8.x before 8.3.0 allows /responsiveUI/EnvelopeOpenServlet messageId directory traversal for unauthenticated file read and delete operations (with displayLoginChunkedImages) and write operations (with storeLogin…
- 8.8CVE-2024-29466EPSS 1.7%
Directory Traversal vulnerability in lsgwr spring boot online exam v.0.9 allows an attacker to execute arbitrary code via the FileTransUtil.java component.
- 7.5CVE-2024-31551cmseasyEPSS 1.1%
Directory Traversal vulnerability in lib/admin/image.admin.php in cmseasy v7.7.7.9 20240105 allows attackers to delete arbitrary files via crafted GET request.
- 6.5CVE-2024-20345cisco appdynamics controllerEPSS 2.1%
A vulnerability in the file upload functionality of Cisco AppDynamics Controller could allow an authenticated, remote attacker to conduct directory traversal attacks on an affected device. This vulnerability is due to insufficient vali…
- 7.8CVE-2024-25466react-native-documents document pickerEPSS 0.6%
Directory Traversal vulnerability in React Native Document Picker before v.9.1.1 and fixed in v.9.1.1 allows a local attacker to execute arbitrary code via a crafted script to the Android library component.