Vulnerabilities

CWE-22: Improper Limitation of a Pathname to a Restricted Directory

Weakness type from the CWE catalogue (version 4.21)

What the weakness means

The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.

Definition as published by MITRE, in English.

4,650 vulnerabilities in the service point to this weakness

  1. CVE-2016-0752 Actively exploited High 7.5

    Ruby on Rails Directory Traversal Vulnerability

    Directory traversal vulnerability in Action View in Ruby on Rails before 3.2.22.1, 4.0.x and 4.1.x before 4.1.14.1, 4.2.x before 4.2.5.1, and 5.x before 5.0.0.beta1.1 allows remote attackers to read …

  2. CVE-2015-3035 Actively exploited High 7.5

    TP-Link Multiple Archer Devices Directory Traversal Vulnerability

    Directory traversal vulnerability in TP-LINK Archer C5 (1.2) with firmware before 150317, C7 (2.0) with firmware before 150304, and C8 (1.0) with firmware before 150316, Archer C9 (1.0), TL-WDR3500 (…

  3. CVE-2014-0130 Actively exploited High 7.5

    Ruby on Rails Directory Traversal Vulnerability

    Directory traversal vulnerability in actionpack/lib/abstract_controller/base.rb in the implicit-render implementation in Ruby on Rails before 3.2.18, 4.0.x before 4.0.5, and 4.1.x before 4.1.1, when …

  4. CVE-2024-27199 Actively exploited High 7.3

    JetBrains TeamCity Relative Path Traversal Vulnerability

    In JetBrains TeamCity before 2023.11.4 path traversal allowing to perform limited admin actions was possible

  5. CVE-2025-2749 Actively exploited High 7.2

    Kentico Xperience Path Traversal Vulnerability

    An authenticated remote code execution in Kentico Xperience allows authenticated users Staging Sync Server to upload arbitrary data to path relative locations. This results in path traversal and arbi…

  6. CVE-2023-35081 Actively exploited High 7.2

    Ivanti Endpoint Manager Mobile (EPMM) Path Traversal Vulnerability

    A path traversal vulnerability in Ivanti EPMM versions (11.10.x < 11.10.0.3, 11.9.x < 11.9.1.2 and 11.8.x < 11.8.1.2) allows an authenticated administrator to write arbitrary files onto the appliance.

  7. CVE-2022-27925 Actively exploited High 7.2

    Synacor Zimbra Collaboration Suite (ZCS) Arbitrary File Upload Vulnerability

    Zimbra Collaboration (aka ZCS) 8.8.15 and 9.0 has mboximport functionality that receives a ZIP archive and extracts files from it. An authenticated user with administrator rights has the ability to u…

  8. CVE-2022-41328 Actively exploited High 7.1

    Fortinet FortiOS Path Traversal Vulnerability

    A improper limitation of a pathname to a restricted directory vulnerability ('path traversal') [CWE-22] in Fortinet FortiOS version 7.2.0 through 7.2.3, 7.0.0 through 7.0.9 and before 6.4.11 allows a…

  9. CVE-2021-40444 Actively exploited Medium 6.8

    Microsoft MSHTML Remote Code Execution Vulnerability

    Microsoft is investigating reports of a remote code execution vulnerability in MSHTML that affects Microsoft Windows. Microsoft is aware of targeted attacks that attempt to exploit this vulnerability…

  10. CVE-2021-27065 Actively exploited Medium 6.8

    Microsoft Exchange Server Remote Code Execution Vulnerability

    Microsoft Exchange Server Remote Code Execution Vulnerability

  11. CVE-2018-2380 Actively exploited Medium 6.6

    SAP Customer Relationship Management (CRM) Path Traversal Vulnerability

    SAP CRM, 7.01, 7.02,7.30, 7.31, 7.33, 7.54, allows an attacker to exploit insufficient validation of path information provided by users, thus characters representing "traverse to parent directory" ar…

  12. CVE-2026-20262 Actively exploited Medium 6.5

    Cisco Catalyst SD-WAN Manager Directory or Path Traversal Vulnerability

    A vulnerability in the web UI of Cisco Catalyst SD-WAN Manager, formerly SD-WAN vManage, could allow an authenticated, remote attacker to create a file or overwrite any file on the filesystem of an a…

  13. CVE-2025-61624 Actively exploited Medium 6.5

    Fortinet Multiple Products Path Traversal Vulnerability

    An Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') [CWE-22] vulnerability in Fortinet FortiOS 7.6.0 through 7.6.4, FortiOS 7.4.0 through 7.4.9, FortiOS 7.2 all versions…

  14. CVE-2023-41266 Actively exploited Medium 6.5

    Qlik Sense Path Traversal Vulnerability

    A path traversal vulnerability found in Qlik Sense Enterprise for Windows for versions May 2023 Patch 3 and earlier, February 2023 Patch 7 and earlier, November 2022 Patch 10 and earlier, and August …

  15. CVE-2020-8195 Actively exploited Medium 6.5

    Citrix ADC, Gateway, and SD-WAN WANOP Appliance Information Disclosure Vulnerability

    Improper input validation in Citrix ADC and Citrix Gateway versions before 13.0-58.30, 12.1-57.18, 12.0-63.21, 11.1-64.14 and 10.5-70.18 and Citrix SDWAN WAN-OP versions before 11.1.1a, 11.0.3d and 1…

  16. CVE-2020-11652 Actively exploited Medium 6.5

    SaltStack Salt Path Traversal Vulnerability

    An issue was discovered in SaltStack Salt before 2019.2.4 and 3000 before 3000.2. The salt-master process ClearFuncs class allows access to some methods that improperly sanitize paths. These methods …

  17. CVE-2018-18809 Actively exploited Medium 6.5

    TIBCO JasperReports Library Directory Traversal Vulnerability

    The default server implementation of TIBCO Software Inc.'s TIBCO JasperReports Library, TIBCO JasperReports Library Community Edition, TIBCO JasperReports Library for ActiveMatrix BPM, TIBCO JasperRe…

  18. CVE-2026-66384 Actively exploited Medium 5.3

    An authenticated user may write data outside the intended Docker cache path under specific remote-repository conditions.

  19. CVE-2021-26086 Actively exploited Medium 5.3

    Atlassian Jira Server and Data Center Path Traversal Vulnerability

    Affected versions of Atlassian Jira Server and Data Center allow remote attackers to read particular files via a path traversal vulnerability in the /WEB-INF/web.xml endpoint. The affected versions a…

  20. CVE-2021-43798 Actively exploited Medium 5.0

    Grafana Path Traversal Vulnerability

    Grafana is an open-source platform for monitoring and observability. Grafana versions 8.0.0-beta1 through 8.3.0 (except for patched versions) iss vulnerable to directory traversal, allowing access to…

  21. CVE-2021-20023 Actively exploited Medium 4.9

    SonicWall Email Security Path Traversal Vulnerability

    SonicWall Email Security version 10.0.9.x contains a vulnerability that allows a post-authenticated attacker to read an arbitrary file on the remote host.

  22. CVE-2022-21999 Actively exploited Medium 4.6

    Microsoft Windows Print Spooler Privilege Escalation Vulnerability

    Windows Print Spooler Elevation of Privilege Vulnerability

  23. CVE-2020-4430 Actively exploited Medium 4.3

    IBM Data Risk Manager Directory Traversal Vulnerability

    IBM Data Risk Manager 2.0.1, 2.0.2, 2.0.3, and 2.0.4 could allow a remote authenticated attacker to traverse directories on the system. An attacker could send a specially-crafted URL request to downl…

  24. CVE-2024-55550 Actively exploited Low 2.7

    Mitel MiCollab Path Traversal Vulnerability

    Mitel MiCollab through 9.8 SP2 could allow an authenticated attacker with administrative privilege to conduct a local file read, due to insufficient input sanitization. A successful exploit could all…

  25. CVE-2024-57728 Actively exploited

    SimpleHelp Path Traversal Vulnerability

    SimpleHelp remote support software v5.5.7 and before allows admin users to upload arbitrary files anywhere on the file system by uploading a crafted zip file (i.e. zip slip). This can be exploited to…