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-5029 Kingdee Cloud Galaxy Private Cloud BBC System File deleteFileAction.jhtml path traversal 5.3 medium 0.54% 21 May 2025
CVE-2025-4524 Madara – Responsive and modern WordPress theme for manga sites <= 2.2.2 - Unauthenticated Local File Inclusion 9.8 critical 10.7% 21 May 2025
CVE-2025-48017 Improper Limitation of a Pathname to a Restricted Directory 9.0 critical 0.47% 20 May 2025
CVE-2025-41229 VMware Cloud Foundation Directory Traversal Vulnerability 8.2 high 0.69% 20 May 2025
CVE-2025-3223 WorkstationST EGD Configuration Server Path Traversal Vulnerability 5.9 medium 0.23% 19 May 2025
CVE-2025-32926 WordPress Grand Restaurant WordPress theme <= 7.0 - Path Traversal to PHP Object Injection vulnerability 9.8 critical 0.59% 19 May 2025
CVE-2025-27566 appleple inc. a-blog cms: Improper Limitation of a Pathname to a Restricted Directory 5.1 medium 0.50% 19 May 2025
CVE-2025-4912 SourceCodester Student Result Management System Image File update_student.php path traversal 5.3 medium 0.93% 19 May 2025
CVE-2025-4898 SourceCodester Student Result Management System Logo File update_system.php unlink path traversal 5.3 medium 0.63% 18 May 2025
CVE-2025-4893 jammy928 CoinExchange_CryptoExchange_Java File Upload Endpoint UploadFileUtil.java uploadLocalImage path traversal 5.3 medium 0.57% 18 May 2025
CVE-2025-4868 merikbest ecommerce-spring-reactjs File Upload Endpoint admin path traversal 5.3 medium 0.48% 18 May 2025
CVE-2025-47273 setuptools has a path traversal vulnerability in PackageIndex.download that leads to Arbitrary File Write 7.7 high 1.62% 17 May 2025
CVE-2025-40629 Path Traversal vulnerability in PNETLab 8.7 high 0.84% 16 May 2025
CVE-2025-4720 SourceCodester Student Result Management System drop_student.php path traversal 5.3 medium 0.66% 15 May 2025
CVE-2025-47788 Missing Path Validation Enables Path Traversal in Controller.php 9.4 critical 0.61% 15 May 2025
CVE-2025-4564 TicketBAI Facturas para WooCommerce <= 3.18 - Unauthenticated Arbitrary File Deletion 9.8 critical 1.25% 15 May 2025
CVE-2024-13914 File Manager Advanced Shortcode <= Multiple Versions - Authenticated (Administrator+) Local JavaScript File Inclusion via Shortcode 7.2 high 0.91% 15 May 2025
CVE-2025-43566 ColdFusion | Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') (CWE-22) 6.8 medium 58.1% 13 May 2025
CVE-2025-30387 Document Intelligence Studio On-Prem Elevation of Privilege Vulnerability 9.8 critical 1.27% 13 May 2025
CVE-2025-31493 Path traversal of collection names during file system lookup 6.3 medium 0.60% 13 May 2025
CVE-2025-30207 Kirby vulnerable to path traversal in the router for PHP's built-in server 2.3 low 0.60% 13 May 2025
CVE-2025-30159 Kirby vulnerable to path traversal of snippet names in the `snippet()` helper 6.3 medium 0.73% 13 May 2025
CVE-2025-4632 KEV Samsung MagicINFO 9 Server Path Traversal Vulnerability 9.8 critical 22.3% 13 May 2025
CVE-2025-28055 upset-gal-web v7.1.0 /api/music/v1/cover.ts contains an arbitrary file read vulnerabilit 7.5 high 0.57% 13 May 2025
CVE-2024-4982 Pagure: path traversal in view_issue_raw_file() 7.6 high 0.77% 12 May 2025
CVE-2025-4545 CTCMS Content Management System File Tpl.php del path traversal 5.3 medium 0.86% 11 May 2025
CVE-2025-4530 feng_ha_ha/megagao ssm-erp/production_ssm File FileController.java handleFileDownload path traversal 5.3 medium 0.50% 11 May 2025
CVE-2025-4529 Seeyon Zhiyuan OA Web Application System ZIP File M3CoreController.class download path traversal 5.3 medium 0.58% 11 May 2025
CVE-2025-4511 vector4wang spring-boot-quick quick-img2txt Img2TxtController.java ResponseEntity path traversal 5.3 medium 0.69% 10 May 2025
CVE-2025-2158 WordPress Review Plugin: The Ultimate Solution for Building a Review Website <= 5.3.5 - Authenticated (Contributor+) Local File Inclusion via Post… 8.8 high 0.90% 10 May 2025
CVE-2025-3897 EUCookieLaw <= 2.7.2 - Unauthenticated Arbitrary File Read 5.9 medium 0.79% 9 May 2025
CVE-2025-4206 WordPress CRM, Email & Marketing Automation for WordPress | Award Winner — Groundhogg <= 4.1.1.2 - Authenticated (Administrator+) Arbitrary File… 7.2 high 1.67% 9 May 2025
CVE-2025-4377 Path traversal vulnerability in Sparx Pro Cloud Server WebEA webconfig in logview.php 8.3 high 0.79% 9 May 2025
CVE-2024-6648 Path Traversal in AP Page Builder 8.7 high 2.07% 8 May 2025
CVE-2025-44021 OpenStack Ironic: Improper Limitation of a Pathname to a Restricted Directory 2.8 low 0.19% 8 May 2025
CVE-2025-32820 SonicWall SMA100: Improper Limitation of a Pathname to a Restricted Directory 8.3 high 2.99% 7 May 2025
CVE-2025-20187 Cisco SD-WAN Manager Software Arbitrary File Creation Vulnerability 6.5 medium 1.34% 7 May 2025
CVE-2025-22479 Dell Storage Center - Dell Storage Manager: Improper Limitation of a Pathname to a Restricted Directory 3.5 low 0.28% 6 May 2025
CVE-2025-4329 74CMS index path traversal 5.3 medium 0.76% 6 May 2025
CVE-2025-46559 Misskey Directory Traversal Vulnerability in AiScript via `Mk:api` 5.4 medium 0.47% 5 May 2025
CVE-2024-11615 Envolve Plugin <= 1.0 - Unauthenticated Language File Deletion 5.3 medium 0.43% 5 May 2025
CVE-2025-45239 An issue in the restores method (DataBackup.php) of foxcms v2.0.6 allows attackers to execute a directory traversal 5.3 medium 0.74% 5 May 2025
CVE-2025-45238 foxcms v1.2.5 was discovered to contain an arbitrary file deletion vulnerability via the delRestoreSerie method 9.1 critical 0.70% 5 May 2025
CVE-2024-55913 IBM Concert Software path traversal 5.3 medium 0.53% 2 May 2025
CVE-2025-4186 Wangshen SecGate 3600 g=route_ispinfo_export_save path traversal 5.3 medium 0.48% 2 May 2025
CVE-2025-4185 Wangshen SecGate 3600 g=obj_area_export_save path traversal 5.3 medium 13.2% 1 May 2025
CVE-2025-4178 xiaowei1118 java_server File Upload API FoodController.java path traversal 5.3 medium 0.71% 1 May 2025
CVE-2025-4175 AlanBinu007 Spring-Boot-Advanced-Projects Upload Profile API Endpoint UserProfileController.java uploadUserProfileImage path traversal 5.3 medium 0.59% 1 May 2025
CVE-2025-46565 Vite's server.fs.deny bypassed with /. for files under project root 6.0 medium 1.27% 1 May 2025
CVE-2025-27409 Joplin Server Vulnerable to Path Traversal 7.5 high 0.67% 30 Apr 2025