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-2021-3199 Actively exploited Critical 9.8

    ONLYOFFICE Docs Server Path Traversal Vulnerability

    Directory traversal with remote code execution can occur in /upload in ONLYOFFICE Document Server before 5.6.3, when JWT is used, via a /.. sequence in an image upload parameter.

  2. CVE-2020-5902 Actively exploited Critical 9.8

    F5 BIG-IP Traffic Management User Interface (TMUI) Remote Code Execution Vulnerability

    In BIG-IP versions 15.0.0-15.1.0.3, 14.1.0-14.1.2.5, 13.1.0-13.1.3.3, 12.1.0-12.1.5.1, and 11.6.1-11.6.5.1, the Traffic Management User Interface (TMUI), also referred to as the Configuration utility…

  3. CVE-2020-1631 Actively exploited Critical 9.8

    Juniper Junos OS Path Traversal Vulnerability

    A vulnerability in the HTTP/HTTPS service used by J-Web, Web Authentication, Dynamic-VPN (DVPN), Firewall Authentication Pass-Through with Web-Redirect, and Zero Touch Provisioning (ZTP) allows an un…

  4. CVE-2019-19781 Actively exploited Critical 9.8

    Citrix ADC, Gateway, and SD-WAN WANOP Appliance Code Execution Vulnerability

    An issue was discovered in Citrix Application Delivery Controller (ADC) and Gateway 10.5, 11.1, 12.0, 12.1, and 13.0. They allow Directory Traversal.

  5. CVE-2019-7194 Actively exploited Critical 9.8

    QNAP Photo Station Path Traversal Vulnerability

    This external control of file name or path vulnerability allows remote attackers to access or modify system files. To fix the vulnerability, QNAP recommend updating Photo Station to their latest vers…

  6. CVE-2019-7195 Actively exploited Critical 9.8

    QNAP Photo Station Path Traversal Vulnerability

    This external control of file name or path vulnerability allows remote attackers to access or modify system files. To fix the vulnerability, QNAP recommend updating Photo Station to their latest vers…

  7. CVE-2019-16278 Actively exploited Critical 9.8

    Nostromo nhttpd Directory Traversal Vulnerability

    Directory Traversal in the function http_verify in nostromo nhttpd through 1.9.6 allows an attacker to achieve remote code execution via a crafted HTTP request.

  8. CVE-2018-13379 Actively exploited Critical 9.8

    Fortinet FortiOS SSL VPN Path Traversal Vulnerability

    An Improper Limitation of a Pathname to a Restricted Directory ("Path Traversal") in Fortinet FortiOS 6.0.0 to 6.0.4, 5.6.3 to 5.6.7 and 5.4.6 to 5.4.12 and FortiProxy 2.0.0, 1.2.0 to 1.2.8, 1.1.0 to…

  9. CVE-2019-3396 Actively exploited Critical 9.8

    Atlassian Confluence Server and Data Center Server-Side Template Injection Vulnerability

    The Widget Connector macro in Atlassian Confluence Server before version 6.6.12 (the fixed version for 6.6.x), from version 6.7.0 before 6.12.3 (the fixed version for 6.12.x), from version 6.13.0 bef…

  10. CVE-2014-0780 Actively exploited Critical 9.8

    InduSoft Web Studio NTWebServer Directory Traversal Vulnerability

    Directory traversal vulnerability in NTWebServer in InduSoft Web Studio 7.1 before SP2 Patch 4 allows remote attackers to read administrative passwords in APP files, and consequently execute arbitrar…

  11. CVE-2010-2861 Actively exploited Critical 9.8

    Adobe ColdFusion Directory Traversal Vulnerability

    Multiple directory traversal vulnerabilities in the administrator console in Adobe ColdFusion 9.0.1 and earlier allow remote attackers to read arbitrary files via the locale parameter to (1) CFIDE/ad…

  12. CVE-2024-41713 Actively exploited Critical 9.1

    Mitel MiCollab Path Traversal Vulnerability

    A vulnerability in the NuPoint Unified Messaging (NPM) component of Mitel MiCollab through 9.8 SP1 FP2 (9.8.1.201) could allow an unauthenticated attacker to conduct a path traversal attack, due to i…

  13. CVE-2024-8963 Actively exploited Critical 9.1

    Ivanti Cloud Services Appliance (CSA) Path Traversal Vulnerability

    Path Traversal in the Ivanti CSA before 4.6 Patch 519 allows a remote unauthenticated attacker to access restricted functionality.

  14. CVE-2018-14847 Actively exploited Critical 9.1

    MikroTik Router OS Directory Traversal Vulnerability

    MikroTik RouterOS through 6.42 allows unauthenticated remote attackers to read arbitrary files and remote authenticated attackers to write arbitrary files due to a directory traversal vulnerability i…

  15. CVE-2015-4068 Actively exploited Critical 9.1

    Arcserve Unified Data Protection (UDP) Directory Traversal Vulnerability

    Directory traversal vulnerability in Arcserve UDP before 5.0 Update 4 allows remote attackers to obtain sensitive information or cause a denial of service via a crafted file path to the (1) reportFil…

  16. CVE-2025-8110 Actively exploited High 8.8

    Gogs Path Traversal Vulnerability

    Improper Symbolic link handling in the PutContents API in Gogs allows Local Execution of Code.

  17. CVE-2025-27920 Actively exploited High 8.8

    Srimax Output Messenger Directory Traversal Vulnerability

    Output Messenger before 2.0.63 was vulnerable to a directory traversal attack through improper file path handling. By using ../ sequences in parameters, attackers could access sensitive files outside…

  18. CVE-2022-26500 Actively exploited High 8.8

    Veeam Backup & Replication Remote Code Execution Vulnerability

    Improper limitation of path names in Veeam Backup & Replication 9.5U3, 9.5U4,10.x, and 11.x allows remote authenticated users access to internal API functions that allows attackers to upload and exec…

  19. CVE-2021-38163 Actively exploited High 8.8

    SAP NetWeaver Unrestricted File Upload Vulnerability

    SAP NetWeaver (Visual Composer 7.0 RT) versions - 7.30, 7.31, 7.40, 7.50, without restriction, an attacker authenticated as a non-administrative user can upload a malicious file over a network and tr…

  20. CVE-2021-36741 Actively exploited High 8.8

    Trend Micro Multiple Products Improper Input Validation Vulnerability

    An improper input validation vulnerability in Trend Micro Apex One, Apex One as a Service, OfficeScan XG, and Worry-Free Business Security 10.0 SP1 allows a remote attached to upload arbitrary files …

  21. CVE-2019-3398 Actively exploited High 8.8

    Atlassian Confluence Server and Data Center Path Traversal Vulnerability

    Confluence Server and Data Center had a path traversal vulnerability in the downloadallattachments resource. A remote attacker who has permission to add attachments to pages and / or blogs or to crea…

  22. CVE-2018-5430 Actively exploited High 8.8

    TIBCO JasperReports Server Information Disclosure Vulnerability

    The Spring web flows of TIBCO Software Inc.'s TIBCO JasperReports Server, TIBCO JasperReports Server Community Edition, TIBCO JasperReports Server for ActiveMatrix BPM, TIBCO Jaspersoft for AWS with …

  23. CVE-2024-1708 Actively exploited High 8.4

    Improper limitation of a pathname to a restricted directory (“path traversal”)

    ConnectWise ScreenConnect 23.9.7 and prior are affected by path-traversal vulnerability, which may allow an attacker the ability to execute remote code or directly impact confidential data or critica…

  24. CVE-2025-6218 Actively exploited High 7.8

    RARLAB WinRAR Path Traversal Vulnerability

    RARLAB WinRAR Directory Traversal Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of RARLAB WinRAR. User interactio…

  25. CVE-2024-7262 Actively exploited High 7.8

    Kingsoft WPS Office Path Traversal Vulnerability

    Improper path validation in promecefpluginhost.exe in Kingsoft WPS Office version ranging from 12.2.0.13110 to 12.2.0.16412 (exclusive) on Windows allows an attacker to load an arbitrary Windows libr…