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-54802 pyLoad CNL Blueprint is vulnerable to Path Traversal through `dlc_path` leading to Remote Code Execution (RCE) 9.8 critical 1.39% 5 Aug 2025
CVE-2025-8522 givanz Vvvebjs node.js save.php path traversal 2.3 low 0.40% 4 Aug 2025
CVE-2025-8516 Kingdee Cloud-Starry-Sky Enterprise Edition IIS-K3CloudMiniApp FileUploadAction.class path traversal 6.9 medium 0.92% 4 Aug 2025
CVE-2025-7694 Woffice Core <= 5.4.26 - Authenticated (Contributor+) Arbitrary File Deletion 6.8 medium 1.05% 2 Aug 2025
CVE-2025-54386 Traefik's Client Plugin is Vulnerable to Path Traversal, Arbitrary File Overwrites and Remote Code Execution 7.3 high 1.35% 1 Aug 2025
CVE-2013-10063 Netgear SPH200D <= 1.0.4.80 Path Traversal via HTTP GET 6.9 medium 6.01% 1 Aug 2025
CVE-2013-10062 Linksys Routers apply.cgi Path Traversal 6.9 medium 7.82% 1 Aug 2025
CVE-2013-10046 Agnitum Outpost Internet Security Local Privilege Escalation 8.5 high 2.15% 1 Aug 2025
CVE-2025-8480 Alpine iLX-507 Command Injection Remote Code Execution 8.0 high 0.60% 1 Aug 2025
CVE-2025-8433 code-projects Document Management System dell.php unlink path traversal 5.3 medium 0.59% 1 Aug 2025
CVE-2025-8426 Marvell QConvergeConsole compressConfigFiles Directory Traversal Information Disclosure and Denial-of-Service Vulnerability 9.4 critical 1.32% 31 Jul 2025
CVE-2014-125125 A10 Networks AX Loadbalancer Path Traversal 8.8 high 6.05% 31 Jul 2025
CVE-2025-8151 HT Mega – Absolute Addons For Elementor <= 2.9.1 - Authenticated (Author+) Path Traversal to Limited Arbitrary CSS File Actions 4.3 medium 0.46% 31 Jul 2025
CVE-2025-41396 Alfasado Inc. PowerCMS: Improper Limitation of a Pathname to a Restricted Directory 5.3 medium 0.43% 31 Jul 2025
CVE-2025-46359 Alfasado Inc. PowerCMS: Improper Limitation of a Pathname to a Restricted Directory 8.6 high 0.68% 31 Jul 2025
CVE-2025-8343 openviglet shio ShStaticFileAPI.java shStaticFilePreUpload path traversal 5.3 medium 1.00% 31 Jul 2025
CVE-2025-54433 Bugsink is vulnerable to Path Traversal attacks via event_id in ingestion 7.2 high 0.66% 30 Jul 2025
CVE-2025-43191 Apple macOS: Improper Limitation of a Pathname to a Restricted Directory 6.2 medium 0.26% 29 Jul 2025
CVE-2025-43206 Apple macOS: Improper Limitation of a Pathname to a Restricted Directory 4.0 medium 0.25% 29 Jul 2025
CVE-2025-43196 Apple macOS: Improper Limitation of a Pathname to a Restricted Directory 7.8 high 0.27% 29 Jul 2025
CVE-2025-43250 Apple macOS: Improper Limitation of a Pathname to a Restricted Directory 4.0 medium 0.25% 29 Jul 2025
CVE-2025-53081 Samsung Electronics Data Management Server: Improper Limitation of a Pathname to a Restricted Directory 6.4 medium 0.43% 29 Jul 2025
CVE-2025-53080 Samsung Electronics Data Management Server: Improper Limitation of a Pathname to a Restricted Directory 7.1 high 0.38% 29 Jul 2025
CVE-2025-44137 MapTiler Tileserver-php v2.0 is vulnerable to Directory Traversal 8.2 high 1.34% 29 Jul 2025
CVE-2025-6989 Kallyas <= 4.21.0 - Authenticated (Contributor+) Arbitrary Folder Deletion 8.1 high 0.51% 26 Jul 2025
CVE-2025-52452 Salesforce Tableau Server: Improper Limitation of a Pathname to a Restricted Directory 8.5 high 0.50% 25 Jul 2025
CVE-2025-8132 yanyutao0402 ChanCMS utils.js delfile path traversal 5.3 medium 0.68% 25 Jul 2025
CVE-2025-7640 hiWeb Export Posts <= 0.9.0.0 - Cross-Site Request Forgery to Arbitrary File Deletion 8.1 high 1.06% 24 Jul 2025
CVE-2010-10012 httpdASM 0.92 Path Traversal 8.7 high 8.44% 23 Jul 2025
CVE-2018-25113 Dicoogle PACS Web Server 2.5.0 Unauthenticated Path Traversal 8.7 high 7.68% 23 Jul 2025
CVE-2025-54438 Samsung Electronics MagicINFO 9 Server: Improper Limitation of a Pathname to a Restricted Directory 9.8 critical 0.74% 23 Jul 2025
CVE-2025-54443 Samsung Electronics MagicINFO 9 Server: Improper Limitation of a Pathname to a Restricted Directory 9.8 critical 0.69% 23 Jul 2025
CVE-2025-54446 Samsung Electronics MagicINFO 9 Server: Improper Limitation of a Pathname to a Restricted Directory 9.8 critical 0.74% 23 Jul 2025
CVE-2025-54453 Samsung Electronics MagicINFO 9 Server: Improper Limitation of a Pathname to a Restricted Directory 8.8 high 34.9% 23 Jul 2025
CVE-2025-54450 Samsung Electronics MagicINFO 9 Server: Improper Limitation of a Pathname to a Restricted Directory 7.2 high 0.71% 23 Jul 2025
CVE-2025-8021 n/a files-bucket-server: Improper Limitation of a Pathname to a Restricted Directory 8.7 high 0.76% 23 Jul 2025
CVE-2025-54141 ViewVC's standalone server exposes arbitrary server filesystem content 7.5 high 0.85% 22 Jul 2025
CVE-2025-54140 pyLoad has Path Traversal Vulnerability in json/upload Endpoint that allows Arbitrary File Write 7.5 high 0.75% 22 Jul 2025
CVE-2025-7645 Extensions For CF7 (Contact form 7 Database, Conditional Fields and Redirection) <= 3.2.8 - Unauthenticated Arbitrary File Deletion Triggered via… 8.1 high 0.91% 22 Jul 2025
CVE-2025-51481 Local File Inclusion in dagster._grpc.impl.get_notebook_data in Dagster 1.10.14 allows attackers with access to the gRPC server to read… 6.6 medium 0.62% 22 Jul 2025
CVE-2025-51480 Path Traversal vulnerability in onnx.external_data_helper.save_external_data in ONNX 1.17.0 allows attackers to overwrite arbitrary… 8.8 high 0.68% 22 Jul 2025
CVE-2025-51475 Arbitrary File Overwrite (AFO) in superagi.controllers.resources.upload in TransformerOptimus SuperAGI 0.0.14 allows remote attackers to… 5.0 medium 0.82% 22 Jul 2025
CVE-2025-51463 Path Traversal in restore_run_backup() in AIM 3.28.0 allows remote attackers to write arbitrary files to the server's filesystem via a… 7.0 high 0.53% 22 Jul 2025
CVE-2025-49656 Apache Jena: Administrative users can create files outside the server directory space via the admin UI 7.5 high 1.56% 21 Jul 2025
CVE-2025-46120 An issue was discovered in CommScope Ruckus Unleashed prior to 200.15.6.212.27 and 200.18.7.1.323, and in Ruckus ZoneDirector prior to… 9.8 critical 1.05% 21 Jul 2025
CVE-2025-7896 harry0703 MoneyPrinterTurbo video.py delete_video path traversal 5.3 medium 0.55% 20 Jul 2025
CVE-2015-10136 GI-Media Library < 3.0 - Directory Traversal 7.5 high 3.02% 19 Jul 2025
CVE-2015-10134 Simple Backup <= 2.7.10 - Arbitrary File Download via Path Traversal 7.5 high 1.88% 19 Jul 2025
CVE-2025-27210 nodejs node: Improper Limitation of a Pathname to a Restricted Directory 7.5 high 14.3% 18 Jul 2025
CVE-2025-6233 Arbitrary file read by system admin via path traversal 6.8 medium 0.45% 18 Jul 2025