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-40611 Lego: Arbitrary File Write via Path Traversal in Webroot HTTP-01 Provider 8.8 high 0.44% 21 Apr 2026
CVE-2026-41193 FreeScout has Zip Slip path traversal in module installation that allows arbitrary file write leading to RCE 9.1 critical 0.50% 21 Apr 2026
CVE-2026-40050 CrowdStrike LogScale Unauthenticated Path Traversal 9.8 critical 0.62% 21 Apr 2026
CVE-2026-40576 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in excel-mcp-server 9.4 critical 0.48% 21 Apr 2026
CVE-2026-32147 SFTP chroot bypass via path traversal in SSH_FXP_FSETSTAT 5.3 medium 0.38% 21 Apr 2026
CVE-2026-39973 Apktool: Path Traversal to Arbitrary File Write 7.1 high 0.19% 21 Apr 2026
CVE-2026-39861 Claude Code: Sandbox Escape via Symlink Following Allows Arbitrary File Write Outside Workspace 7.7 high 0.72% 21 Apr 2026
CVE-2026-39378 nbconvert has an Arbitrary File Read via Path Traversal in HTMLExporter Image Embedding 6.5 medium 0.31% 21 Apr 2026
CVE-2026-39377 nbconvert has an Arbitrary File Write via Path Traversal in Cell Attachment Filenames 6.5 medium 0.27% 21 Apr 2026
CVE-2026-35570 OpenClaude has Sandbox Bypass via Early-Exit Logic Flaw that Allows Path Traversal 8.4 high 0.24% 20 Apr 2026
CVE-2026-5478 Everest Forms <= 3.4.4 - Unauthenticated Arbitrary File Read and Deletion via Upload Field 'old_files' Parameter 8.1 high 1.06% 20 Apr 2026
CVE-2026-6248 wpForo Forum <= 3.0.5 - Authenticated (Subscriber+) Arbitrary File Deletion via Custom Profile Field File Path 8.1 high 0.62% 20 Apr 2026
CVE-2026-25525 OpenMage LTS has Path Traversal Filter Bypass in Dataflow Module 4.9 medium 0.52% 20 Apr 2026
CVE-2026-41245 Junrar: Path Traversal (Zip-Slip) via Sibling Directory Name Prefix 5.9 medium 0.35% 20 Apr 2026
CVE-2026-6636 p2r3 convert API buildCache.js Bun.serve path traversal 5.3 medium 0.47% 20 Apr 2026
CVE-2026-6620 SonicCloudOrg sonic-server File Upload Endpoint FileTool.java upload path traversal 5.3 medium 0.35% 20 Apr 2026
CVE-2026-6615 TransformerOptimus SuperAGI Multipart Upload resources.py upload path traversal 6.9 medium 0.52% 20 Apr 2026
CVE-2026-6591 ComfyUI LoadImage Node folder_paths.py folder_paths.get_annotated_filepath path traversal 5.3 medium 0.37% 20 Apr 2026
CVE-2026-6590 ComfyUI Model Preview Endpoint model_manager.py get_model_preview path traversal 5.3 medium 0.37% 20 Apr 2026
CVE-2026-6568 kodcloud KodExplorer Public Share share.class.php initShareOld path traversal 6.9 medium 0.52% 19 Apr 2026
CVE-2026-40491 gdown Affected by Arbitrary File Write via Path Traversal in gdown.extractall 6.5 medium 0.58% 18 Apr 2026
CVE-2026-40258 Gramps Web API has Zip Slip Path Traversal in Media Archive Import 9.1 critical 0.41% 17 Apr 2026
CVE-2026-40342 Firebird: Path Traversal + Arbitrary File Write Leads to Remote Code Execution 10.0 critical 0.71% 17 Apr 2026
CVE-2026-5710 Drag and Drop Multiple File Upload for Contact Form 7 <= 1.3.9.6 - Unauthenticated Limited Arbitrary File Read via mfile Field 7.5 high 0.72% 17 Apr 2026
CVE-2026-40518 ByteDance DeerFlow Path Traversal and Arbitrary File Write via Bootstrap Mode 7.1 high 0.44% 17 Apr 2026
CVE-2026-3464 WP Customer Area <= 8.3.4 - Authenticated (Subscriber+) Arbitrary File Read/Deletion via ajax_attach_file 8.8 high 0.99% 17 Apr 2026
CVE-2026-6496 prasathmani TinyFileManager POST Parameter filemanager.php path traversal 5.3 medium 0.46% 17 Apr 2026
CVE-2026-6487 Qihui jtbc5 CMS Code Endpoint manage.php path traversal 5.3 medium 0.37% 17 Apr 2026
CVE-2026-4659 Unlimited Elements For Elementor <= 2.0.6 - Authenticated (Contributor+) Arbitrary File Read via Path Traversal in Repeater JSON/CSV URL with Path… 7.5 high 0.92% 17 Apr 2026
CVE-2026-35496 CubeCart: Improper Limitation of a Pathname to a Restricted Directory 5.1 medium 0.30% 17 Apr 2026
CVE-2026-4853 JetBackup <= 3.1.19.8 - Authenticated (Administrator+) Arbitrary Directory Deletion via Path Traversal in 'fileName' Parameter 4.9 medium 0.73% 17 Apr 2026
CVE-2026-6410 @fastify/static vulnerable to path traversal in directory listing 5.3 medium 0.52% 16 Apr 2026
CVE-2025-14868 Career Section <= 1.6 - Cross-Site Request Forgery to Arbitrary File Deletion 8.8 high 0.42% 16 Apr 2026
CVE-2026-40503 OpenHarness Path Traversal Information Disclosure via /memory show 7.1 high 0.42% 16 Apr 2026
CVE-2026-21726 Loki Path Traversal - CVE-2021-36156 Bypass 5.3 medium 0.92% 15 Apr 2026
CVE-2026-40256 Weblate: Prefix-Based Repository Boundary Check Bypass via Symlink/Junction Path Prefix Collision 5.0 medium 0.34% 15 Apr 2026
CVE-2026-34242 Weblate: Arbitrary File Read via Symlink 7.7 high 0.49% 15 Apr 2026
CVE-2026-33220 Weblate: JavaScript localization CDN add-on allows arbitrary local file read outside the repository 6.8 medium 0.34% 15 Apr 2026
CVE-2026-20180 Cisco Identity Services Engine Multiple Remote Code Execution Vulnerability 9.9 critical 6.26% 15 Apr 2026
CVE-2026-20148 Cisco Identity Services Engine Path Traversal Vulnerability 4.9 medium 6.79% 15 Apr 2026
CVE-2026-30996 An issue in the file handling logic of the component download.php of SAC-NFe v2.0.02 allows attackers to execute a directory traversal… 7.5 high 0.77% 15 Apr 2026
CVE-2026-40090 Zarf has a Path Traversal via Malicious Package Metadata.Name — Arbitrary File Write 7.1 high 0.33% 14 Apr 2026
CVE-2025-15470 Eleganzo <= 1.2 - Authenticated (Subscriber+) Arbitrary Directory Deletion 6.5 medium 0.37% 14 Apr 2026
CVE-2026-39399 NuGet Gallery: Arbitrary Blob Overwrite via Nuspec Confusion and URI Fragment Truncation 9.6 critical 0.55% 14 Apr 2026
CVE-2026-35031 Jellyfin: Potential RCE via subtitle upload path traversal + .strm chain 10.0 critical 0.78% 14 Apr 2026
CVE-2026-34619 ColdFusion | Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') (CWE-22) 7.7 high 7.81% 14 Apr 2026
CVE-2026-27305 ColdFusion | Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') (CWE-22) 8.6 high 30.2% 14 Apr 2026
CVE-2025-61624 KEV Fortinet Multiple Products Path Traversal Vulnerability 5.4 medium 1.31% 14 Apr 2026
CVE-2025-68649 Fortinet FortiManager Cloud: Improper Limitation of a Pathname to a Restricted Directory 5.4 medium 0.43% 14 Apr 2026
CVE-2026-22573 Fortinet FortiSOAR on-premise: Improper Limitation of a Pathname to a Restricted Directory 6.2 medium 0.44% 14 Apr 2026