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

CVETitleCVSSEPSSPublished
CVE-2025-41368 Multiple vulnerabilities in Small HTTP server by Smallsrv 8.7 high 0.68% 26 Mar 2026
CVE-2025-15433 Shared Files < 1.7.58 - Contributor+ Arbitrary File Download 6.8 medium 0.47% 26 Mar 2026
CVE-2026-33183 Saloon has a Fixture Name Path Traversal Vulnerability 8.0 high 0.63% 26 Mar 2026
CVE-2026-4758 WP Job Portal <= 2.4.9 - Authenticated (Subscriber+) Arbitrary File Deletion via Resume Custom File Field 8.8 high 0.86% 25 Mar 2026
CVE-2026-30976 Sonarr Path Traversal vulnerability 8.6 high 0.75% 25 Mar 2026
CVE-2026-32567 WordPress YML for Yandex Market plugin < 5.3.0 - Arbitrary File Deletion vulnerability 6.8 medium 0.38% 25 Mar 2026
CVE-2026-32522 WordPress WooCommerce Support Ticket System plugin < 18.5 - Arbitrary File Deletion vulnerability 8.6 high 0.43% 25 Mar 2026
CVE-2026-32496 WordPress Spam Protect for Contact Form 7 plugin <= 1.2.9 - Arbitrary File Deletion vulnerability 6.8 medium 0.42% 25 Mar 2026
CVE-2026-31913 WordPress Scape theme < 1.5.16 - Arbitrary File Deletion vulnerability 8.6 high 0.43% 25 Mar 2026
CVE-2026-27040 WordPress WZone plugin <= 14.0.31 - Arbitrary File Deletion vulnerability 8.8 high 0.44% 25 Mar 2026
CVE-2026-25328 WordPress Product File Upload for WooCommerce plugin <= 2.2.4 - Arbitrary File Deletion vulnerability 6.8 medium 0.41% 25 Mar 2026
CVE-2026-24970 WordPress Energox theme <= 1.2 - Arbitrary File Deletion vulnerability 7.7 high 0.38% 25 Mar 2026
CVE-2026-24969 WordPress Instant VA theme <= 1.0.1 - Arbitrary File Deletion vulnerability 7.7 high 0.38% 25 Mar 2026
CVE-2026-22448 WordPress PitchPrint plugin <= 11.1.2 - Arbitrary File Deletion vulnerability 7.5 high 0.62% 25 Mar 2026
CVE-2026-28816 Apple macOS: Improper Limitation of a Pathname to a Restricted Directory 4.0 medium 0.24% 25 Mar 2026
CVE-2026-28827 Apple macOS: Improper Limitation of a Pathname to a Restricted Directory 9.3 critical 0.30% 25 Mar 2026
CVE-2026-20688 Apple iOS and iPadOS: Improper Limitation of a Pathname to a Restricted Directory 9.3 critical 0.29% 25 Mar 2026
CVE-2025-70952 pf4j before 20c2f80 has a path traversal vulnerability in the extract() function of Unzip.java, where improper handling of zip entry… 7.5 high 0.98% 25 Mar 2026
CVE-2025-67030 Directory Traversal vulnerability in the extractFile method of org.codehaus.plexus.util.Expand in plexus-utils before… 8.8 high 0.80% 25 Mar 2026
CVE-2026-33344 Dagu has an incomplete fix for CVE-2026-27598: path traversal via %2F-encoded slashes in locateDAG 8.1 high 1.61% 24 Mar 2026
CVE-2026-33329 FileRise: Path Traversal in `resumableIdentifier` Leading to Arbitrary File Write, Recursive Directory Deletion, and Limited Existence Oracle 8.1 high 0.52% 24 Mar 2026
CVE-2026-33497 Langflow: /profile_pictures/{folder_name}/{file_name} endpoint file reading 8.7 high 21.2% 24 Mar 2026
CVE-2026-33309 Langflow has an Arbitrary File Write (RCE) via v2 API 10.0 critical 13.9% 24 Mar 2026
CVE-2026-4741 Path Traversal Vulnerability in TeamJCD/JoyConDroid 8.6 high 0.38% 24 Mar 2026
CVE-2026-22739 Spring Cloud Config Profile Substitution Can Allow Unintended Access To Files And Enable SSRF Attacks 8.6 high 1.32% 24 Mar 2026
CVE-2026-33211 Tekton Pipelines git resolver has path traversal that allows reading arbitrary files from the resolver pod 9.6 critical 0.63% 23 Mar 2026
CVE-2026-33242 Salvo has a Path Traversal in salvo-proxy::encode_url_path allows API Gateway Bypass 7.5 high 0.62% 23 Mar 2026
CVE-2026-33195 Rails Active Storage has possible Path Traversal in DiskService 8.0 high 0.65% 23 Mar 2026
CVE-2026-33046 Indico discloses local files resulting in Remote Code Execution through LaTeX injection 7.7 high 0.87% 23 Mar 2026
CVE-2025-60946 Census CSWeb path traversal 8.7 high 0.56% 23 Mar 2026
CVE-2026-23485 Blinko: Unauthorized Path Traversal File Enumeration - music-metadata 6.9 medium 0.35% 23 Mar 2026
CVE-2026-23481 Blinko: Authenticated Arbitrary File Write - saveAdditionalDevFile 5.3 medium 0.42% 23 Mar 2026
CVE-2026-23484 Blinko: Authenticated Arbitrary File Write - saveDevPlugin 5.3 medium 0.38% 23 Mar 2026
CVE-2026-23483 Blinko: Unauthorized Arbitrary File Read - /plugins 6.9 medium 0.84% 23 Mar 2026
CVE-2026-23482 Blinko: Unauthorized Arbitrary File Read - /api/file/temp 8.2 high 1.65% 23 Mar 2026
CVE-2026-33681 AVideo has Path Traversal in pluginRunDatabaseScript.json.php Enables Arbitrary SQL File Execution via Unsanitized Plugin Name 7.2 high 0.56% 23 Mar 2026
CVE-2026-33513 AVideo has an Unauthenticated Local File Inclusion in API locale (RCE possible with writable PHP) 8.6 high 0.85% 23 Mar 2026
CVE-2026-33493 AVideo has a Path Traversal in import.json.php that Allows Private Video Theft and Arbitrary File Read/Deletion via fileURI Parameter 7.1 high 0.44% 23 Mar 2026
CVE-2026-33293 AVideo Affected by Arbitrary File Deletion via Path Traversal in CloneSite deleteDump Parameter 8.1 high 0.56% 22 Mar 2026
CVE-2026-33292 AVideo has Authorization Bypass via Path Traversal in HLS Endpoint Allows Streaming Private/Paid Videos 7.5 high 0.77% 22 Mar 2026
CVE-2019-25610 NetNumber Titan Master 7.9.1 Path Traversal via drp 7.1 high 2.02% 22 Mar 2026
CVE-2026-4542 SSCMS layerImage Endpoint LayerImageController.Submit.cs path traversal 5.3 medium 0.35% 22 Mar 2026
CVE-2019-25579 phpTransformer 2016.9 Directory Traversal via jQueryFileUpload 8.7 high 3.79% 21 Mar 2026
CVE-2019-25577 SeoToaster Ecommerce 3.0.0 Local File Inclusion via backend_theme 6.8 medium 4.37% 21 Mar 2026
CVE-2019-25574 Green CMS 2.x Path Traversal Arbitrary File Download 7.1 high 3.49% 21 Mar 2026
CVE-2026-32055 OpenClaw < 2026.2.26 - Workspace Path Boundary Bypass via Non-existent Symlink 7.2 high 0.37% 21 Mar 2026
CVE-2026-33238 AVideo has a Path Traversal in listFiles.json.php that Enables Server Filesystem Enumeration 4.3 medium 0.47% 20 Mar 2026
CVE-2026-3474 EmailKit <= 1.6.3 - Authenticated (Administrator+) Path Traversal via 'emailkit-editor-template' REST API Parameter 4.9 medium 0.46% 20 Mar 2026
CVE-2026-3339 Keep Backup Daily <= 2.1.1 - Authenticated (Admin+) Limited Path Traversal via 'kbd_path' Parameter 2.7 low 0.42% 20 Mar 2026
CVE-2026-33236 NLTK has a Downloader Path Traversal Vulnerability (AFO) - Arbitrary File Overwrite 8.1 high 0.67% 20 Mar 2026