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-2023-42232 Pat Infinite Solutions HelpdeskAdvanced <= 11.0.33 is vulnerable to Directory Traversal via the Navigator/Index function 7.5 high 0.99% 13 Jan 2025
CVE-2023-42229 Pat Infinite Solutions HelpdeskAdvanced <= 11.0.33 is vulnerable to Directory Traversal 6.5 medium 0.71% 13 Jan 2025
CVE-2023-42227 Pat Infinite Solutions HelpdeskAdvanced <= 11.0.33 is vulnerable to Directory Traversal via the WSCView/Save function 7.5 high 0.77% 13 Jan 2025
CVE-2023-42226 Pat Infinite Solutions HelpdeskAdvanced <= 11.0.33 is vulnerable to Directory Traversal via Email/SaveAttachment function 7.5 high 0.77% 13 Jan 2025
CVE-2023-42225 Pat Infinite Solutions HelpdeskAdvanced <= 11.0.33 is vulnerable to Directory Traversal via the Attachment/DownloadTempFile function 7.5 high 0.77% 13 Jan 2025
CVE-2025-0401 1902756969 reggie CommonController.java download path traversal 6.9 medium 1.30% 12 Jan 2025
CVE-2025-22152 Improper Path Validation Enables Path Traversal in Multiple Components in Atheos 9.4 critical 0.65% 10 Jan 2025
CVE-2024-11642 Post Grid Master <= 3.4.12 - Missing Authorization to Unauthenticated Local PHP File Inclusion 9.8 critical 1.09% 9 Jan 2025
CVE-2024-37372 NodeJS Node: Improper Limitation of a Pathname to a Restricted Directory 3.6 low 0.49% 9 Jan 2025
CVE-2025-22130 Soft Serve allows path traversal attacks 5.3 medium 0.70% 8 Jan 2025
CVE-2024-9939 WordPress File Upload <= 4.24.13 - Unauthenticated Path Traversal to Arbitrary File Read in wfu_file_downloader.php 7.5 high 1.03% 8 Jan 2025
CVE-2024-10585 InfiniteWP Client <= 1.13.0 - Unauthenticated Limited Directory Traversal to Arbitrary .txt File Reading 5.3 medium 0.67% 8 Jan 2025
CVE-2023-52953 Huawei HarmonyOS: Improper Limitation of a Pathname to a Restricted Directory 6.2 medium 0.28% 8 Jan 2025
CVE-2024-12429 ABB AC500 V3: Improper Limitation of a Pathname to a Restricted Directory 5.1 medium 0.35% 7 Jan 2025
CVE-2025-21623 ClipBucket V5 Unauthenticated Template Directory Update to Denial-of-Service 7.5 high 1.18% 7 Jan 2025
CVE-2025-21622 ClipBucket V5 Avatar URL Path Traversal to Arbitrary File Delete 7.5 high 1.00% 7 Jan 2025
CVE-2024-12425 Path traversal leading to arbitrary .ttf file write 2.4 low 0.32% 7 Jan 2025
CVE-2024-56286 WordPress Classic Addons – WPBakery Page Builder plugin <= 3.0 - Local File Inclusion vulnerability 7.5 high 0.60% 7 Jan 2025
CVE-2024-12152 MIPL WC Multisite Sync <= 1.1.5 - Unauthenticated Arbitrary File Download 7.5 high 1.07% 7 Jan 2025
CVE-2024-12849 Error Log Viewer By WP Guru <= 1.0.1.3 - Missing Authorization to Unauthenticated Arbitrary File Read 7.5 high 48.0% 7 Jan 2025
CVE-2024-41765 IBM Engineering Lifecycle Optimization - Publishing directory traversal 6.5 medium 0.61% 4 Jan 2025
CVE-2024-56514 Karmada Tar Slips in CRDs archive extraction 5.3 medium 0.75% 3 Jan 2025
CVE-2024-56248 WordPress WPMasterToolKit plugin <= 1.13.1 - Arbitrary File Download vulnerability 4.9 medium 0.55% 2 Jan 2025
CVE-2024-56198 path-sanitizer allows bypassing the existing filters to achieve path-traversal vulnerability 9.3 critical 0.74% 31 Dec 2024
CVE-2024-12105 WhatsUp Gold - SnmpExtendedActiveMonitor path traversal 6.5 medium 43.0% 31 Dec 2024
CVE-2024-11944 iXsystems TrueNAS CORE tarfile.extractall Directory Traversal Remote Code Execution Vulnerability 7.5 high 1.59% 30 Dec 2024
CVE-2024-56509 changedetection.io has Improper Input Validation Leading to LFR/Path Traversal 8.6 high 0.86% 27 Dec 2024
CVE-2024-54453 An issue was discovered in Kurmi Provisioning Suite before 7.9.0.35, 7.10.x through 7.10.0.18, and 7.11.x through 7.11.0.15 7.5 high 0.65% 27 Dec 2024
CVE-2024-54452 An issue was discovered in Kurmi Provisioning Suite before 7.9.0.35 and 7.10.x through 7.10.0.18 4.9 medium 0.85% 27 Dec 2024
CVE-2024-12850 Database Backup and check Tables Automated With Scheduler 2024 <= 2.32 - Authenticated (Admin+) Arbitrary File Read 4.9 medium 0.85% 24 Dec 2024
CVE-2024-41887 Arbitrary File Overwrite 5.1 medium 1.16% 24 Dec 2024
CVE-2024-53961 ColdFusion | Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') (CWE-22) 8.1 high 14.2% 23 Dec 2024
CVE-2024-55947 Gogs has a Path Traversal in file update API 8.7 high 77.6% 23 Dec 2024
CVE-2024-54148 Gogs has a Path Traversal in file editing UI 8.7 high 0.85% 23 Dec 2024
CVE-2024-56331 Local File Inclusion (LFI) via Improper URL Handling in uptime-kuma's `Real-Browser` monitor 6.8 medium 2.00% 20 Dec 2024
CVE-2024-44195 Apple macOS: Improper Limitation of a Pathname to a Restricted Directory 7.5 high 0.69% 20 Dec 2024
CVE-2024-12830 Arista NG Firewall custom_handler Directory Traversal Remote Code Execution Vulnerability 8.1 high 1.02% 20 Dec 2024
CVE-2024-12793 PbootCMS IndexController.php path traversal 5.3 medium 0.50% 19 Dec 2024
CVE-2024-38819 N/A Spring Framework: Improper Limitation of a Pathname to a Restricted Directory 7.5 high 56.4% 19 Dec 2024
CVE-2024-21547 n/a spatie/browsershot: Improper Limitation of a Pathname to a Restricted Directory 8.7 high 0.94% 18 Dec 2024
CVE-2024-56142 Path Traversal in pghoard 4.8 medium 0.41% 17 Dec 2024
CVE-2024-55516 A vulnerability was found in Raisecom MSG1200, MSG2100E, MSG2200, and MSG2300 v3.90 9.1 critical 0.52% 17 Dec 2024
CVE-2024-55515 A vulnerability was found in Raisecom MSG1200, MSG2100E, MSG2200, and MSG2300 3.90 9.8 critical 0.60% 17 Dec 2024
CVE-2024-55513 A vulnerability was found in Raisecom MSG1200, MSG2100E, MSG2200, and MSG2300 3.90 9.1 critical 0.52% 17 Dec 2024
CVE-2024-54374 WordPress Sogrid plugin <= 1.5.6 - Local File Inclusion vulnerability 7.5 high 1.38% 16 Dec 2024
CVE-2024-54375 WordPress Woolook plugin <= 1.7.0 - Local File Inclusion vulnerability 7.5 high 0.75% 16 Dec 2024
CVE-2024-54380 WordPress WP Cookies Enabler plugin <= 1.0.1 - Local File Inclusion vulnerability 7.5 high 0.75% 16 Dec 2024
CVE-2024-54382 WordPress Bold Page Builder plugin <= 5.1.5 - Path Traversal vulnerability 4.9 medium 2.24% 16 Dec 2024
CVE-2024-54373 WordPress EduAdmin Booking plugin <= 5.2.0 - Local File Inclusion vulnerability 7.5 high 0.77% 16 Dec 2024
CVE-2024-12362 InvoicePlane invoices.php download path traversal 5.3 medium 0.56% 16 Dec 2024