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

CVETitleCVSSEPSSPublished
CVE-2026-9145 Database for Contact Form 7, WPforms, Elementor forms <= 1.5.1 - Unauthenticated Arbitrary File Copy/Upload via Elementor Pro Form Upload Field… 6.5 medium 0.31% 2 Jul 2026
CVE-2026-13251 Perfmatters <= 2.6.4 - Unauthenticated Arbitrary File Read via 's' Parameter 7.5 high 0.64% 2 Jul 2026
CVE-2026-14439 Path Traversal in Altium Git Service Allows Remote Code Execution 9.4 critical 0.60% 1 Jul 2026
CVE-2026-49119 Gradio < 6.16.0 Path Traversal via FileExplorer.preprocess() 8.7 high 0.69% 1 Jul 2026
CVE-2026-58451 Horde IMP < 7.0.1 Path Traversal via Compose.php img src 7.1 high 0.39% 1 Jul 2026
CVE-2026-5051 Audit Log Plugin Directory Guard Bypass via Legacy path Option 4.4 medium 0.28% 1 Jul 2026
CVE-2026-20191 Cisco Catalyst Center Arbitrary File Read Vulnerability 7.5 high 0.66% 1 Jul 2026
CVE-2026-53906 Path Disclosure and Path Traversal in MCO 5.1 medium 0.34% 1 Jul 2026
CVE-2026-56377 ImageMagick - Policy Bypass via Incorrect Path Validation 4.8 medium 0.20% 30 Jun 2026
CVE-2026-56233 Capgo - SSRF and Privilege Escalation via Path Traversal in Builder Upload Proxy 8.7 high 0.45% 30 Jun 2026
CVE-2026-50003 OFFIS DCMTK Toolkit Path Traversal 9.3 critical 0.48% 30 Jun 2026
CVE-2026-52868 OFFIS DCMTK Toolkit Path Traversal 8.8 high 0.39% 30 Jun 2026
CVE-2026-11595 IBM WebSphere Application Server is affected by a Path Traversal vulnerability 4.3 medium 0.66% 30 Jun 2026
CVE-2026-58372 SeaweedFS < 4.34 - Cross-Bucket Object Deletion via DeleteObjects Request-Body Keys 7.2 high 0.87% 30 Jun 2026
CVE-2026-58173 Vibe-Trading < 0.1.10 - Path Traversal via Persistent Memory Type 6.0 medium 0.31% 30 Jun 2026
CVE-2026-58171 Vibe-Trading < 0.1.10 - Path Traversal via Swarm Run Identifier 2.3 low 0.25% 30 Jun 2026
CVE-2026-58170 Vibe-Trading < 0.1.10 - Path Traversal in Proposal Identifier Allows Forging Live Trading Mandates 7.2 high 0.42% 30 Jun 2026
CVE-2026-58166 OpenBMB ChatDev - Unauthenticated Path Traversal in Upload Handler Allows Arbitrary File Write and Delete 8.8 high 0.63% 30 Jun 2026
CVE-2026-48313 ColdFusion | Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') (CWE-22) 9.3 critical 5.67% 30 Jun 2026
CVE-2026-48314 ColdFusion | Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') (CWE-22) 6.5 medium 0.71% 30 Jun 2026
CVE-2026-48282 KEV ColdFusion | Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') (CWE-22) 10.0 critical 99.9% 30 Jun 2026
CVE-2026-58015 Glib: path traversal in glib/gio/gdbusauthmechanismsha1.c via keyring_lookup_entry and mechanism_client_data_receive 5.9 medium 0.84% 30 Jun 2026
CVE-2026-57079 Net::BitTorrent versions before 2.1.0 for Perl write files outside the download directory via path traversal in peer-supplied metadata 5.3 medium 0.31% 30 Jun 2026
CVE-2026-11367 PixMagix <= 1.7.2 - Authenticated (Author+) Path Traversal in 'layers[].id' Parameter 6.5 medium 0.52% 30 Jun 2026
CVE-2026-58302 LinuxCNC: Improper Limitation of a Pathname to a Restricted Directory 8.4 high 0.15% 30 Jun 2026
CVE-2026-8023 Path traversal in Zephyr HTTP server static-filesystem resource handler allows unauthenticated remote arbitrary file read 7.5 high 0.91% 29 Jun 2026
CVE-2026-43732 Apple Safari: Improper Limitation of a Pathname to a Restricted Directory 6.5 medium 0.48% 29 Jun 2026
CVE-2026-11720 Path Traversal in googleapis/mcp-toolbox HTTP Tool URL Builder 9.3 critical 0.38% 29 Jun 2026
CVE-2026-13748 Snowflake CLI Arbitrary Local File Read and Exfiltration Through Improper File Path Restriction 6.3 medium 0.14% 29 Jun 2026
CVE-2026-55607 Claude Code: Sandbox Escape via Git Worktree Path Confusion Allows Unsandboxed Code Execution 7.7 high 0.55% 29 Jun 2026
CVE-2026-57331 WordPress Paid Videochat Turnkey Site plugin <= 7.4.8 - Arbitrary File Deletion vulnerability 9.9 critical 0.33% 29 Jun 2026
CVE-2026-40521 FrontAccounting < 2.4.20 Path Traversal RCE via attachment upload 8.7 high 0.63% 29 Jun 2026
CVE-2026-57346 WordPress Embed Privacy plugin <= 1.12.3 - Arbitrary File Deletion vulnerability 7.1 high 0.26% 29 Jun 2026
CVE-2026-57966 Spice-vdagent: path traversal in file transfer via unsanitized filename 4.4 medium 0.13% 29 Jun 2026
CVE-2026-13528 YunaiV/zhijiantianya ruoyi-vue-pro AppFileController File Upload Endpoint FileServiceImpl.java generateUploadPath path traversal 6.9 medium 0.45% 29 Jun 2026
CVE-2026-36848 Gigamon GVOS v5.16.1 and below is vulnerable to Directory Traversal in the GVOS H-VUE subsystem 7.5 high 0.69% 29 Jun 2026
CVE-2026-13509 RAGapp Knowledge File files.py FileHandler.remove_file path traversal 5.3 medium 0.29% 28 Jun 2026
CVE-2026-13503 antlr ANTLR4 tokenVocab Grammar Option TokenVocabParser.java getImportedVocabFile path traversal 6.9 medium 0.55% 28 Jun 2026
CVE-2026-28701 Daktronics Controller Firmware Path Traversal 9.3 critical 0.63% 26 Jun 2026
CVE-2026-45807 Kestra: Path traversal via URL-encoded "%2E%2E" in execution and namespace file endpoints allows arbitrary file read 7.7 high 0.46% 26 Jun 2026
CVE-2026-49984 Kestra: Path traversal in `LocalStorage` allows any authenticated user to read arbitrary server files via the execution file-download API (`\..\`… 7.7 high 0.46% 26 Jun 2026
CVE-2026-54352 Budibase: Arbitrary file read by workspace-builder via PWA-zip symlink upload 9.6 critical 0.37% 26 Jun 2026
CVE-2026-49991 RustFS Snowball Auto-Extract: Path Traversal allows cross-bucket object injection 8.6 high 0.27% 26 Jun 2026
CVE-2026-29509 Patool < 4.0.5 Path Traversal via safe_extract() Function 5.3 medium 0.28% 26 Jun 2026
CVE-2026-54557 mise HTTP backend uses raw version path for install symlink destination 5.5 medium 0.18% 26 Jun 2026
CVE-2026-56876 extract-zip unvalidated symlink path traversal 8.6 high 0.46% 26 Jun 2026
CVE-2026-55677 Echo: Encoded slash (%2F) bypasses route-level protection and exposes static files 7.5 high 0.67% 26 Jun 2026
CVE-2026-57321 WordPress H5P plugin <= 1.17.7 - Arbitrary File Deletion vulnerability 7.1 high 0.29% 26 Jun 2026
CVE-2026-56066 WordPress ShortPixel Adaptive Images plugin <= 3.11.4 - Arbitrary File Deletion vulnerability 5.8 medium 0.34% 26 Jun 2026
CVE-2026-13426 Client4 fails to validate path parameters 5.4 medium 0.20% 26 Jun 2026