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-6453 diyhi bbs API ForumManageAction.java add path traversal 5.3 medium 0.47% 22 Jun 2025
CVE-2025-6218 KEV RARLAB WinRAR Directory Traversal Remote Code Execution Vulnerability 7.8 high 98.7% 21 Jun 2025
CVE-2025-34023 Karel IP Phone IP1211 Path Traversal 8.5 high 3.51% 20 Jun 2025
CVE-2025-34022 Selea Targa IP OCR-ANPR Camera Path Traversal 9.3 critical 2.26% 20 Jun 2025
CVE-2025-45890 Directory Traversal vulnerability in novel plus before v.5.1.0 allows a remote attacker to execute arbitrary code via the filePath parameter 9.8 critical 1.65% 20 Jun 2025
CVE-2025-6283 xataio Xata Agent route.ts GET path traversal 5.1 medium 0.69% 19 Jun 2025
CVE-2025-6282 xlang-ai OpenAgents file.py create_upload_file path traversal 5.1 medium 0.66% 19 Jun 2025
CVE-2025-6281 OpenBMB XAgent community path traversal 5.1 medium 0.50% 19 Jun 2025
CVE-2025-6280 TransformerOptimus SuperAGI EmailToolKit read_email.py download_attachment path traversal 5.1 medium 0.66% 19 Jun 2025
CVE-2025-6278 Upsonic server.py os.path.join path traversal 5.1 medium 0.75% 19 Jun 2025
CVE-2025-4661 Path transversal vulnerability potentially leading to sensitive information disclosure 4.8 medium 0.21% 19 Jun 2025
CVE-2025-50202 Lychee Path Traversal Vulnerability 7.5 high 0.65% 18 Jun 2025
CVE-2025-49879 WordPress Litho theme <= 3.0 - Arbitrary File Deletion Vulnerability 8.6 high 0.49% 17 Jun 2025
CVE-2025-49415 WordPress FW Gallery plugin <= 8.0.0 - Arbitrary File Deletion Vulnerability 8.6 high 0.50% 17 Jun 2025
CVE-2025-34508 ZendTo < 6.15-8 Path Traversal 5.3 medium 78.0% 17 Jun 2025
CVE-2025-6020 Linux-pam: linux-pam directory traversal 7.8 high 0.49% 17 Jun 2025
CVE-2025-6167 themanojdesai python-a2a api.py create_workflow path traversal 5.1 medium 0.81% 17 Jun 2025
CVE-2025-6166 frdel Agent-Zero image_get.py image_get path traversal 5.1 medium 0.58% 17 Jun 2025
CVE-2025-6152 Steel Browser files.routes.ts handleFileUpload path traversal 5.3 medium 0.64% 17 Jun 2025
CVE-2025-32799 Conda-build Vulnerable to Path Traversal via Malicious Tar File 5.6 medium 1.41% 16 Jun 2025
CVE-2025-3594 Liferay Portal: Improper Limitation of a Pathname to a Restricted Directory 8.6 high 0.71% 16 Jun 2025
CVE-2025-4748 Absolute path traversal in zip:unzip/1,2 4.8 medium 0.36% 16 Jun 2025
CVE-2025-6109 javahongxi whatsmars InitializrController.java initialize path traversal 5.3 medium 0.58% 16 Jun 2025
CVE-2025-6108 hansonwang99 Spring-Boot-In-Action File Upload ImageUploadService.java watermarkTest path traversal 5.3 medium 0.54% 16 Jun 2025
CVE-2025-5964 Path traversal in M-Files API 8.4 high 14.5% 15 Jun 2025
CVE-2025-6070 Restrict File Access <= 1.1.2 - Authenticated (Subscriber+) Arbitrary File Read 6.5 medium 0.66% 14 Jun 2025
CVE-2025-4187 UserPro - Community and User Profile WordPress Plugin <= 5.1.10 - Unauthenticated Arbitrary File Read 5.9 medium 0.64% 14 Jun 2025
CVE-2025-6065 Image Resizer On The Fly <= 1.1 - Unauthenticated Arbitrary File Deletion 9.1 critical 1.03% 14 Jun 2025
CVE-2025-46783 RICOH Streamline NX V3 PC Client: Improper Limitation of a Pathname to a Restricted Directory 9.3 critical 0.92% 13 Jun 2025
CVE-2024-38824 CVE-2024-38824 salt advisory 9.6 critical 1.06% 13 Jun 2025
CVE-2025-22241 CVE-2025-22241 salt advisory 5.6 medium 0.19% 13 Jun 2025
CVE-2025-22240 CVE-2025-22240 salt advisory 6.3 medium 0.17% 13 Jun 2025
CVE-2025-22238 CVE-2025-22238 salt advisory 4.2 medium 0.30% 13 Jun 2025
CVE-2025-46096 Directory Traversal vulnerability in solon v.3.1.2 allows a remote attacker to conduct XSS attacks via the solon-faas-luffy component 6.1 medium 0.52% 13 Jun 2025
CVE-2025-28384 An issue in the /script-api/scripts/ endpoint of OpenC3 COSMOS before 6.1.0 allows attackers to execute a directory traversal 9.1 critical 0.91% 13 Jun 2025
CVE-2025-28382 An issue in the openc3-api/tables endpoint of OpenC3 COSMOS before 6.1.0 allows attackers to execute a directory traversal 7.5 high 0.91% 13 Jun 2025
CVE-2025-40592 Siemens Mendix Studio Pro 10: Improper Limitation of a Pathname to a Restricted Directory 4.6 medium 0.43% 12 Jun 2025
CVE-2025-47176 Microsoft Outlook Remote Code Execution Vulnerability 7.8 high 0.78% 10 Jun 2025
CVE-2025-37100 Exposure of Sensitive Information to an Unauthorized User in HPE Aruba Networking Private 5G Core 7.7 high 0.49% 10 Jun 2025
CVE-2025-5741 Schneider Electric EVLink WallBox: Improper Limitation of a Pathname to a Restricted Directory 6.9 medium 0.65% 10 Jun 2025
CVE-2025-5740 Schneider Electric EVLink WallBox: Improper Limitation of a Pathname to a Restricted Directory 8.6 high 0.79% 10 Jun 2025
CVE-2025-42977 Directory Traversal vulnerability in SAP NetWeaver Visual Composer 7.6 high 0.59% 10 Jun 2025
CVE-2024-57189 In Erxes <1.6.2, an authenticated attacker can write to arbitrary files on the system using a Path Traversal vulnerability in the… 5.4 medium 0.40% 10 Jun 2025
CVE-2024-57186 In Erxes <1.6.2, an unauthenticated attacker can read arbitrary files from the system using a Path Traversal vulnerability in the… 5.4 medium 0.44% 10 Jun 2025
CVE-2025-49138 HAX CMS vulnerable to Local File Inclusion via saveOutline API Location Parameter 6.5 medium 0.55% 9 Jun 2025
CVE-2025-31050 WordPress Apptha Slider Gallery plugin <= 2.5 - Arbitrary File Read vulnerability 7.5 high 0.56% 9 Jun 2025
CVE-2025-31635 WordPress CLEVER plugin <= 2.6 - Arbitrary File Download Vulnerability 7.5 high 0.56% 9 Jun 2025
CVE-2025-39473 WordPress Seofy Core plugin <= 1.6.8 - Local File Inclusion Vulnerability 8.1 high 0.68% 9 Jun 2025
CVE-2025-47511 WordPress Welcart e-Commerce plugin <= 2.11.13 - Arbitrary File Deletion Vulnerability 6.8 medium 0.56% 9 Jun 2025
CVE-2025-48124 WordPress Spreadsheet Price Changer for WooCommerce and WP E-commerce – Light plugin <= 2.4.37 - Arbitrary File Download Vulnerability 7.5 high 0.56% 9 Jun 2025