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-48395 Eaton NMC G2: Improper Limitation of a Pathname to a Restricted Directory 4.7 medium 0.31% 5 Sep 2025
CVE-2025-48550 Google Android: Improper Limitation of a Pathname to a Restricted Directory 5.5 medium 0.11% 4 Sep 2025
CVE-2025-41035 Path Traversal vulnerability in appRain CMF 7.1 high 0.74% 4 Sep 2025
CVE-2025-58355 Soft Serve is vulnerable to arbitrary file writing through its SSH API 7.7 high 0.38% 3 Sep 2025
CVE-2025-7039 Glib: buffer under-read on glib through glib/gfileutils.c via get_tmp_file() 3.7 low 0.46% 3 Sep 2025
CVE-2025-7975 Anritsu ShockLine CHX File Parsing Directory Traversal Remote Code Execution Vulnerability 7.8 high 0.50% 2 Sep 2025
CVE-2025-58162 MobSF Vulnerable to Arbitrary File Write (AR-Slip) via Absolute Path in .a Extraction 6.5 medium 0.63% 2 Sep 2025
CVE-2025-58161 MobSF Path Traversal in GET /download/<filename> using absolute filenames 1.3 low 0.82% 2 Sep 2025
CVE-2025-9801 SimStudioAI sim path traversal 5.3 medium 0.81% 1 Sep 2025
CVE-2025-58158 Harness Affected by Arbitrary File Write in Gitness LFS server 8.8 high 0.55% 29 Aug 2025
CVE-2025-52861 VioStor 7.0 high 0.68% 29 Aug 2025
CVE-2025-33038 Qsync Central 7.2 high 0.57% 29 Aug 2025
CVE-2025-33037 Qsync Central 7.2 high 0.57% 29 Aug 2025
CVE-2025-33036 Qsync Central 7.2 high 0.57% 29 Aug 2025
CVE-2025-33033 Qsync Central 7.2 high 0.57% 29 Aug 2025
CVE-2025-33032 QTS, QuTS hero 5.1 medium 0.59% 29 Aug 2025
CVE-2025-30271 QTS, QuTS hero 5.3 medium 0.58% 29 Aug 2025
CVE-2025-30270 QTS, QuTS hero 5.3 medium 0.58% 29 Aug 2025
CVE-2025-9650 yeqifu carRental AppFileUtils.java removeFileByPath path traversal 5.3 medium 0.48% 29 Aug 2025
CVE-2025-9217 Slider Revolution <= 6.7.36 - Authenticated (Contributor+) Arbitrary File Read via 'used_svg' and 'used_images' 6.5 medium 0.57% 29 Aug 2025
CVE-2024-13986 Nagios XI < 2024R1.3.2 Authenticated Arbitrary File Upload Path Traversal RCE 8.7 high 2.04% 28 Aug 2025
CVE-2025-54029 WordPress WooCommerce csv import export Plugin <= 2.0.6 - Arbitrary File Deletion Vulnerability 7.7 high 0.45% 28 Aug 2025
CVE-2025-53588 WordPress UPC/EAN/GTIN Code Generator Plugin <= 2.0.2 - Arbitrary File Deletion Vulnerability 7.7 high 0.45% 28 Aug 2025
CVE-2025-58072 DOS Co., Ltd. SS1: Improper Limitation of a Pathname to a Restricted Directory 8.7 high 0.71% 28 Aug 2025
CVE-2025-54819 DOS Co., Ltd. SS1: Improper Limitation of a Pathname to a Restricted Directory 7.1 high 0.54% 28 Aug 2025
CVE-2025-9345 File Manager, Code Editor, and Backup by Managefy <= 1.4.8 - Authenticated (Admin+) Path Traversal to Arbitrary File Download 4.9 medium 0.57% 28 Aug 2025
CVE-2024-13982 SPON IP Network Intercom System rj_get_token.php Arbitrary File Read 8.7 high 1.06% 27 Aug 2025
CVE-2024-13984 Qi'anxin TianQing Management Center rptsvr Arbitrary File Upload 10.0 critical 0.96% 27 Aug 2025
CVE-2024-13981 LiveBos UploadFile.do Arbitrary File Upload 10.0 critical 1.06% 27 Aug 2025
CVE-2023-7309 Dahua Smart Park Integrated Management Platform Front-End Arbitrary File Upload 10.0 critical 0.96% 27 Aug 2025
CVE-2025-20344 Cisco Nexus Dashboard Path Traversal Vulnerability 6.5 medium 0.69% 27 Aug 2025
CVE-2025-55526 n8n-workflows Main Commit ee25413 allows attackers to execute a directory traversal via the download_workflow function within api_server.py 9.1 critical 0.83% 26 Aug 2025
CVE-2025-50971 Directory traversal vulnerability in AbanteCart version 1.4.2 allows unauthenticated attackers to gain access to sensitive system files… 7.5 high 0.99% 26 Aug 2025
CVE-2025-53120 Securden Unified PAM Path Traversal In File Upload 9.4 critical 15.0% 25 Aug 2025
CVE-2025-9409 lostvip-com ruoyi-go CommonController.go DownloadUpload path traversal 5.3 medium 0.94% 25 Aug 2025
CVE-2025-8562 Custom Query Shortcode <= 0.4.0 - Authenticated (Contributor+) Path Traversal via lens Parameter 6.5 medium 0.51% 25 Aug 2025
CVE-2025-9118 Dataform Path Traversal 10.0 critical 0.74% 25 Aug 2025
CVE-2025-29420 PerfreeBlog v4.0.11 has a directory traversal vulnerability in the getThemeFilesByName function 7.5 high 0.93% 25 Aug 2025
CVE-2025-52450 Salesforce Tableau Server: Improper Limitation of a Pathname to a Restricted Directory 6.5 medium 0.49% 22 Aug 2025
CVE-2025-53363 Dpanel has an arbitrary file read vulnerability 4.8 medium 0.55% 22 Aug 2025
CVE-2024-56179 In MindManager Windows versions prior to 24.1.150, attackers could potentially write to unexpected directories in victims' machines via… 7.8 high 0.38% 22 Aug 2025
CVE-2010-20109 Barracuda Spam & Virus Firewall "locale" Path Traversal 8.7 high 7.49% 21 Aug 2025
CVE-2025-6465 Path traversal in image upload with preview overwrite 4.3 medium 0.90% 21 Aug 2025
CVE-2025-57753 vite-plugin-static-copy files not included in `src` are accessible with a crafted request 6.0 medium 0.60% 21 Aug 2025
CVE-2025-8023 Path Traversal in Template Upload Allows Uploading Files Outside Target Directory 6.8 medium 0.48% 21 Aug 2025
CVE-2025-8895 WP Webhooks <= 3.3.5 - Unauthenticated Arbitrary File Copy 9.8 critical 0.70% 21 Aug 2025
CVE-2025-36530 Import Path Traversal Enables Unauthorized Unsigned Plugin Installation 6.8 medium 0.59% 21 Aug 2025
CVE-2025-53505 Intermesh BV Group-Office: Improper Limitation of a Pathname to a Restricted Directory 5.3 medium 0.39% 21 Aug 2025
CVE-2025-55523 An issue in the component /api/download_work_dir_file.py of Agent-Zero v0.8.* allows attackers to execute a directory traversal 3.5 low 1.05% 21 Aug 2025
CVE-2012-10061 Sockso Music Host Server <= 1.5 Path Traversal 8.7 high 8.01% 20 Aug 2025