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-6707 Open WebUI Arbitrary File Upload + Path Traversal 7.5 high 1.00% 7 Aug 2024
CVE-2024-7061 Okta Verify for Windows: Improper Limitation of a Pathname to a Restricted Directory 5.5 medium 0.21% 7 Aug 2024
CVE-2024-7564 Logsign Unified SecOps Platform Directory Traversal Information Disclosure Vulnerability 4.3 medium 1.18% 6 Aug 2024
CVE-2024-7551 juzaweb CMS Theme Editor default path traversal 5.1 medium 0.88% 6 Aug 2024
CVE-2024-5709 WPBakery <= 7.7 - Authenticated (Author+) Local File Inclusion 8.8 high 1.02% 6 Aug 2024
CVE-2024-6781 Calibre Arbitrary File Read 7.5 high 62.4% 6 Aug 2024
CVE-2024-23657 Path Traversal: '../filedir' in Nuxt Devtools 8.8 high 1.21% 5 Aug 2024
CVE-2024-38878 Siemens Omnivise T3000 Application Server R9.2: Improper Limitation of a Pathname to a Restricted Directory 6.9 medium 11.4% 2 Aug 2024
CVE-2024-41310 AndServer 2.1.12 is vulnerable to Directory Traversal 7.5 high 0.80% 2 Aug 2024
CVE-2024-38746 WordPress MakeStories (for Google Web Stories) plugin <= 3.0.3 - Arbitrary File Download and SSRF vulnerability 7.1 high 0.49% 1 Aug 2024
CVE-2024-38768 WordPress The Pack Elementor addons plugin <= 2.0.8.6 - Local File Inclusion vulnerability 4.3 medium 0.49% 1 Aug 2024
CVE-2024-38772 WordPress JetWidgets for Elementor and WooCommerce plugin <= 1.1.7 - Contributor+ Limited Local File Inclusion vulnerability 6.5 medium 0.50% 1 Aug 2024
CVE-2024-39619 WordPress ListingPro plugin <= 2.9.4 - Unauthenticated Local File Inclusion vulnerability 9.0 critical 0.55% 1 Aug 2024
CVE-2024-39621 WordPress ListingPro plugin <= 2.9.4 - Local File Inclusion vulnerability 8.0 high 0.52% 1 Aug 2024
CVE-2024-39624 WordPress ListingPro theme <= 2.9.4 - Local File Inclusion vulnerability 8.5 high 0.52% 1 Aug 2024
CVE-2024-7340 W&B Weave server remote arbitrary file leak and privilege escalation 8.8 high 5.01% 31 Jul 2024
CVE-2024-37129 Dell Inventory Collector: Improper Limitation of a Pathname to a Restricted Directory 6.7 medium 0.17% 31 Jul 2024
CVE-2024-6255 Path Traversal in gaizhenbiao/chuanhuchatgpt 8.2 high 13.6% 31 Jul 2024
CVE-2024-41695 Cybonet - CWE-22: Improper Limitation of a Pathname to a Restricted Directory 7.5 high 0.55% 30 Jul 2024
CVE-2024-27871 Apple iOS and iPadOS: Improper Limitation of a Pathname to a Restricted Directory 5.5 medium 0.26% 29 Jul 2024
CVE-2024-27887 Apple macOS: Improper Limitation of a Pathname to a Restricted Directory 6.2 medium 0.23% 29 Jul 2024
CVE-2024-7248 Comodo Internet Security Pro Directory Traversal Local Privilege Escalation Vulnerability 7.8 high 0.48% 29 Jul 2024
CVE-2024-41799 tgstation-server's DreamMaker environment files outside the deployment directory can be compiled and ran by insufficiently permissioned users 8.4 high 1.21% 29 Jul 2024
CVE-2024-41726 SKYSEA Client View: Improper Limitation of a Pathname to a Restricted Directory 7.5 high 0.62% 29 Jul 2024
CVE-2024-5882 Ultimate Classified Listings < 1.3 - Unauthenticated LFI 7.5 high 0.76% 29 Jul 2024
CVE-2024-42007 SPX (aka php-spx) through 0.4.15 allows SPX_UI_URI Directory Traversal to read arbitrary files 5.8 medium 0.64% 26 Jul 2024
CVE-2024-41628 Directory Traversal vulnerability in Severalnines Cluster Control 1.9.8 before 1.9.8-9778, 2.0.0 before 2.0.0-9779, and 2.1.0 before… 7.5 high 6.52% 26 Jul 2024
CVE-2024-41373 ICEcoder 8.1 contains a Path Traversal vulnerability via lib/backup-versions-preview-loader.php 6.3 medium 0.44% 26 Jul 2024
CVE-2024-40422 The snapshot_path parameter in the /api/get-browser-snapshot endpoint in stitionai devika v1 is susceptible to a path traversal attack 9.1 critical 11.4% 24 Jul 2024
CVE-2024-6885 MaxiBlocks: 2200+ Patterns, 190 Pages, 14.2K Icons & 100 Styles <= 1.9.2 - Authenticated (Subscriber+) Arbitrary File Deletion 8.1 high 1.08% 23 Jul 2024
CVE-2024-6791 Directory Path Traversal Vulnerability in NI VeriStand with vsmodel Files 7.8 high 0.51% 22 Jul 2024
CVE-2024-39688 fishaudio/Bert-VITS2 Limited File Write in webui_preprocess.py generate_config function 6.5 medium 0.50% 22 Jul 2024
CVE-2024-41704 LibreChat through 0.7.4-rc1 does not validate the normalized pathnames of images 9.1 critical 0.67% 22 Jul 2024
CVE-2024-40051 IP Guard v4.81.0307.0 was discovered to contain an arbitrary file read vulnerability via the file name parameter 7.5 high 0.66% 22 Jul 2024
CVE-2024-28698 Directory Traversal vulnerability in Marimer LLC CSLA .Net before 8.0 allows a remote attacker to execute arbitrary code via a crafted… 9.8 critical 1.49% 22 Jul 2024
CVE-2020-24102 Directory Traversal vulnerability in Punkbuster pbsv.d64 2.351, allows remote attackers to execute arbitrary code 7.6 high 0.93% 22 Jul 2024
CVE-2024-6949 Gargaj wuhu path traversal 5.3 medium 0.52% 21 Jul 2024
CVE-2024-3934 Mercado Pago payments for WooCommerce 7.3.0 - 7.6.1 - Authenticated (Subscriber+) Arbitrary File Download 6.5 medium 0.66% 20 Jul 2024
CVE-2024-6281 Path Traversal in parisneo/lollms 7.3 high 0.26% 20 Jul 2024
CVE-2024-40348 An issue in the component /api/swaggerui/static of Bazaar v1.4.3 allows unauthenticated attackers to execute a directory traversal 8.2 high 8.22% 20 Jul 2024
CVE-2024-40628 Arbitrary File Read in Ansible Playbooks in Jumpserver 10.0 critical 0.86% 18 Jul 2024
CVE-2024-40629 Arbitrary File Write in Ansible Playbooks leads to RCE in Jumpserver 10.0 critical 1.27% 18 Jul 2024
CVE-2024-6164 Filter & Grids < 2.8.33 - Unauthenticated LFI 9.8 critical 1.09% 18 Jul 2024
CVE-2024-23467 SolarWinds Access Rights Manager Directory Traversal Remote Code Execution Vulnerability 9.6 critical 2.62% 17 Jul 2024
CVE-2024-23466 SolarWinds Access Rights Manager Directory Traversal Remote Code Execution Vulnerability 9.6 critical 2.27% 17 Jul 2024
CVE-2024-23475 SolarWinds Access Rights Manager Directory Traversal and Information Disclosure Vulnerability 9.6 critical 2.08% 17 Jul 2024
CVE-2024-23472 SolarWinds Access Rights Manager Directory Traversal Arbitrary File Deletion and Information Disclosure Vulnerability 9.6 critical 18.0% 17 Jul 2024
CVE-2024-28993 SolarWinds Access Rights Manager Directory Traversal and Information Disclosure Vulnerability 7.6 high 0.95% 17 Jul 2024
CVE-2024-23468 SolarWinds Access Rights Manager Directory Traversal and Information Disclosure Vulnerability 7.6 high 3.38% 17 Jul 2024
CVE-2024-23474 SolarWinds Access Rights Manager (ARM) deleteTransferFile Directory Traversal Arbitrary File Deletion and Information Disclosure Vulnerability 7.6 high 1.52% 17 Jul 2024