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-2022-1392 Videos sync PDF <= 1.7.4 - Unauthenticated LFI – 11.2% 25 Apr 2022
CVE-2022-1391 Cab fare calculator < 1.0.4 - Unauthenticated LFI – 15.0% 25 Apr 2022
CVE-2022-1390 Admin Word Count Column <= 2.2 - Unauthenticated Arbitrary File Read – 21.8% 25 Apr 2022
CVE-2022-23457 Path Traversal in ESAPI 7.5 high 2.85% 25 Apr 2022
CVE-2022-24424 Dell AppSync: Improper Limitation of a Pathname to a Restricted Directory 7.5 high 1.69% 21 Apr 2022
CVE-2022-27925 KEV Synacor Zimbra Collaboration Suite (ZCS) Arbitrary File Upload Vulnerability 7.2 high 98.6% 20 Apr 2022
CVE-2021-43988 ICSA-22-109-03 FANUC ROBOGUIDE Simulation Platform 6.1 medium 0.87% 20 Apr 2022
CVE-2022-1119 Simple File List <= 3.2.7 - Arbitrary File Download 7.5 high 17.4% 19 Apr 2022
CVE-2022-29464 KEV WSO2 Multiple Products Unrestrictive Upload of File Vulnerability 9.8 critical 99.9% 18 Apr 2022
CVE-2022-24851 Stored XSS and path traversal in LDAPAccountManager/lam 8.1 high 1.11% 15 Apr 2022
CVE-2022-20720 Cisco IOx Application Hosting Environment Vulnerabilities 5.5 medium 1.50% 15 Apr 2022
CVE-2022-20721 Cisco IOx Application Hosting Environment Vulnerabilities 5.5 medium 1.31% 15 Apr 2022
CVE-2022-20722 Cisco IOx Application Hosting Environment Vulnerabilities 5.5 medium 1.31% 15 Apr 2022
CVE-2022-20723 Cisco IOx Application Hosting Environment Vulnerabilities 5.5 medium 2.12% 15 Apr 2022
CVE-2022-20724 Cisco IOx Application Hosting Environment Vulnerabilities 5.5 medium 1.32% 15 Apr 2022
CVE-2022-20725 Cisco IOx Application Hosting Environment Vulnerabilities 5.5 medium 0.64% 15 Apr 2022
CVE-2022-20726 Cisco IOx Application Hosting Environment Vulnerabilities 5.5 medium 1.13% 15 Apr 2022
CVE-2022-20727 Cisco IOx Application Hosting Environment Vulnerabilities 5.5 medium 1.11% 15 Apr 2022
CVE-2022-20677 Cisco IOx Application Hosting Environment Vulnerabilities 5.5 medium 0.65% 15 Apr 2022
CVE-2022-20718 Cisco IOx Application Hosting Environment Vulnerabilities 5.5 medium 2.35% 15 Apr 2022
CVE-2022-20719 Cisco IOx Application Hosting Environment Vulnerabilities 5.5 medium 2.70% 15 Apr 2022
CVE-2022-24843 Path Traversal in github.com/flipped-aurora/gin-vue-admin 7.5 high 1.54% 13 Apr 2022
CVE-2022-27657 SAP Focused Run (Simple Diagnostics Agent): Improper Limitation of a Pathname to a Restricted Directory – 2.51% 12 Apr 2022
CVE-2022-0436 Path Traversal in gruntjs/grunt 7.1 high 0.59% 12 Apr 2022
CVE-2022-28544 Samsung Mobile Galaxy Store: Improper Limitation of a Pathname to a Restricted Directory 6.2 medium 0.90% 11 Apr 2022
CVE-2022-28543 Samsung Flow: Improper Limitation of a Pathname to a Restricted Directory 4.0 medium 0.32% 11 Apr 2022
CVE-2022-28541 Samsung Update: Improper Limitation of a Pathname to a Restricted Directory 5.9 medium 0.39% 11 Apr 2022
CVE-2021-36288 Dell VNX2: Improper Limitation of a Pathname to a Restricted Directory 8.6 high 1.03% 8 Apr 2022
CVE-2022-26675 aEnrich a+HRD - Path Traversal 7.5 high 2.21% 7 Apr 2022
CVE-2022-23971 ASUS RT-AX56U - Path Traversal 8.1 high 0.45% 7 Apr 2022
CVE-2022-23970 ASUS RT-AX56U - Path Traversal 8.1 high 0.45% 7 Apr 2022
CVE-2021-32981 AVEVA System Platform Path Traversal 7.2 high 1.21% 4 Apr 2022
CVE-2022-1166 JobMonster < 4.6.6.1 - Directory Listing in Upload Folder – 1.55% 4 Apr 2022
CVE-2022-24785 Path Traversal in Moment.js 7.5 high 5.44% 4 Apr 2022
CVE-2022-0679 Narnoo Distributor <= 2.5.1 - Unauthenticated LFI to Arbitrary File Read / RCE – 47.8% 28 Mar 2022
CVE-2022-0493 String Locator < 2.5.0 - Admin+ Arbitrary File Read – 1.38% 28 Mar 2022
CVE-2021-24962 WordPress File Upload < 4.16.3 - Contributor+ Path Traversal to RCE – 2.80% 28 Mar 2022
CVE-2021-22797 Schneider Electric EcoStruxure Control Expert: Improper Limitation of a Pathname to a Restricted Directory 7.8 high 26.1% 28 Mar 2022
CVE-2021-22794 Schneider Electric StruxureWare Data Center Expert: Improper Limitation of a Pathname to a Restricted Directory 9.1 critical 2.22% 28 Mar 2022
CVE-2022-24731 Path traversal allows leaking out-of-bound files from Argo CD repo-server 6.8 medium 0.96% 23 Mar 2022
CVE-2022-24730 Path traversal and improper access control allows leaking out-of-bound files from Argo CD repo-server 7.7 high 0.89% 23 Mar 2022
CVE-2021-27471 Rockwell Automation Connected Components Workbench Path Traversal 7.7 high 2.86% 23 Mar 2022
CVE-2021-27473 Rockwell Automation Connected Components Workbench Improper Input Validation 6.1 medium 0.78% 23 Mar 2022
CVE-2022-26500 KEV Veeam Backup & Replication Remote Code Execution Vulnerability 8.8 high 5.83% 17 Mar 2022
CVE-2022-1000 Path Traversal in prasathmani/tinyfilemanager 8.8 high 1.89% 17 Mar 2022
CVE-2022-25249 PTC Axeda agent and Axeda Desktop Server Path Traversal 7.5 high 2.47% 16 Mar 2022
CVE-2021-24692 Simple Download Monitor < 3.9.5 - Contributor+ Arbitrary File Download via Path Traversal – 1.36% 14 Mar 2022
CVE-2022-24716 Path traversal in Icinga Web 2 7.5 high 89.3% 8 Mar 2022
CVE-2022-24715 Arbitrary code execution for authenticated users in Icinga Web 2 8.5 high 14.9% 8 Mar 2022
CVE-2021-32008 Logged-in Administrator may get unrestricted file system access 9.9 critical 1.00% 4 Mar 2022