cve.bz

CWE-31: 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' (multiple internal backslash dot dot) sequences that can resolve to a location that is outside of that directory.

What the weakness is: CWE-31 at MITRE. All weaknesses

Ask an AI about CWE-31

Show the promptExplain CWE-31: Path Traversal: 'dir\..\..\filename' and how to prevent and detect it in code. Use https://cwe.mitre.org/data/definitions/31.html and https://cve.bz/cve/cwe/31?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. 8.8CVE-2024-41376dzzofficeEPSS 1.3%

    dzzoffice 2.02.1 is vulnerable to Directory Traversal via user/space/about.php.

  2. 5.3CVE-2023-35860moderncampus omni cmsEPSS 1.2%

    A Directory Traversal vulnerability in Modern Campus - Omni CMS 2023.1 allows a remote, unauthenticated attacker to enumerate file system information via the dir parameter to listing.php or rss.php.

  3. 7.5CVE-2024-36857homebrew janEPSS 2.5%

    Jan v0.4.12 was discovered to contain an arbitrary file read vulnerability via the /v1/app/readFileSync interface.

  4. 7.5CVE-2024-35431zkteco zkbio cvsecurityEPSS 1.2%

    ZKTeco ZKBio CVSecurity 6.1.1 is vulnerable to Directory Traversal via photoBase64. An unauthenticated user can download local files from the server. NOTE: Third parties have indicated other versions are also vulnerable including up to 6.4…

  5. 6.5CVE-2024-35429zkteco zkbio cvsecurityEPSS 1.1%

    ZKTeco ZKBio CVSecurity 6.1.1 is vulnerable to Directory Traversal via eventRecord.

  6. 8.8CVE-2024-24998ivanti avalancheEPSS 3.3%

    A Path Traversal vulnerability in web component of Ivanti Avalanche before 6.4.3 allows a remote authenticated attacker to execute arbitrary commands as SYSTEM.

  7. 7.5CVE-2019-6268EPSS 0.8%

    RAD SecFlow-2 devices with Hardware 0202, Firmware 4.1.01.63, and U-Boot 2010.12 allow URIs beginning with /.. for Directory Traversal, as demonstrated by reading /etc/shadow.

  8. 9.9CVE-2024-2044ExploitEPSS 26%

    pgAdmin <= 8.3 is affected by a path-traversal vulnerability while deserializing users’ sessions in the session handling code. If the server is running on Windows, an unauthenticated attacker can load and deserialize remote pickle objects …

  9. 8.1CVE-2024-28088langchainEPSS 2.3%

    LangChain through 0.1.10 allows ../ directory traversal by an actor who is able to control the final part of the path parameter in a load_chain call. This bypasses the intended behavior of loading configurations only from the hwchase17/lan…

  10. 4.9CVE-2024-22723webtreesEPSS 1.1%

    Webtrees 2.1.18 is vulnerable to Directory Traversal. By manipulating the "media_folder" parameter in the URL, an attacker (in this case, an administrator) can navigate beyond the intended directory (the 'media/' directory) to access sensi…

  11. 7.5CVE-2024-25840prestaworld account managerEPSS 0.9%

    In the module "Account Manager | Sales Representative & Dealers | CRM" (prestasalesmanager) up to 9.0 from Presta World for PrestaShop, a guest can download personal information without restriction by performing a path traversal attack.