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-2026-6670 Media Sync <= 1.4.9 - Authenticated (Author+) Path Traversal via 'sub_dir' and 'media_items' Parameters 6.5 medium 0.60% 14 May 2026
CVE-2026-44437 Angular SSR: Open Redirect and Request Steering via Encoded X-Forwarded-Prefix 6.9 medium 0.20% 13 May 2026
CVE-2026-44440 ERPNext: Path Traversal Leading to Sensitive File Exposure 6.5 medium 0.36% 13 May 2026
CVE-2026-44373 Nitro: Proxy scope bypass via percent-encoded path traversal in `routeRules` 5.3 medium 0.88% 13 May 2026
CVE-2026-42549 Flight: Path traversal in `make:controller` CLI creates arbitrary directories outside project root 4.4 medium 0.20% 13 May 2026
CVE-2026-22677 Hermes WebUI < 0.51.44 Path Traversal via Session Import Endpoint 6.0 medium 0.45% 13 May 2026
CVE-2020-37219 Joomla com_fabrik 3.9.11 Directory Traversal via image.php 8.7 high 2.20% 13 May 2026
CVE-2026-6282 Lenovo Personal Cloud T2s: Improper Limitation of a Pathname to a Restricted Directory 8.6 high 0.39% 13 May 2026
CVE-2026-20916 BIG-IQ iControl REST vulnerability 7.2 high 0.37% 13 May 2026
CVE-2026-42780 BIG-IP SSL Orchestrator vulnerability 6.9 medium 0.89% 13 May 2026
CVE-2026-31156 A path injection vulnerability exists in OpenPLC v3 (2c82b0e79c53f8c1f1458eee15fec173400d6e1a) as the binary program compiled from… 6.5 medium 0.39% 13 May 2026
CVE-2026-44307 Mako: Path traversal via backslash URI on Windows in TemplateLookup 8.7 high 0.74% 12 May 2026
CVE-2026-44301 Hugo: Node tool execution allows file system access outside the project directory 6.2 medium 0.27% 12 May 2026
CVE-2026-45225 Heym < 0.0.21 Path Traversal File Upload via upload_file() 7.2 high 0.43% 12 May 2026
CVE-2026-42196 django-s3file: Relative path traversal 9.9 critical 0.57% 12 May 2026
CVE-2026-44225 Pulpy: Incomplete filesystem sandbox in pulpy.fs bridge allows packaged web apps to read arbitrary user files 9.3 critical 1.54% 12 May 2026
CVE-2026-34653 Adobe Commerce | Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') (CWE-22) 8.7 high 0.61% 12 May 2026
CVE-2026-7474 Nomad vulnerable to path traversal in dynamic host volume which may lead to code execution 8.8 high 8.16% 12 May 2026
CVE-2026-34664 Substance3D - Designer | Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') (CWE-22) 6.3 medium 0.18% 12 May 2026
CVE-2026-42048 Langflow: Path Traversal in Langflow Knowledge Bases API 9.6 critical 4.19% 12 May 2026
CVE-2026-41612 Visual Studio Code Information Disclosure Vulnerability 5.5 medium 0.49% 12 May 2026
CVE-2026-43989 JunoClaw: upload_wasm accepted arbitrary filesystem paths without validation 8.5 high 0.15% 12 May 2026
CVE-2026-6865 Improper Limitation of a Pathname to a Restricted Directory Vulnerability on Multiple Products 7.1 high 0.30% 12 May 2026
CVE-2026-41530 Chitora soft Lhaz: Improper Limitation of a Pathname to a Restricted Directory 4.6 medium 0.15% 12 May 2026
CVE-2026-43901 Wireshark MCP: Arbitrary file write via export_objects when WIRESHARK_MCP_ALLOWED_DIRS is not configured 6.8 medium 0.31% 11 May 2026
CVE-2026-42564 jotty·page: Unauthenticated Path Traversal leads to sensitive file disclosure and session-token reuse impact 8.2 high 1.16% 11 May 2026
CVE-2026-43888 Outline: Zip Extraction Path Escape via PATH_MAX Truncation in Collection Import 8.7 high 0.42% 11 May 2026
CVE-2026-42600 MinIO: Path Traversal via msgpack Body in `ReadMultiple` Storage-REST Endpoint 6.9 medium 8.69% 11 May 2026
CVE-2026-42888 Audiobookshelf: Path Traversal vulnerability in the audiobookshelf project 6.9 medium 0.33% 11 May 2026
CVE-2026-28915 Apple macOS: Improper Limitation of a Pathname to a Restricted Directory 7.8 high 0.18% 11 May 2026
CVE-2026-42885 Audiobookshelf: Path prefix bypass in filesystem existence check leaks out-of-scope file existence 4.3 medium 0.28% 11 May 2026
CVE-2026-42882 oxyno-zeta/s3-proxy: Security Issues in Resource Path Matching 9.4 critical 0.55% 11 May 2026
CVE-2026-2614 Arbitrary File Read via Prompt Tag Source Validation Bypass in mlflow/mlflow 7.5 high 3.63% 11 May 2026
CVE-2026-42866 Tookie: Arbitrary file write via path traversal in -u username / -U userfile output filename 6.7 medium 0.21% 11 May 2026
CVE-2026-45224 Crabbox < 0.9.0 Path Traversal via Islo Provider Workspace Resolution 6.8 medium 0.14% 11 May 2026
CVE-2026-44996 OpenClaw < 2026.4.15 - Arbitrary Local File Read via Webchat Audio Embedding 6.3 medium 0.30% 11 May 2026
CVE-2026-42315 pyLoad: Path Traversal via Package Folder Name in set_package_data 8.1 high 0.39% 11 May 2026
CVE-2026-42314 pyLoad: Path Traversal via Package Folder Name 6.5 medium 0.34% 11 May 2026
CVE-2026-42608 Grav: Unauthenticated Path Traversal & Arbitrary File Write in FormFlash component. 8.8 high 4.99% 11 May 2026
CVE-2026-41951 GROWI: Improper Limitation of a Pathname to a Restricted Directory 8.6 high 0.49% 11 May 2026
CVE-2026-8274 npitre cramfs-tools Directory cramfsck.c do_directory path traversal 4.8 medium 0.17% 11 May 2026
CVE-2025-65418 docuFORM Managed Print Service Client 11.11c is vulnerable to a directory traversal allowing attackers to read arbitrary files via… 7.5 high 0.64% 11 May 2026
CVE-2022-50956 WordPress Plugin amministrazione-aperta 3.7.3 Local File Read 6.9 medium 0.45% 10 May 2026
CVE-2026-8215 Industrial Application Software IAS Canias ERP RMI iasRequestFileEvent path traversal 6.9 medium 0.55% 10 May 2026
CVE-2026-42605 AzuraCast: Path Traversal in `currentDirectory` Parameter Enables Remote Code Execution via Media Upload 8.8 high 0.83% 9 May 2026
CVE-2026-42574 apko dirFS has a symlink-following path traversal that allows multiple entry points to escape the build root 7.5 high 0.35% 9 May 2026
CVE-2026-42351 pygeoapi: Path Traversal in STAC FileSystemProvider 7.5 high 0.51% 8 May 2026
CVE-2026-42213 SolidCAM-GPPL-IDE: Path traversal in `inc` directive enables file probing and NTLM-hash leak 5.1 medium 0.56% 8 May 2026
CVE-2026-7807 SmarterTools SmarterMail < Build 9560 Server Local File Inclusion via the /api/v1/report/summary/{type} API 8.7 high 0.30% 8 May 2026
CVE-2026-42028 novaGallery: Unauthenticated Path Traversal in Album and Cached Image Routes Allows Reading Images Outside Gallery Root 5.3 medium 0.40% 8 May 2026