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

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.

6,989 published CVE records name this weakness. Abstraction: Base. Status: Stable. CWE-22 at MITRE

CVETitleCVSSEPSSPublished
CVE-2022-27610 Synology DiskStation Manager (DSM): Improper Limitation of a Pathname to a Restricted Directory 6.5 medium 1.60% 27 Jul 2022
CVE-2022-35650 n/a Moodle: Improper Limitation of a Pathname to a Restricted Directory – 54.4% 25 Jul 2022
CVE-2017-20145 Tecrail Responsive Filemanger path traversal 6.3 medium 1.06% 25 Jul 2022
CVE-2022-31475 WordPress GiveWP plugin <= 2.20.2 - Authenticated Arbitrary File Read via Export function vulnerability 5.5 medium 0.90% 21 Jul 2022
CVE-2022-0902 ABB Flow Computer and Remote Controllers Path Traversal Vulnerability in Totalflow TCP protocol can lead to root access 8.1 high 16.4% 21 Jul 2022
CVE-2022-31163 TZInfo relative path traversal vulnerability allows loading of arbitrary files 7.5 high 2.45% 21 Jul 2022
CVE-2022-29834 Mitsubishi Electric GENESIS64: Improper Limitation of a Pathname to a Restricted Directory 7.5 high 1.76% 20 Jul 2022
CVE-2022-1264 Inductive Automation Ignition 6.8 medium 0.99% 20 Jul 2022
CVE-2022-2030 Zyxel USG FLEX 100(W) firmware: Improper Limitation of a Pathname to a Restricted Directory 6.5 medium 1.20% 19 Jul 2022
CVE-2022-31159 Partial Path Traversal in com.amazonaws:aws-java-sdk-s3 7.9 high 1.62% 15 Jul 2022
CVE-2022-34762 Schneider Electric OPC UA Modicon Communication Module: Improper Limitation of a Pathname to a Restricted Directory 5.9 medium 0.75% 13 Jul 2022
CVE-2017-20105 Simplessus path traversal 5.4 medium 1.05% 28 Jun 2022
CVE-2017-20102 Album Lock getImage path traversal 4.4 medium 0.32% 27 Jun 2022
CVE-2022-1953 Product Configurator for WooCommerce < 1.2.32 - Unauthenticated Arbitrary File Deletion – 1.74% 27 Jun 2022
CVE-2022-2119 OFFIS DCMTK Path Traversal 7.5 high 3.50% 24 Jun 2022
CVE-2013-1891 n/a opencart: Improper Limitation of a Pathname to a Restricted Directory – 6.58% 24 Jun 2022
CVE-2022-1518 3.2.2 IMPROPER LIMITATION OF A PATHNAME TO A RESTRICTED DIRECTORY ('PATH TRAVERSAL') CWE-22 10.0 critical 1.70% 24 Jun 2022
CVE-2022-30117 n/a https://github.com/concrete5/concrete5: Improper Limitation of a Pathname to a Restricted Directory – 2.16% 24 Jun 2022
CVE-2022-31062 Unauthenticated Local File Inclusion 5.3 medium 5.91% 20 Jun 2022
CVE-2022-1657 JupiterX Theme <= 2.0.6 and Jupiter Theme <= 6.10.1 - Authenticated Path Traversal and Local File Inclusion 8.8 high 1.66% 13 Jun 2022
CVE-2022-29094 Dell SupportAssist Client Consumer: Improper Limitation of a Pathname to a Restricted Directory 7.1 high 0.25% 10 Jun 2022
CVE-2022-29093 Dell SupportAssist Client Commercial: Improper Limitation of a Pathname to a Restricted Directory 7.1 high 0.25% 10 Jun 2022
CVE-2021-42811 Vulnerability in SafeNet KeySecure 3.3 low 0.55% 10 Jun 2022
CVE-2022-1993 Path Traversal in gogs/gogs 8.1 high 36.7% 8 Jun 2022
CVE-2022-1992 Path Traversal in gogs/gogs 10.0 critical 2.31% 8 Jun 2022
CVE-2022-24840 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in django-s3file 9.1 critical 2.07% 6 Jun 2022
CVE-2022-32275 Grafana 8.4.3 allows reading files via (for example) a /dashboard/snapshot/%7B%7Bconstructor.constructor'/ 7.5 high 9.51% 6 Jun 2022
CVE-2022-31483 Arbitrary file write via authenticated OSDP file upload 9.1 critical 1.83% 6 Jun 2022
CVE-2022-0779 User Meta < 2.4.4 - Subscriber+ Local File Enumeration via Path Traversal – 2.36% 6 Jun 2022
CVE-2022-23082 CureKit - Path Traversal in isFileOutsideDir 7.5 high 1.33% 31 May 2022
CVE-2022-29253 Path Traversal in XWiki Platform 2.7 low 1.09% 25 May 2022
CVE-2022-1850 Path Traversal in filegator/filegator 5.4 medium 1.02% 24 May 2022
CVE-2022-1721 Path Traversal in WellKnownServlet in jgraph/drawio 7.5 high 2.27% 16 May 2022
CVE-2022-1560 Amministrazione Aperta < 3.8 - Admin+ LFI – 2.30% 16 May 2022
CVE-2022-24830 Path Traversal in OpenClinica 6.5 medium 3.22% 13 May 2022
CVE-2021-33005 mySCADA myPRO Path Traversal 7.5 high 1.59% 13 May 2022
CVE-2021-27771 HCL Sametime is susceptible a file transfer service vulnerability 8.2 high 0.73% 12 May 2022
CVE-2022-1476 All-in-One WP Migration <= 7.58 - Directory Traversal to File Deletion on Windows Hosts 6.6 medium 46.2% 10 May 2022
CVE-2022-30333 KEV RARLAB UnRAR Directory Traversal Vulnerability 9.8 critical 99.2% 9 May 2022
CVE-2022-24878 Improper path handling in Kustomization files allows for denial of service 7.7 high 1.02% 6 May 2022
CVE-2022-24877 Improper path handling in kustomization files allows path traversal 9.9 critical 1.19% 6 May 2022
CVE-2021-38693 Path Traversal in thttpd 5.3 medium 0.95% 5 May 2022
CVE-2022-29474 F5 BIG-IP: Improper Limitation of a Pathname to a Restricted Directory 4.3 medium 1.57% 5 May 2022
CVE-2022-26835 F5 BIG-IP: Improper Limitation of a Pathname to a Restricted Directory 4.9 medium 1.90% 5 May 2022
CVE-2022-28784 Samsung Mobile Devices: Improper Limitation of a Pathname to a Restricted Directory 4.0 medium 0.12% 3 May 2022
CVE-2022-24897 Arbitrary filesystem write access from Velocity 7.5 high 1.79% 2 May 2022
CVE-2022-24900 Absolute Path Traversal due to incorrect use of `send_file` call in Piano LED Visualizer 9.9 critical 8.41% 29 Apr 2022
CVE-2021-43930 Elcomplus SmartPtt Path Traversal 4.9 medium 1.04% 28 Apr 2022
CVE-2021-26629 tobesoft XPLATFORM Path Traversal Vulnerability 8.8 high 1.56% 26 Apr 2022
CVE-2021-35250 Directory Transversal Vulnerability in Serv-U 15.3 7.5 high 12.8% 25 Apr 2022