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.

6,989 published CVE records name this weakness. Abstraction: Base. Status: Stable. CWE-22 at MITRE

CVETitleCVSSEPSSPublished
CVE-2021-28584 Magento Commerce path traversal vulnerability in child theme store creation 5.4 medium 1.78% 28 Jun 2021
CVE-2021-21102 Adobe Illustrator DOCX file parsing directory traversal vulnerability could lead to remote code execution 8.8 high 3.88% 28 Jun 2021
CVE-2021-21090 Adobe InCopy DOCX file parsing directory traversal vulnerability could lead to remote code execution 8.8 high 5.37% 28 Jun 2021
CVE-2021-29087 Synology DiskStation Manager (DSM): Improper Limitation of a Pathname to a Restricted Directory 7.5 high 1.40% 23 Jun 2021
CVE-2021-32682 Multiple vulnerabilities leading to RCE 9.8 critical 68.4% 14 Jun 2021
CVE-2021-32674 Remote Code Execution via traversal in TAL expressions 8.8 high 1.59% 8 Jun 2021
CVE-2021-32662 TechDocs mkdocs.yml path traversal 6.5 medium 1.28% 3 Jun 2021
CVE-2021-29091 Synology Photo Station: Improper Limitation of a Pathname to a Restricted Directory 7.7 high 1.14% 2 Jun 2021
CVE-2021-33182 Synology DiskStation Manager (DSM): Improper Limitation of a Pathname to a Restricted Directory 5.0 medium 1.11% 1 Jun 2021
CVE-2021-33183 Synology Docker: Improper Limitation of a Pathname to a Restricted Directory 7.9 high 0.29% 1 Jun 2021
CVE-2021-29088 Synology DiskStation Manager (DSM): Improper Limitation of a Pathname to a Restricted Directory 7.8 high 0.32% 1 Jun 2021
CVE-2021-29492 Bypass of path matching rules using escaped slash characters 8.1 high 63.0% 28 May 2021
CVE-2021-32643 StaticFile.fromUrl can leak presence of a directory 5.8 medium 1.39% 27 May 2021
CVE-2009-3721 n/a ytnef: Improper Limitation of a Pathname to a Restricted Directory – 1.61% 26 May 2021
CVE-2021-22736 n/a homeLYnk (Wiser For KNX) and spaceLYnk V2.60 and prior: Improper Limitation of a Pathname to a Restricted Directory – 1.13% 26 May 2021
CVE-2021-21001 WAGO: PFC200 Access to files outside the home directory 9.1 critical 1.13% 24 May 2021
CVE-2021-32633 Remote Code Execution via traversal in TAL expressions 6.8 medium 1.86% 21 May 2021
CVE-2021-27461 n/a Emerson Rosemount X-STREAM Gas Analyzer: Improper Limitation of a Pathname to a Restricted Directory – 1.40% 20 May 2021
CVE-2021-1532 Cisco TelePresence Collaboration Endpoint and RoomOS Software Arbitrary File Read Vulnerability 6.5 medium 1.48% 6 May 2021
CVE-2021-31421 Parallels Desktop: Improper Limitation of a Pathname to a Restricted Directory 3.2 low 0.42% 29 Apr 2021
CVE-2021-20090 KEV Arcadyan Buffalo Firmware Path Traversal Vulnerability 9.8 critical 99.9% 29 Apr 2021
CVE-2021-29474 Relative Path Traversal Attack on note creation 4.7 medium 1.60% 26 Apr 2021
CVE-2020-36321 Directory traversal in development mode handler in Vaadin 14 and 15-17 5.9 medium 1.21% 23 Apr 2021
CVE-2021-24242 Tutor LMS < 1.8.8 - Authenticated Local File Inclusion – 0.78% 22 Apr 2021
CVE-2020-25243 Siemens LOGO! Soft Comfort: Improper Limitation of a Pathname to a Restricted Directory 5.1 medium 0.32% 22 Apr 2021
CVE-2021-0231 Junos OS: SRX, vSRX Series: J-Web Path traversal vulnerability in SRX and vSRX Series leads to information disclosure. 6.5 medium 1.28% 22 Apr 2021
CVE-2021-27278 Parallels Desktop: Improper Limitation of a Pathname to a Restricted Directory 8.2 high 0.56% 22 Apr 2021
CVE-2021-20023 KEV SonicWall Email Security Path Traversal Vulnerability 4.9 medium 51.6% 20 Apr 2021
CVE-2021-22720 n/a C-Bus Toolkit V1.15.7 and prior: Improper Limitation of a Pathname to a Restricted Directory – 31.4% 13 Apr 2021
CVE-2021-22719 n/a C-Bus Toolkit V1.15.7 and prior: Improper Limitation of a Pathname to a Restricted Directory – 41.7% 13 Apr 2021
CVE-2021-22718 n/a C-Bus Toolkit V1.15.7 and prior: Improper Limitation of a Pathname to a Restricted Directory – 28.0% 13 Apr 2021
CVE-2021-22717 n/a C-Bus Toolkit V1.15.7 and prior: Improper Limitation of a Pathname to a Restricted Directory – 40.0% 13 Apr 2021
CVE-2021-25361 Samsung Mobile Devices: Improper Limitation of a Pathname to a Restricted Directory 7.9 high 0.17% 9 Apr 2021
CVE-2021-28172 Vangene deltaFlow E-platform - Path Traversal 7.5 high 1.87% 6 Apr 2021
CVE-2021-28209 ASUS BMC's firmware: path traversal - Delete video file function 4.9 medium 1.97% 6 Apr 2021
CVE-2021-28208 ASUS BMC's firmware: path traversal - Get video file function 4.9 medium 1.97% 6 Apr 2021
CVE-2021-28207 ASUS BMC's firmware: path traversal - Get Help file function 4.9 medium 1.97% 6 Apr 2021
CVE-2021-28206 ASUS BMC's firmware: path traversal - Record video file function 4.9 medium 1.97% 6 Apr 2021
CVE-2021-28205 ASUS BMC's firmware: path traversal - Delete SOL video file function 4.9 medium 1.97% 6 Apr 2021
CVE-2021-27276 NETGEAR ProSAFE Network Management System: Improper Limitation of a Pathname to a Restricted Directory 7.1 high 73.2% 29 Mar 2021
CVE-2021-27275 NETGEAR ProSAFE Network Management System: Improper Limitation of a Pathname to a Restricted Directory 8.3 high 74.0% 29 Mar 2021
CVE-2021-27272 NETGEAR ProSAFE Network Management System: Improper Limitation of a Pathname to a Restricted Directory 7.1 high 74.5% 29 Mar 2021
CVE-2021-25367 Samsung Notes: Improper Limitation of a Pathname to a Restricted Directory 3.7 low 0.59% 25 Mar 2021
CVE-2020-26279 Path traversal 7.7 high 1.70% 24 Mar 2021
CVE-2021-1385 Cisco IOx Application Environment Path Traversal Vulnerability 6.5 medium 2.67% 24 Mar 2021
CVE-2021-1436 Cisco IOS XE SD-WAN Software Path Traversal Vulnerability 4.4 medium 0.32% 24 Mar 2021
CVE-2021-1435 Cisco IOS XE Software Web UI Command Injection Vulnerability 6.6 medium 8.54% 24 Mar 2021
CVE-2021-21402 Unauthenticated Arbitrary File Access in Jellyfin 7.7 high 79.3% 23 Mar 2021
CVE-2021-21357 Broken Access Control in Form Framework 8.3 high 1.61% 23 Mar 2021
CVE-2021-20218 n/a fabric8-kubernetes-client: Improper Limitation of a Pathname to a Restricted Directory – 1.31% 16 Mar 2021