CWE-29: Path Traversal: '\..\filename', published in 2025
Filter
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.
What the weakness is: CWE-29 at MITRE. All weaknesses
Ask an AI about CWE-29
Show the prompt
Explain CWE-29: Path Traversal: '\..\filename' and how to prevent and detect it in code. Use https://cwe.mitre.org/data/definitions/29.html and https://cve.bz/cve/cwe/29?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.4CVE-2025-12790nicholas j humfrey ruby-mqttEPSS 0.6%
A flaw was found in Rubygem MQTT. By default, the package used to not have hostname validation, resulting in possible Man-in-the-Middle (MITM) attack.
- 5.5CVE-2025-58291huawei harmonyosEPSS 0.2%
Denial of service (DoS) vulnerability in the office service. Successful exploitation of this vulnerability may affect availability.
- 7.0CVE-2025-50185dbgateEPSS 0.7%
DbGate is cross-platform database manager. In versions 6.6.0 and below, DbGate allows unauthorized file access due to insufficient validation of file paths and types. A user with application-level access can retrieve data from arbitrary fi…
- 7.1CVE-2025-50184dbgateEPSS 1.0%
DbGate is cross-platform database manager. In versions 6.4.3-premium-beta.5 and below, DbGate is vulnerable to a directory traversal flaw. The file parameter is not properly restricted to the intended uploads directory. As a result, the en…
- 7.5CVE-2025-6209llamaindexEPSS 0.9%
A path traversal vulnerability exists in run-llama/llama_index versions 0.12.27 through 0.12.40, specifically within the `encode_image` function in `generic_utils.py`. This vulnerability allows an attacker to manipulate the `image_path` in…
- 6.2CVE-2024-8982bentoml bentoml/openllmEPSS 0.9%
A Local File Inclusion (LFI) vulnerability in OpenLLM version 0.6.10 allows attackers to include files from the local server through the web application. This flaw could expose internal server files and potentially sensitive information su…
- 7.5CVE-2024-8859lfprojects mlflowEPSS 2.9%
A path traversal vulnerability exists in mlflow/mlflow version 2.15.1. When users configure and use the dbfs service, concatenating the URL directly into the file protocol results in an arbitrary file read vulnerability. This issue occurs …
- 9.1CVE-2024-8537modelscope agentscopeEPSS 1.1%
A path traversal vulnerability exists in the modelscope/agentscope application, affecting all versions. The vulnerability is present in the /delete-workflow endpoint, allowing an attacker to delete arbitrary files from the filesystem. This…
- 7.2CVE-2024-8248mintplexlabs anythingllmEPSS 1.1%
A vulnerability in the normalizePath function in mintplex-labs/anything-llm version git 296f041 allows for path traversal, leading to arbitrary file read and write in the storage directory. This can result in privilege escalation from mana…
- 9.1CVE-2024-7957danswer-ai danswer-ai/danswerEPSS 1.1%
An arbitrary file overwrite vulnerability exists in the ZulipConnector of danswer-ai/danswer, affecting the latest version. The vulnerability arises from the load_credentials method, where user-controlled input for realm_name and zuliprc_c…
- 8.8CVE-2024-12389binary-husky gpt academicEPSS 1.7%
A path traversal vulnerability exists in binary-husky/gpt_academic version git 310122f. The application supports the extraction of user-provided 7z files without proper validation. The Python py7zr package used for extraction does not guar…
- 8.8CVE-2024-11170librechatEPSS 1.8%
A vulnerability in danny-avila/librechat version git 81f2936 allows for path traversal due to improper sanitization of file paths by the multer middleware. This can lead to arbitrary file write and potentially remote code execution. The is…
- 8.2CVE-2024-10648gradio project gradioEPSS 1.0%
A path traversal vulnerability exists in the Gradio Audio component of gradio-app/gradio, as of version git 98cbcae. This vulnerability allows an attacker to control the format of the audio file, leading to arbitrary file content deletion.…
- 7.2CVE-2024-13059mintplexlabs anythingllmEPSS 1.8%
A vulnerability in mintplex-labs/anything-llm prior to version 1.3.1 allows for path traversal due to improper handling of non-ASCII filenames in the multer library. This vulnerability can lead to arbitrary file write, which can subsequent…
- 7.1CVE-2024-51534dell data domain operating systemEPSS 0.3%
Dell PowerProtect DD versions prior to DDOS 8.3.0.0, 7.10.1.50, and 7.13.1.20 contain a path traversal vulnerability. A local low privileged could potentially exploit this vulnerability to gain unauthorized overwrite of OS files stored on …