CWE-50: Path Equivalence: '//multiple/leading/slash'
Filter
The product accepts path input in the form of multiple leading slash ('//multiple/leading/slash') without appropriate validation, which can lead to ambiguous path resolution and allow an attacker to traverse the file system to unintended locations or access arbitrary files.
What the weakness is: CWE-50 at MITRE. All weaknesses
Ask an AI about CWE-50
Show the prompt
Explain CWE-50: Path Equivalence: '//multiple/leading/slash' and how to prevent and detect it in code. Use https://cwe.mitre.org/data/definitions/50.html and https://cve.bz/cve/cwe/50?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.
- 8.8CVE-2026-102643EPSS 0.8%
AsyncSSH is a Python package which provides an asynchronous client and server implementation of the SSHv2 protocol on top of the Python asyncio framework. Prior to 2.24.1, SFTPServer.map_path() uses posixpath.normpath() on a client-supplie…
- 8.2CVE-2026-66835EPSS 1.0%
Path Equivalence vulnerability in Erlang/OTP inets httpd allows a remote unauthenticated attacker to read files inside a mod_auth protected directory by prefixing the request path with an extra slash. httpd_request:validate_uri/1 normalis…
- 7.5CVE-2023-34092ExploitEPSS 3.2%
Vite provides frontend tooling. Prior to versions 2.9.16, 3.2.7, 4.0.5, 4.1.5, 4.2.3, and 4.3.9, Vite Server Options (`server.fs.deny`) can be bypassed using double forward-slash (//) allows any unauthenticated user to read file from the V…