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-2025-3381 zhangyanbo2007 youkefu File Upload WebIMController.java path traversal 5.3 medium 1.13% 7 Apr 2025
CVE-2025-3424 3.2.1 Arbitrary File Read in insecure .NET Remoting TCP Channel 7.7 high 0.25% 7 Apr 2025
CVE-2025-31174 Huawei HarmonyOS: Improper Limitation of a Pathname to a Restricted Directory 6.8 medium 0.41% 7 Apr 2025
CVE-2025-3317 fumiao opencms dataPage.jsp path traversal 5.3 medium 0.58% 6 Apr 2025
CVE-2025-2941 Drag and Drop Multiple File Upload for WooCommerce <= 1.1.4 - Unauthenticated Arbitrary File Move 9.8 critical 1.74% 5 Apr 2025
CVE-2025-3214 JFinal CMS readTemplate engine.getTemplate path traversal 5.3 medium 0.51% 4 Apr 2025
CVE-2025-2270 Countdown, Coming Soon, Maintenance – Countdown & Clock <= 2.8.9.1 - Unauthenticated Limited Local File Inclusion 8.1 high 1.27% 4 Apr 2025
CVE-2025-31827 WordPress Fonto plugin <= 1.2.2 - Arbitrary File Download vulnerability 4.9 medium 0.56% 3 Apr 2025
CVE-2025-31825 WordPress Category Icon plugin <= 1.0.1 - Arbitrary File Download vulnerability 4.9 medium 0.57% 3 Apr 2025
CVE-2025-31800 WordPress Publitio plugin <= 2.2.0 - Arbitrary File Read vulnerability 6.5 medium 0.56% 3 Apr 2025
CVE-2025-31554 WordPress Docxpresso plugin <= 2.6 - Arbitrary File Download vulnerability 5.9 medium 0.49% 3 Apr 2025
CVE-2025-30596 WordPress include-file plugin <= 1 - Arbitrary File Download Vulnerability 6.5 medium 0.56% 3 Apr 2025
CVE-2025-22927 An issue in OS4ED openSIS v8.0 through v9.1 allows attackers to execute a directory traversal by sending a crafted POST request to… 9.1 critical 0.80% 3 Apr 2025
CVE-2025-22926 An issue in OS4ED openSIS v8.0 through v9.1 allows attackers to execute a directory traversal by sending a crafted POST request to… 9.8 critical 0.93% 3 Apr 2025
CVE-2025-22923 An issue in OS4ED openSIS v8.0 through v9.1 allows attackers to execute a directory traversal and delete files by sending a crafted POST… 8.8 high 0.88% 2 Apr 2025
CVE-2025-30841 WordPress Countdown & Clock plugin <=2.8.8 - Remote Code Execution (RCE) vulnerability 9.9 critical 0.78% 1 Apr 2025
CVE-2025-31131 Path Traversal allowing arbitrary read of files in Yeswiki 8.6 high 5.58% 1 Apr 2025
CVE-2025-2048 Lana Downloads Manager < 1.10.0 - Admin+ Arbitrary File Download via Path Traversal 4.1 medium 0.53% 1 Apr 2025
CVE-2025-30910 WordPress CM Download Manager plugin <= 2.9.6 - Arbitrary File Deletion vulnerability 8.6 high 0.63% 1 Apr 2025
CVE-2025-30882 WordPress JS Help Desk plugin <= 2.9.1 - Arbitrary File Download vulnerability 7.5 high 0.61% 1 Apr 2025
CVE-2025-30878 WordPress JS Help Desk plugin <= 2.9.2 - Arbitrary File Deletion vulnerability 8.6 high 0.65% 1 Apr 2025
CVE-2025-30793 WordPress Houzez Property Feed plugin <= 2.5.4 - Arbitrary File Download Vulnerability 7.5 high 0.61% 1 Apr 2025
CVE-2025-30594 WordPress Include URL plugin <= 0.3.5 Arbitrary File Download Vulnerability 6.5 medium 0.54% 1 Apr 2025
CVE-2025-3043 GuoMinJim PersonManage login preHandle path traversal 6.9 medium 0.72% 1 Apr 2025
CVE-2023-46988 Path Traversal vulnerability in ONLYOFFICE Document Server before v8.0.1 allows a remote attacker to copy arbitrary files by… 6.7 medium 0.53% 1 Apr 2025
CVE-2025-30470 Apple iOS and iPadOS: Improper Limitation of a Pathname to a Restricted Directory 5.5 medium 0.34% 31 Mar 2025
CVE-2025-30005 Xorcom CompletePBX <= 5.2.35 Authenticated Path Traversal & File Deletion 8.3 high 1.88% 31 Mar 2025
CVE-2025-2292 Xorcom CompletePBX <= 5.2.35 Authenticated File Disclosure 6.5 medium 1.79% 31 Mar 2025
CVE-2025-3021 Path Traversal vulnerability in e-management of e-solutions 8.7 high 0.50% 31 Mar 2025
CVE-2025-2917 ChestnutCMS read readFile path traversal 5.3 medium 0.82% 28 Mar 2025
CVE-2024-54291 WordPress PluginPass plugin <= 0.9.10 - Arbitrary File Download/Delete vulnerability 8.6 high 0.56% 28 Mar 2025
CVE-2025-27932 KDDI CORPORATION HGW-BL1500HM: Improper Limitation of a Pathname to a Restricted Directory 8.1 high 0.55% 28 Mar 2025
CVE-2025-27726 KDDI CORPORATION HGW-BL1500HM: Improper Limitation of a Pathname to a Restricted Directory 2.1 low 0.29% 28 Mar 2025
CVE-2025-27718 KDDI CORPORATION HGW-BL1500HM: Improper Limitation of a Pathname to a Restricted Directory 8.8 high 0.97% 28 Mar 2025
CVE-2025-27716 KDDI CORPORATION HGW-BL1500HM: Improper Limitation of a Pathname to a Restricted Directory 6.5 medium 0.71% 28 Mar 2025
CVE-2025-2328 Drag and Drop Multiple File Upload for Contact Form 7 <= 1.3.8.7 - Unauthenticated Arbitrary File Deletion 8.8 high 1.09% 28 Mar 2025
CVE-2025-2294 Kubio AI Page Builder <= 2.5.1 - Unauthenticated Local File Inclusion 9.8 critical 78.6% 28 Mar 2025
CVE-2024-12905 An Improper Link Resolution Before File Access ("Link Following") and Improper Limitation of a Pathname to a Restricted Directory ("Path… 7.5 high 2.30% 27 Mar 2025
CVE-2025-30895 WordPress WpEvently Plugin <= 4.2.9 - PHP Object Injection vulnerability 7.5 high 0.83% 27 Mar 2025
CVE-2025-1769 Product Import Export for WooCommerce <= 2.5.0 - Directory Traversal to Authenticated (Administrator+) Limited Arbitrary File Read via… 4.9 medium 0.81% 26 Mar 2025
CVE-2025-1310 Jobs for WordPress <= 2.7.11 - Authenticated (Subscriber+) Arbitrary File Read 6.5 medium 0.73% 26 Mar 2025
CVE-2025-30567 WordPress WP01 plugin <= 2.6.2 - Arbitrary File Download Vulnerability 7.5 high 2.87% 25 Mar 2025
CVE-2025-27147 GLPI Inventory plugin has Improper Access Control Vulnerability 8.2 high 0.44% 25 Mar 2025
CVE-2025-2744 zhijiantianya ruoyi-vue-pro Material Upload Interface upload-news-image path traversal 5.3 medium 0.75% 25 Mar 2025
CVE-2025-2743 zhijiantianya ruoyi-vue-pro Material Upload Interface upload-temporary path traversal 5.3 medium 0.88% 25 Mar 2025
CVE-2025-2742 zhijiantianya ruoyi-vue-pro Material Upload Interface upload-permanent path traversal 5.3 medium 0.88% 25 Mar 2025
CVE-2025-27837 An issue was discovered in Artifex Ghostscript before 10.05.0 9.8 critical 0.61% 25 Mar 2025
CVE-2025-25371 NASA cFS (Core Flight System) Aquila is vulnerable to path traversal in the OSAL module, allowing the override of any arbitrary file on… 7.5 high 0.61% 25 Mar 2025
CVE-2025-2716 China Mobile P22g-CIac Samba Path path traversal 5.1 medium 0.53% 24 Mar 2025
CVE-2025-2708 zhijiantianya ruoyi-vue-pro Backend File Upload upload path traversal 5.3 medium 0.74% 24 Mar 2025