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-2707 zhijiantianya ruoyi-vue-pro Front-End Store upload path traversal 5.3 medium 0.73% 24 Mar 2025
CVE-2025-2749 KEV Kentico Xperience <= 13.0.178 Staging Media File Upload Authenticated RCE 7.2 high 4.16% 24 Mar 2025
CVE-2025-1973 Export and Import Users and Customers <= 2.6.2 - Directory Traversal to Authenticated (Administrator+) Limited Arbitrary File Read via… 4.9 medium 0.75% 22 Mar 2025
CVE-2024-13920 Order Export & Order Import for WooCommerce <= 2.6.0 - Directory Traversal to Authenticated (Administrator+) Limited Arbitrary File Read via… 4.9 medium 0.76% 20 Mar 2025
CVE-2024-12866 Local File Inclusion in netease-youdao/qanything 7.5 high 1.52% 20 Mar 2025
CVE-2024-8769 Arbitrary File Deletion via Relative Path Traversal in aimhubio/aim 9.1 critical 0.92% 20 Mar 2025
CVE-2024-10830 Path Traversal in eosphoros-ai/db-gpt 8.2 high 0.73% 20 Mar 2025
CVE-2024-8524 Directory Traversal in modelscope/agentscope 7.5 high 1.19% 20 Mar 2025
CVE-2024-5752 Path Traversal in stitionai/devika 9.1 critical 1.57% 20 Mar 2025
CVE-2024-12217 Path Traversal in gradio-app/gradio 5.3 medium 0.77% 20 Mar 2025
CVE-2024-10948 Arbitrary File Read via Upload Function in binary-husky/gpt_academic 6.5 medium 0.86% 20 Mar 2025
CVE-2024-7776 Arbitrary File Overwrite in onnx/onnx 8.1 high 1.53% 20 Mar 2025
CVE-2024-8898 Path Traversal in parisneo/lollms-webui 6.7 medium 0.81% 20 Mar 2025
CVE-2024-10707 Local File Inclusion in gaizhenbiao/chuanhuchatgpt 6.5 medium 0.74% 20 Mar 2025
CVE-2024-6851 Arbitrary File Deletion in aimhubio/aim 7.5 high 1.07% 20 Mar 2025
CVE-2024-8438 Path Traversal in modelscope/agentscope 7.5 high 0.77% 20 Mar 2025
CVE-2024-12065 Local File Inclusion in haotian-liu/llava 7.5 high 0.94% 20 Mar 2025
CVE-2024-9362 Directory Traversal in polyaxon/polyaxon 7.5 high 4.40% 20 Mar 2025
CVE-2024-9597 Path Traversal in parisneo/lollms 7.1 high 0.32% 20 Mar 2025
CVE-2024-8581 Path Traversal in parisneo/lollms-webui 9.1 critical 0.97% 20 Mar 2025
CVE-2024-10902 Arbitrary File Upload with Path Traversal in eosphoros-ai/db-gpt 9.1 critical 1.30% 20 Mar 2025
CVE-2024-10361 Arbitrary File Deletion via Path Traversal in danny-avila/librechat 8.1 high 1.02% 20 Mar 2025
CVE-2024-9415 Path Traversal in transformeroptimus/superagi 8.8 high 1.49% 20 Mar 2025
CVE-2024-11037 Path Traversal in binary-husky/gpt_academic 6.5 medium 1.07% 20 Mar 2025
CVE-2025-2505 Age Gate <= 3.5.3 - Unauthenticated Local PHP File Inclusion via 'lang' 9.8 critical 4.88% 20 Mar 2025
CVE-2025-1770 Event Manager, Events Calendar, Tickets, Registrations – Eventin <= 4.0.24 - Authenticated (Contributor+) Local File Inclusion 8.8 high 0.87% 20 Mar 2025
CVE-2025-27782 Applio allows arbitrary file write in inference.py 7.7 high 1.42% 19 Mar 2025
CVE-2025-27783 Applio allows arbitrary file write in train.py 7.7 high 1.09% 19 Mar 2025
CVE-2025-27787 Applio allows a DoS in restart.py 7.8 high 0.81% 19 Mar 2025
CVE-2025-27786 Applio allows arbitrary file removal in core.py 7.8 high 0.56% 19 Mar 2025
CVE-2025-27785 Applio allows arbitrary file read in train.py export_index function 7.7 high 0.56% 19 Mar 2025
CVE-2024-7631 Openshift-console: openshift console: path traversal 4.3 medium 0.53% 19 Mar 2025
CVE-2025-2449 NI FlexLogger usiReg URI File Parsing Directory Traversal Remote Code Execution Vulnerability 7.8 high 33.7% 18 Mar 2025
CVE-2025-2493 Path Traversal vulnerability in Softdial Contact Center 8.7 high 0.54% 18 Mar 2025
CVE-2025-0694 CODESYS Control V3 removable media path traversal 6.6 medium 0.28% 18 Mar 2025
CVE-2024-57170 SOPlanning 1.53.00 is vulnerable to a directory traversal issue in /process/upload.php 6.5 medium 0.84% 18 Mar 2025
CVE-2024-8510 N-central Path Traversal 5.3 medium 0.40% 17 Mar 2025
CVE-2025-29787 zip Vulnerable to Incorrect Path Canonicalization During Archive Extraction, Leading to Arbitrary File Write 7.3 high 0.67% 17 Mar 2025
CVE-2025-2363 lenve VBlog ArticleController.java uploadImg path traversal 5.3 medium 0.66% 17 Mar 2025
CVE-2025-25685 An issue was discovered in GL-INet Beryl AX GL-MT3000 v4.7.0 7.5 high 0.63% 17 Mar 2025
CVE-2025-25684 A lack of validation in the path parameter (/download) of GL-INet Beryl AX GL-MT3000 v4.7.0 allows attackers to download arbitrary files… 7.5 high 0.51% 17 Mar 2025
CVE-2024-30143 A path traversal vulnerability in HCL AppScan Traffic Recorder 4.3 medium 0.40% 13 Mar 2025
CVE-2025-2264 Santesoft Sante PACS Server Path Traversal Information Disclosure 7.5 high 35.3% 13 Mar 2025
CVE-2025-1785 Download Manager <= 3.3.08 - Authenticated (Author+) Path Traversal to Limited File Overwrite 5.4 medium 0.67% 13 Mar 2025
CVE-2025-2215 Doufox s=doudou path traversal 5.1 medium 0.58% 11 Mar 2025
CVE-2025-27101 Broken Access Control in Opal filesystem's copy functionality exposes all user data 7.3 high 0.72% 11 Mar 2025
CVE-2024-55597 Fortinet FortiWeb: Improper Limitation of a Pathname to a Restricted Directory 5.2 medium 0.58% 11 Mar 2025
CVE-2025-2193 MRCMS org.marker.mushroom.controller.FileController delete.do delete path traversal 5.3 medium 0.81% 11 Mar 2025
CVE-2025-27397 Siemens SCALANCE LPE9403: Improper Limitation of a Pathname to a Restricted Directory 5.1 medium 0.41% 11 Mar 2025
CVE-2025-27395 Siemens SCALANCE LPE9403: Improper Limitation of a Pathname to a Restricted Directory 8.6 high 0.66% 11 Mar 2025