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,007 published CVE records name this weakness. Abstraction: Base. Status: Stable. CWE-22 at MITRE

CVETitleCVSSEPSSPublished
CVE-2020-26065 Cisco SD-WAN vManage: Improper Limitation of a Pathname to a Restricted Directory 6.5 medium 1.70% 4 Aug 2023
CVE-2023-38702 Knowage Server vulnerable to path traversal via upload functionality 10.0 critical 1.17% 4 Aug 2023
CVE-2023-38695 cypress-image-snapshot vulnerable to insecure snapshot file names 6.5 medium 0.99% 4 Aug 2023
CVE-2023-37896 Nuclei Path Traversal vulnerability 7.5 high 1.05% 4 Aug 2023
CVE-2023-38708 Pimcore Path Traversal Vulnerability in AssetController:importServerFilesAction 6.3 medium 0.64% 4 Aug 2023
CVE-2023-39143 PaperCut NG and PaperCut MF before 22.1.3 on Windows allow path traversal, enabling attackers to upload, read, or delete arbitrary files 9.8 critical 79.9% 4 Aug 2023
CVE-2023-35081 KEV Ivanti Endpoint Manager Mobile (EPMM) Path Traversal Vulnerability 7.2 high 63.5% 3 Aug 2023
CVE-2023-3348 Directory traversal vulnerability in Cloudflare Wrangler 5.7 medium 0.82% 3 Aug 2023
CVE-2023-38951 ZKTeco BioTime 8.5.5 through 9.x before 9.0.1 (20240617.19506) allows authenticated attackers to create or overwrite arbitrary files on… 9.8 critical 3.26% 3 Aug 2023
CVE-2023-38950 KEV ZKTeco BioTime Path Traversal Vulnerability 7.5 high 94.4% 3 Aug 2023
CVE-2023-3329 CVE-2023-3329 – 1.05% 2 Aug 2023
CVE-2023-3385 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in GitLab 6.3 medium 0.87% 1 Aug 2023
CVE-2023-31427 Knowledge of full path name 7.8 high 0.21% 1 Aug 2023
CVE-2023-35016 IBM Security Verify Governance path traversal 6.5 medium 1.23% 31 Jul 2023
CVE-2023-37218 Tadiran Telecom Aeonix - CWE-22: Improper Limitation of a Pathname to a Restricted Directory 7.5 high 0.69% 30 Jul 2023
CVE-2023-23842 SolarWinds Network Configuration Manager Directory Traversal Vulnerability 7.2 high 3.25% 26 Jul 2023
CVE-2023-37460 Plexus Archiver vulnerable to Arbitrary File Creation in AbstractUnArchiver 8.1 high 2.48% 25 Jul 2023
CVE-2022-46902 An issue was discovered in Vocera Report Server and Voice Server 5.x through 5.8 6.3 medium 0.63% 25 Jul 2023
CVE-2023-26045 NodeBB vulnerable to path traversal and code execution via prototype vulnerability 10.0 critical 1.03% 24 Jul 2023
CVE-2023-34478 Apache Shiro before 1.12.0, or 2.0.0-alpha-3, may be susceptible to a path traversal attack when used together with APIs or other web frameworks… 9.8 critical 2.07% 24 Jul 2023
CVE-2023-3813 Jupiter X Core <= 4.6.6 - Unauthenticated Arbitrary File Download 7.5 high 1.04% 21 Jul 2023
CVE-2023-37476 Zip slip in OpenRefine 5.5 medium 0.63% 17 Jul 2023
CVE-2023-37461 Path traversal in metersphere 5.6 medium 0.63% 17 Jul 2023
CVE-2023-37474 Path traversal in copyparty 7.5 high 64.0% 14 Jul 2023
CVE-2023-35069 Path Traversal in Bullwark 7.5 high 0.70% 13 Jul 2023
CVE-2023-34129 SonicWall GMS: Improper Limitation of a Pathname to a Restricted Directory – 41.4% 13 Jul 2023
CVE-2023-22887 Apache Airflow path traversal by authenticated user – 1.79% 12 Jul 2023
CVE-2023-25606 Fortinet FortiManager: Improper Limitation of a Pathname to a Restricted Directory 6.2 medium 0.55% 11 Jul 2023
CVE-2022-23447 Fortinet FortiExtender: Improper Limitation of a Pathname to a Restricted Directory 7.3 high 0.80% 11 Jul 2023
CVE-2023-33989 Directory Traversal vulnerability in SAP NetWeaver (BI CONT ADD ON) 8.7 high 0.97% 11 Jul 2023
CVE-2023-35887 Apache MINA SSHD: Information disclosure bugs with RootedFilesystem 5.0 medium 1.31% 10 Jul 2023
CVE-2023-36460 Mastodon vulnerable to arbitrary file creation through media attachments 10.0 critical 40.1% 6 Jul 2023
CVE-2023-23547 Milesight UR32L: Improper Limitation of a Pathname to a Restricted Directory 6.5 medium 1.26% 6 Jul 2023
CVE-2023-23907 MilesightVPN: Improper Limitation of a Pathname to a Restricted Directory 7.5 high 1.24% 6 Jul 2023
CVE-2023-36827 Fides vulnerable to Path Traversal in Webserver API 7.5 high 1.49% 5 Jul 2023
CVE-2023-36822 Uptime Kuma authenticated path traversal via plugin repository name may lead to unavailability or data loss 6.5 medium 1.21% 5 Jul 2023
CVE-2023-2880 Frauscher Sensortechnik Diagnostic System FDS001 for FAdC/FAdCi Path Traversal vulnerability 7.5 high 0.98% 5 Jul 2023
CVE-2023-1273 ND Shortcodes < 7.0 - Subscriber+ LFI – 1.68% 4 Jul 2023
CVE-2023-36819 Knowage-Server vulnerable to Path traversal in download functionalities 6.5 medium 0.79% 3 Jul 2023
CVE-2023-35946 Dependency cache path traversal in Gradle 6.9 medium 0.28% 30 Jun 2023
CVE-2023-35947 Path traversal vulnerabilities in handling of Tar archives in Gradle 6.9 medium 0.60% 30 Jun 2023
CVE-2023-3331 NEC Corporation Aterm WG2600HP2: Improper Limitation of a Pathname to a Restricted Directory – 0.55% 28 Jun 2023
CVE-2023-3330 NEC Corporation Aterm WG2600HP2: Improper Limitation of a Pathname to a Restricted Directory – 0.51% 28 Jun 2023
CVE-2023-30945 CVE-2023-30945 9.8 critical 0.73% 26 Jun 2023
CVE-2023-35169 php-imap vulnerable to RCE through a directory traversal vulnerability 9.1 critical 3.19% 23 Jun 2023
CVE-2023-35844 packages/backend/src/routers in Lightdash before 0.510.3 has insecure file endpoints, e.g., they allow 7.5 high 6.34% 19 Jun 2023
CVE-2023-35843 NocoDB through 0.106.0 (or 0.109.1) has a path traversal vulnerability that allows an unauthenticated attacker to access arbitrary files… 7.5 high 8.87% 19 Jun 2023
CVE-2023-35840 _joinPath in elFinderVolumeLocalFileSystem.class.php in elFinder before 2.1.62 allows path traversal in the PHP LocalVolumeDriver connector 6.5 medium 1.94% 19 Jun 2023
CVE-2023-34645 jfinal CMS 5.1.0 has an arbitrary file read vulnerability 7.5 high 0.80% 16 Jun 2023
CVE-2023-2270 Local privilege escalation 7.0 high 0.27% 15 Jun 2023