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

CVETitleCVSSEPSSPublished
CVE-2025-54927 Schneider Electric EcoStruxure™ Power Monitoring Expert (PME): Improper Limitation of a Pathname to a Restricted Directory 4.9 medium 0.74% 20 Aug 2025
CVE-2025-54926 Schneider Electric EcoStruxure™ Power Monitoring Expert (PME): Improper Limitation of a Pathname to a Restricted Directory 7.2 high 1.08% 20 Aug 2025
CVE-2025-47650 WordPress Infility Global <= 2.15.06 - Arbitrary File Download vulnerability 6.5 medium 0.50% 20 Aug 2025
CVE-2025-48158 WordPress BuddyPress XProfile Custom Image Field Plugin <= 3.0.1 - Arbitrary File Deletion Vulnerability 8.6 high 0.50% 20 Aug 2025
CVE-2025-54021 WordPress Simple File List plugin <= 6.1.14 - Arbitrary File Download vulnerability 7.5 high 0.49% 20 Aug 2025
CVE-2025-8141 Redirection for Contact Form 7 <= 3.2.4 - Unauthenticated Arbitrary File Deletion 8.8 high 0.74% 20 Aug 2025
CVE-2025-55295 qBit Manage Path Traversal Vulnerability 6.5 medium 0.57% 19 Aug 2025
CVE-2024-44373 A Path Traversal vulnerability in AllSky v2023.05.01 through v2024.12.06_06 allows an unauthenticated attacker to create a webshell and… 9.8 critical 1.40% 19 Aug 2025
CVE-2025-55282 aiven-db-migrate allows Privilege Escalation via unrestricted search_path during migration 9.1 critical 0.82% 18 Aug 2025
CVE-2025-55214 Copier safe template has filesystem write access outside destination path 6.9 medium 0.30% 18 Aug 2025
CVE-2025-55201 Copier safe template has arbitrary filesystem read/write access 8.5 high 0.30% 18 Aug 2025
CVE-2025-41242 CVE-2025-41242: Path traversal vulnerability on non-compliant Servlet containers 5.9 medium 2.39% 18 Aug 2025
CVE-2025-3671 WPGYM - Wordpress Gym Management System <= 67.7.0 - Authenticated (Subscriber+) Local File Inclusion to Privilege Escalation via Password Update 8.8 high 0.84% 16 Aug 2025
CVE-2025-7641 Assistant for NextGEN Gallery <= 1.0.9 - Unauthenticated Arbitrary Directory Deletion 7.5 high 0.63% 15 Aug 2025
CVE-2025-54715 WordPress Barcode Scanner with Inventory & Order Manager Plugin <= 1.9.0 - Arbitrary File Download Vulnerability 4.9 medium 0.47% 14 Aug 2025
CVE-2025-34154 UnForm Server Manager < 10.1.12 Unauthenticated Arbitrary File Read 9.2 critical 0.85% 13 Aug 2025
CVE-2012-10054 Umbraco CMS < 4.7.1 codeEditorSave.asmx RCE 9.3 critical 16.6% 13 Aug 2025
CVE-2011-10009 S40 CMS 0.4.2 Path Traversal 8.7 high 10.3% 13 Aug 2025
CVE-2011-10010 QuickShare File Server 1.2.1 Path Traversal RCE 9.4 critical 12.8% 13 Aug 2025
CVE-2025-23304 NVIDIA NeMo Framework: Improper Limitation of a Pathname to a Restricted Directory 7.8 high 1.24% 13 Aug 2025
CVE-2025-8941 Linux-pam: incomplete fix for cve-2025-6020 7.8 high 0.31% 13 Aug 2025
CVE-2025-6715 Latepoint < 5.1.94 - Unauthenticated LFI 9.8 critical 0.82% 13 Aug 2025
CVE-2025-0818 Multiple elFinder Plugins <= (Various Versions) - Directory Traversal to Arbitrary File Deletion 6.5 medium 1.01% 13 Aug 2025
CVE-2025-55169 WeGIA Path Traversal at endpoint 'html/socio/sistema/download_remessa.php' via parameter 'file' 10.0 critical 1.77% 12 Aug 2025
CVE-2024-52964 Fortinet FortiManager: Improper Limitation of a Pathname to a Restricted Directory 5.2 medium 0.74% 12 Aug 2025
CVE-2025-49559 Adobe Commerce | Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') (CWE-22) 5.3 medium 0.80% 12 Aug 2025
CVE-2025-53793 Azure Stack Hub Information Disclosure Vulnerability 7.5 high 1.46% 12 Aug 2025
CVE-2025-55011 Kanboard Path Traversal in File Write via Task File Upload Api 6.4 medium 0.42% 12 Aug 2025
CVE-2025-8081 Elementor <= 3.30.2 - Authenticated (Administrator+) Arbitrary File Read via Image Import 4.9 medium 0.63% 12 Aug 2025
CVE-2025-5391 WooCommerce Purchase Orders <= 1.0.2 - Authenticated (Subscriber+) Arbitrary File Deletion 8.1 high 1.00% 12 Aug 2025
CVE-2025-42946 Directory Traversal vulnerability in SAP S/4HANA (Bank Communication Management) 6.9 medium 0.95% 12 Aug 2025
CVE-2025-25231 Omnissa Workspace ONE UEM: Improper Limitation of a Pathname to a Restricted Directory 7.5 high 29.0% 11 Aug 2025
CVE-2025-8815 猫宁i Morning Shiro Configuration index path traversal 6.9 medium 0.75% 10 Aug 2025
CVE-2025-8753 linlinjava litemall File delete path traversal 5.3 medium 0.60% 9 Aug 2025
CVE-2025-55149 Path Traversal Vulnerability in PDF Review Function (CWE-22) 6.7 medium 0.77% 9 Aug 2025
CVE-2012-10048 Zenoss 3.x showDaemonXMLConfig Command Execution 8.7 high 13.8% 8 Aug 2025
CVE-2025-8356 Path Traversal leading to RCE 9.8 critical 25.0% 8 Aug 2025
CVE-2025-8729 MigoXLab LMeterX upload_service.py process_cert_files path traversal 5.3 medium 0.87% 8 Aug 2025
CVE-2025-8749 Path traversal vulnerability in MiR robot software via API requests 6.5 medium 0.46% 8 Aug 2025
CVE-2025-54959 Mubit co.,ltd. Powered BLUE 870: Improper Limitation of a Pathname to a Restricted Directory 5.3 medium 0.38% 8 Aug 2025
CVE-2025-52913 A vulnerability in the NuPoint Unified Messaging (NPM) component of Mitel MiCollab through 9.8 SP2 (9.8.2.12) could allow an… 9.8 critical 0.60% 8 Aug 2025
CVE-2025-29865 TAGFREE X-Free Uploader: Improper Limitation of a Pathname to a Restricted Directory 8.7 high 0.49% 7 Aug 2025
CVE-2024-55401 An issue in 4C Strategies Exonaut before v22.4 allows attackers to execute a directory traversal 6.5 medium 0.51% 7 Aug 2025
CVE-2025-48394 Eaton G4 PDU: Improper Limitation of a Pathname to a Restricted Directory 4.7 medium 0.34% 6 Aug 2025
CVE-2025-54653 Huawei HarmonyOS: Improper Limitation of a Pathname to a Restricted Directory 8.4 high 0.14% 6 Aug 2025
CVE-2025-54652 Huawei HarmonyOS: Improper Limitation of a Pathname to a Restricted Directory 8.4 high 0.14% 6 Aug 2025
CVE-2012-10024 XBMC ≤ 11.0 Web Server Path Traversal 7.1 high 1.43% 5 Aug 2025
CVE-2012-10034 ClanSphere 2011.3 Local File Inclusion via cs_lang Cookie 8.7 high 10.1% 5 Aug 2025
CVE-2025-54387 IPX is Vulnerable to Path Traversal via Prefix Matching Bypass 6.9 medium 0.79% 5 Aug 2025
CVE-2025-54794 Claude Code Research Preview has a Path Restriction Bypass which could allow unauthorized file access 7.7 high 1.45% 5 Aug 2025