cve.bz

CWE-50: Path Equivalence: '//multiple/leading/slash', published in 2023

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 promptExplain 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.

By year: all 2026 2025 2024 2023 2022 2021

  1. 7.5CVE-2023-34092vitejs viteEPSS 2.9%

    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…