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,012 published CVE records name this weakness. Abstraction: Base. Status: Stable. CWE-22 at MITRE

CVETitleCVSSEPSSPublished
CVE-2025-4078 Wangshen SecGate 3600 g=log_export_file path traversal 5.3 medium 1.11% 29 Apr 2025
CVE-2025-2817 Privilege escalation in Thunderbird Updater 8.8 high 0.68% 29 Apr 2025
CVE-2025-27937 SIOS Technology, Inc. Quick Agent V3: Improper Limitation of a Pathname to a Restricted Directory 7.1 high 0.72% 27 Apr 2025
CVE-2025-26692 SIOS Technology, Inc. Quick Agent V3: Improper Limitation of a Pathname to a Restricted Directory 9.2 critical 0.89% 27 Apr 2025
CVE-2025-1565 Mayosis Core <= 5.4.1 - Unauthenticated Arbitrary File Read 7.5 high 0.57% 25 Apr 2025
CVE-2025-28354 An issue in the Printer Manager Systm of Entrust Corp Printer Manager D3.18.4-3 and below allows attackers to execute a directory… 6.5 medium 0.55% 25 Apr 2025
CVE-2025-3300 WPMasterToolKit (WPMTK) – All in one plugin <= 2.5.2 - Authenticated (Administrator+) to Arbitrary File Read and Write 7.2 high 0.91% 24 Apr 2025
CVE-2025-3065 Database Toolset <= 1.8.4 - Unauthenticated Arbitrary File Deletion 9.1 critical 1.13% 24 Apr 2025
CVE-2025-2558 The Wound <= 0.0.1 - Unauthenticated LFI 8.6 high 2.46% 24 Apr 2025
CVE-2025-32950 io.jmix.localfs:jmix-localfs has a Path Traversal in Local File Storage 6.5 medium 0.75% 22 Apr 2025
CVE-2025-34028 KEV Commvault Command Center Innovation Release <= 11.38.25 Unathenticated Install Package Path Traversal 9.3 critical 97.6% 22 Apr 2025
CVE-2025-23250 NVIDIA NeMo Framework: Improper Limitation of a Pathname to a Restricted Directory 7.6 high 0.64% 22 Apr 2025
CVE-2025-3577 Zyxel AMG1302-T10B firmware: Improper Limitation of a Pathname to a Restricted Directory 4.9 medium 12.6% 22 Apr 2025
CVE-2025-32431 Traefik has a possible vulnerability with the path matchers 8.8 high 0.96% 21 Apr 2025
CVE-2025-0632 Local File Inclusion (LFI) leading to sensitive data exposure 9.2 critical 0.93% 21 Apr 2025
CVE-2025-29660 A vulnerability exists in the daemon process of the Yi IOT XY-3820 v6.0.24.10, which exposes a TCP service on port 6789 9.8 critical 1.26% 21 Apr 2025
CVE-2025-28099 opencms V2.3 is vulnerable to Arbitrary file read in src/main/webapp/view/admin/document/dataPage.jsp, 4.3 medium 0.41% 21 Apr 2025
CVE-2025-3404 Download Manager <= 3.3.12 - Authenticated (Author+) Arbitrary File Deletion 8.8 high 1.16% 19 Apr 2025
CVE-2025-3520 Avatar <= 0.1.4 - Authenticated (Subscriber+) Arbitrary File Deletion 8.1 high 1.03% 18 Apr 2025
CVE-2025-27283 WordPress Theme File Duplicator Plugin <= 1.3 - Arbitrary File Download vulnerability 6.5 medium 0.56% 17 Apr 2025
CVE-2025-27299 WordPress MyTicket Events plugin <= 1.2.4 - Non-Arbitrary File Read vulnerability 5.3 medium 0.47% 17 Apr 2025
CVE-2025-39568 WordPress StoreContrl Woocommerce plugin <= 4.1.3 - Arbitrary File Download Vulnerability 7.5 high 0.54% 17 Apr 2025
CVE-2025-3294 WP Editor <= 1.2.9.1 - Authenticated (Administrator+) Directory Traversal to Arbitrary File Update 7.2 high 1.04% 17 Apr 2025
CVE-2025-3295 WP Editor <= 1.2.9.1 - Authenticated (Administrator+) Directory Traversal to Arbitrary File Read 4.9 medium 0.55% 17 Apr 2025
CVE-2025-3686 misstt123 oasys show image path traversal 5.3 medium 0.67% 16 Apr 2025
CVE-2025-28072 PHPGurukul Pre-School Enrollment System is vulnerable to Directory Traversal in manage-teachers.php 7.5 high 0.90% 16 Apr 2025
CVE-2025-32779 labsai/eddi Vulnerable to Path Traversal (Zip Slip) in ZIP Import Function 6.5 medium 1.27% 15 Apr 2025
CVE-2025-2830 Information Disclosure of /tmp directory listing 6.3 medium 0.36% 15 Apr 2025
CVE-2025-32943 PeerTube HLS Video Files Path Traversal 3.7 low 0.53% 15 Apr 2025
CVE-2025-29213 A zip slip vulnerability in the component \service\migrate\MigrateForm.java of JEEWMS v3.7 allows attackers to execute arbitrary code… 5.5 medium 0.36% 15 Apr 2025
CVE-2025-3562 Yonyou YonBIP userfile FileInputStream path traversal 5.3 medium 0.62% 14 Apr 2025
CVE-2025-3547 frdel Agent-Zero get_work_dir_files path traversal 5.3 medium 0.48% 14 Apr 2025
CVE-2025-3445 github.com/mholt/archiver/v3: Improper Limitation of a Pathname to a Restricted Directory 8.1 high 0.51% 13 Apr 2025
CVE-2023-42961 Apple iOS and iPadOS: Improper Limitation of a Pathname to a Restricted Directory 6.3 medium 0.45% 11 Apr 2025
CVE-2025-32671 WordPress Print Science Designer plugin <= 1.3.155 - Arbitrary File Download vulnerability 7.5 high 0.76% 11 Apr 2025
CVE-2025-32633 WordPress Database Toolset Plugin <= 1.8.4 - Arbitrary File Deletion vulnerability 8.6 high 0.81% 11 Apr 2025
CVE-2025-32631 WordPress Oxygen MyData for WooCommerce plugin <= 1.0.64 - Arbitrary File Deletion vulnerability 8.6 high 0.81% 11 Apr 2025
CVE-2025-32629 WordPress WP-BusinessDirectory Plugin <= 3.1.2 - Arbitrary File Deletion vulnerability 8.6 high 0.81% 11 Apr 2025
CVE-2025-32587 WordPress WooCommerce Pickupp plugin <= 2.4.3 - Local File Inclusion vulnerability 8.1 high 1.01% 11 Apr 2025
CVE-2025-32509 WordPress Simple WP Events plugin <= 1.8.17 - Arbitrary File Deletion vulnerability 7.5 high 0.90% 11 Apr 2025
CVE-2025-2636 InstaWP Connect <= 0.1.0.85 - Unauthenticated Local PHP File Inclusion 8.1 high 10.5% 11 Apr 2025
CVE-2025-31411 WordPress Linet ERP-Woocommerce Integration plugin <= 3.5.12 - Arbitrary File Read/Deletion vulnerability 5.9 medium 0.41% 10 Apr 2025
CVE-2025-32209 WordPress Total processing card payments for WooCommerce Plugin <= 7.1.5 - Arbitrary File Download vulnerability 6.5 medium 0.50% 10 Apr 2025
CVE-2025-32205 WordPress Piotnet Forms plugin <= 1.0.30 - Path Traversal vulnerability 2.7 low 0.40% 10 Apr 2025
CVE-2025-30582 WordPress DyaPress ERP/CRM plugin <= 18.0.2.0 - Local File Inclusion Vulnerability 8.1 high 0.70% 10 Apr 2025
CVE-2025-30290 ColdFusion | Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') (CWE-22) 8.7 high 20.0% 8 Apr 2025
CVE-2025-27085 Arbitrary File Download Vulnerabilities in Web-Based Management Interface of AOS-10 GW and AOS-8 Controller/Mobility Conductor 4.9 medium 0.63% 8 Apr 2025
CVE-2025-32018 Arbitrary file write from Cursor Agent through a prompt injection from malicious @Docs 8.1 high 0.42% 8 Apr 2025
CVE-2025-25254 Fortinet FortiWeb: Improper Limitation of a Pathname to a Restricted Directory 6.8 medium 17.0% 8 Apr 2025
CVE-2024-41792 Siemens SENTRON 7KT PAC1260 Data Manager: Improper Limitation of a Pathname to a Restricted Directory 9.2 critical 0.59% 8 Apr 2025