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.

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

CVETitleCVSSEPSSPublished
CVE-2024-40617 FUJITSU Network Edgiot GW1500 (M2M-GW for FENICS): Improper Limitation of a Pathname to a Restricted Directory 6.5 medium 1.42% 17 Jul 2024
CVE-2024-5852 WordPress File Upload <= 4.24.7 - Authenticated (Contributor+) Directory Traversal 4.3 medium 0.69% 16 Jul 2024
CVE-2024-39036 SeaCMS v12.9 is vulnerable to Arbitrary File Read via admin_safe.php 6.5 medium 0.55% 16 Jul 2024
CVE-2024-39918 Path Traveral in @jmondi/url-to-png 4.3 medium 0.53% 15 Jul 2024
CVE-2024-39741 IBM Datacap Navigator directory traversal 4.3 medium 0.68% 15 Jul 2024
CVE-2024-40524 Directory Traversal vulnerability in xmind2testcase v.1.5 allows a remote attacker to execute arbitrary code via the… 9.8 critical 1.36% 15 Jul 2024
CVE-2024-38717 WordPress Booking Ultra Pro Appointments Booking Calendar plugin <= 1.1.13 - Local File Inclusion vulnerability 7.1 high 0.45% 12 Jul 2024
CVE-2024-38716 WordPress Events Calendar for Google plugin <= 2.1.0 - Local File Inclusion vulnerability 6.5 medium 0.50% 12 Jul 2024
CVE-2024-39903 Local File Inclusion in Solara 8.6 high 2.88% 12 Jul 2024
CVE-2024-38715 WordPress ExS Widgets plugin <= 0.3.1 - Local File Inclusion vulnerability 6.5 medium 0.50% 12 Jul 2024
CVE-2024-38709 WordPress GD Rating System plugin <= 3.6 - Local File Inclusion vulnerability 5.3 medium 0.54% 12 Jul 2024
CVE-2024-38704 WordPress Team Manager plugin <= 2.1.12 - Local File Inclusion vulnerability 6.5 medium 0.51% 12 Jul 2024
CVE-2024-37932 WordPress Woocommerce OpenPos plugin <= 6.4.4 - Unauthenticated Arbitrary File Deletion vulnerability 8.6 high 0.59% 12 Jul 2024
CVE-2024-37928 WordPress Jobmonster theme <= 4.7.0 - Unauthenticated Arbitrary File Deletion vulnerability 8.6 high 0.59% 12 Jul 2024
CVE-2024-40550 An arbitrary file upload vulnerability in the component /admin/cmsTemplate/savePlaceMetaData of Public CMS v.4.0.202302.e allows… 8.8 high 0.99% 12 Jul 2024
CVE-2024-31947 StoneFly Storage Concentrator (SC and SCVM) before 8.0.4.26 allows Directory Traversal by authenticated users 6.5 medium 0.73% 12 Jul 2024
CVE-2024-2602 Schneider Electric FoxRTU Station: Improper Limitation of a Pathname to a Restricted Directory 7.3 high 0.28% 11 Jul 2024
CVE-2024-39330 An issue was discovered in Django 5.0 before 5.0.7 and 4.2 before 4.2.14 4.3 medium 1.01% 10 Jul 2024
CVE-2024-22377 PingFederate Runtime Node Path Traversal 5.3 medium 0.44% 9 Jul 2024
CVE-2024-37513 WordPress WPCafe plugin <= 2.2.27 - Local File Inclusion vulnerability 8.5 high 0.56% 9 Jul 2024
CVE-2024-37501 WordPress Advanced Classifieds & Directory Pro plugin <= 3.1.3 - Local File Inclusion vulnerability 8.5 high 0.51% 9 Jul 2024
CVE-2024-37499 WordPress Online Booking & Scheduling Calendar for WordPress plugin <= 4.4.2 - Local File Inclusion vulnerability 6.5 medium 0.62% 9 Jul 2024
CVE-2024-37497 WordPress JetThemeCore plugin < 2.2.1 - Subscriber+ Arbitrary File Deletion vulnerability 7.7 high 0.68% 9 Jul 2024
CVE-2024-37464 WordPress Beaver Builder Addons by WPZOOM plugin <= 1.3.5 - Local File Inclusion vulnerability 4.9 medium 0.86% 9 Jul 2024
CVE-2024-37462 WordPress Ultimate Bootstrap Elements for Elementor plugin <= 1.4.2 - Local File Inclusion vulnerability 8.5 high 0.58% 9 Jul 2024
CVE-2024-37454 WordPress AWSM Team – Team Showcase Plugin plugin <= 1.3.1 - Local File Inclusion vulnerability 6.5 medium 0.62% 9 Jul 2024
CVE-2024-37419 WordPress Cowidgets – Elementor Addons plugin <= 1.1.1 - Local File Inclusion vulnerability 7.5 high 0.60% 9 Jul 2024
CVE-2024-37268 WordPress Striking theme <= 2.3.4 - Local File Inclusion vulnerability 8.5 high 0.53% 9 Jul 2024
CVE-2024-37266 WordPress Tutor LMS plugin <= 2.7.1 - Path Traversal vulnerability 4.9 medium 0.62% 9 Jul 2024
CVE-2024-37224 WordPress SP Project & Document Manager plugin <= 4.71 - Directory Traversal vulnerability 7.5 high 0.57% 9 Jul 2024
CVE-2024-5456 Panda Video <= 1.4.0 - Authenticated (Contributor+) Local File Inclusion 8.8 high 0.87% 9 Jul 2024
CVE-2024-37547 WordPress Elementor Addons by Livemesh plugin <= 8.4.0 - Local File Inclusion vulnerability 6.5 medium 0.52% 6 Jul 2024
CVE-2024-39178 MyPower vc8100 V100R001C00B030 was discovered to contain an arbitrary file read vulnerability via the component… 5.4 medium 0.35% 5 Jul 2024
CVE-2024-2385 Elementor Addons by Livemesh <= 8.4 - Authenticated (Contributor+) Limited Local File Inclusion via Widgets 8.8 high 0.89% 4 Jul 2024
CVE-2024-39937 supOS 5.0 allows api/image/download?fileName=../ directory traversal for reading files 8.6 high 0.86% 4 Jul 2024
CVE-2024-5821 Local File Inclusion (LFI) in stitionai/devika 6.2 medium 0.23% 3 Jul 2024
CVE-2024-33870 An issue was discovered in Artifex Ghostscript before 10.03.1 6.3 medium 0.52% 3 Jul 2024
CVE-2024-33869 An issue was discovered in Artifex Ghostscript before 10.03.1 5.3 medium 0.45% 3 Jul 2024
CVE-2024-5349 LA-Studio Element Kit for Elementor <= 1.3.8.1 - Authenticated (Contributor+) Local File Inclusion 8.8 high 0.95% 2 Jul 2024
CVE-2024-24749 Classpath resource disclosure in GWC Web Resource API on Windows / Tomcat 7.5 high 0.76% 1 Jul 2024
CVE-2023-47803 Synology Camera Firmware: Improper Limitation of a Pathname to a Restricted Directory 5.3 medium 0.72% 28 Jun 2024
CVE-2024-6127 BC Security Empire Path Traversal RCE 9.8 critical 10.3% 27 Jun 2024
CVE-2024-5980 Arbitrary File Write via /v1/runs API endpoint in lightning-ai/pytorch-lightning 9.1 critical 1.32% 27 Jun 2024
CVE-2024-5824 Path Traversal in parisneo/lollms 7.4 high 0.45% 27 Jun 2024
CVE-2024-6085 Path Traversal in parisneo/lollms 8.6 high 0.64% 27 Jun 2024
CVE-2024-6090 Path Traversal Vulnerability in gaizhenbiao/chuanhuchatgpt 7.5 high 0.86% 27 Jun 2024
CVE-2024-5548 Directory Traversal in stitionai/devika 7.5 high 1.02% 27 Jun 2024
CVE-2024-22232 Specially crafted url can be created which leads to a directory traversal in the salt file server 7.7 high 0.84% 27 Jun 2024
CVE-2024-22231 Syndic cache directory creation is vulnerable to a directory traversal attack 5.0 medium 0.69% 27 Jun 2024
CVE-2024-36059 Directory Traversal vulnerability in Kalkitech ASE ASE61850 IEDSmart upto and including version 2.3.5 allows attackers to read/write… 9.4 critical 0.74% 27 Jun 2024