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-25691 Fortinet FortiSandbox PaaS: Improper Limitation of a Pathname to a Restricted Directory 6.2 medium 0.47% 14 Apr 2026
CVE-2026-2399 Schneider Electric PowerChute™ Serial Shutdown: Improper Limitation of a Pathname to a Restricted Directory 6.9 medium 0.20% 14 Apr 2026
CVE-2026-33929 Apache PDFBox Examples: Path Traversal in PDFBox ExtractEmbeddedFiles Example Code 4.3 medium 0.72% 14 Apr 2026
CVE-2026-6227 BackWPup <= 5.6.6 - Authenticated (Administrator+) Local File Inclusion via 'block_name' Parameter 7.2 high 1.36% 14 Apr 2026
CVE-2026-22562 Ubiquiti Inc UniFi Play PowerAmp: Improper Limitation of a Pathname to a Restricted Directory 9.8 critical 0.82% 13 Apr 2026
CVE-2026-32146 Improper Path Validation in Git Dependency Handling Allows Arbitrary File System Modification 8.3 high 0.32% 11 Apr 2026
CVE-2026-3689 OpenClaw Canvas Path Traversal Information Disclosure Vulnerability 6.5 medium 1.21% 11 Apr 2026
CVE-2026-40180 Zip Slip Path Traversal in quarkus-openapi-generator ApicurioCodegenWrapper class 7.7 high 0.41% 10 Apr 2026
CVE-2026-31939 Path Traversal (Arbitrary File Delete) in Chamilo LMS 8.3 high 0.36% 10 Apr 2026
CVE-2026-40163 Saltcorn has an Unauthenticated Path Traversal in sync endpoints allows arbitrary file write and directory read 8.2 high 0.35% 10 Apr 2026
CVE-2026-40157 PraisonAI affected by arbitrary file write via path traversal in `praisonai recipe unpack` 9.4 critical 0.39% 10 Apr 2026
CVE-2026-40086 Rembg has a Path Traversal via Custom Model Loading 5.3 medium 0.62% 10 Apr 2026
CVE-2026-35668 OpenClaw < 2026.3.24 - Sandbox Media Root Bypass via Unnormalized mediaUrl and fileUrl Parameters 7.1 high 0.40% 10 Apr 2026
CVE-2026-6057 Unauthenticated Path Traversal in FalkorDB Browser Leads to Remote Code Execution 9.8 critical 0.97% 10 Apr 2026
CVE-2026-6024 Tenda i6 HTTP R7WebsSecurityHandlerfunction path traversal 6.9 medium 0.72% 10 Apr 2026
CVE-2026-5998 zhayujie chatgpt-on-wechat CowAgent API Memory Content Endpoint service.py dispatch path traversal 6.9 medium 0.66% 10 Apr 2026
CVE-2026-4351 Perfmatters <= 2.5.9 - Authenticated (Subscriber+) Arbitrary File Overwrite via 'snippets' Parameter 8.1 high 0.43% 10 Apr 2026
CVE-2026-40152 PraisonAIAgents has a Path Traversal via Unvalidated Glob Pattern in list_files Bypasses Workspace Boundary 5.3 medium 0.43% 9 Apr 2026
CVE-2026-35206 Helm Chart extraction output directory collapse via `Chart.yaml` name dot-segment 4.8 medium 0.21% 9 Apr 2026
CVE-2026-39977 flatpak-builder has a path traversal leading to arbitrary file read on host when installing licence files 7.1 high 0.31% 9 Apr 2026
CVE-2026-39981 AGiXT has a Path Traversal in safe_join() 8.8 high 1.37% 9 Apr 2026
CVE-2026-5962 Tenda CH22 httpd R7WebsSecurityHandlerfunction path traversal 6.9 medium 0.56% 9 Apr 2026
CVE-2026-35204 Helm has a path traversal in plugin metadata version enables arbitrary file write outside Helm plugin directory 8.4 high 0.21% 9 Apr 2026
CVE-2026-4660 Go-getter may allow to arbitrary filesystem reads through git operations 7.5 high 0.61% 9 Apr 2026
CVE-2026-5849 Tenda i12 HTTP path traversal 6.9 medium 0.67% 9 Apr 2026
CVE-2026-5841 Tenda i3 HTTP R7WebsSecurityHandler path traversal 6.9 medium 0.67% 9 Apr 2026
CVE-2026-40027 ALEAPP NQ Vault Artifact Parser Path Traversal 8.4 high 0.20% 8 Apr 2026
CVE-2026-40024 Sleuth Kit tsk_recover Path Traversal 8.4 high 0.21% 8 Apr 2026
CVE-2026-5436 MW WP Form <= 5.1.1 - Unauthenticated Arbitrary File Move via regenerate_upload_file_keys 8.1 high 1.11% 8 Apr 2026
CVE-2026-39844 NiceGUI has a Path Traversal in NiceGUI Upload Filename on Windows via Backslash Bypass of PurePosixPath Sanitization 5.9 medium 0.39% 8 Apr 2026
CVE-2026-39859 LiquidJS has a renderFile() / parseFile() bypass configured root and allow arbitrary file read 6.3 medium 0.47% 8 Apr 2026
CVE-2026-33466 Improper Limitation of a Pathname to a Restricted Directory in Logstash Leading to Arbitrary File Write 8.1 high 0.57% 8 Apr 2026
CVE-2026-39408 Hono has a path traversal in toSSG() allows writing files outside the output directory 5.9 medium 0.45% 8 Apr 2026
CVE-2026-39407 Hono has a middleware bypass via repeated slashes in serveStatic 5.3 medium 0.48% 8 Apr 2026
CVE-2026-39406 @hono/node-server has a middleware bypass via repeated slashes in serveStatic 5.3 medium 0.39% 8 Apr 2026
CVE-2026-3243 Advanced Members for ACF <= 1.2.5 - Authenticated (Subscriber+) Arbitrary File Deletion via Path Traversal 8.8 high 0.84% 8 Apr 2026
CVE-2026-39847 Emmett has a path traversal in internal assets handler 9.1 critical 0.53% 7 Apr 2026
CVE-2026-34079 Flatpak affected by arbitrary file deletion on the host filesystem 8.7 high 0.34% 7 Apr 2026
CVE-2026-34371 LibreChat Affected by Arbitrary File Write via `execute_code` Artifact Filename Traversal 6.3 medium 0.27% 7 Apr 2026
CVE-2026-39369 WWBN AVideo's GIF poster fetch bypasses traversal scrubbing and exposes local files through public media URLs 7.6 high 0.44% 7 Apr 2026
CVE-2026-39365 Vite has a Path Traversal in Optimized Deps `.map` Handling 6.3 medium 0.93% 7 Apr 2026
CVE-2026-39345 OrangeHRM Affected by Arbitrary File Read via Path Traversal in Email Template Loader 4.6 medium 0.34% 7 Apr 2026
CVE-2026-24147 NVIDIA Triton Inference Server: Improper Limitation of a Pathname to a Restricted Directory 4.8 medium 0.51% 7 Apr 2026
CVE-2026-35573 ChurchCRM has a Path traversal leads to RCE 9.1 critical 0.81% 7 Apr 2026
CVE-2026-39307 PraisonAI has an Arbitrary File Write (Zip Slip) in Templates Extraction 8.1 high 0.33% 7 Apr 2026
CVE-2026-39308 PraisonAI recipe registry publish path traversal allows out-of-root file write 7.1 high 0.35% 7 Apr 2026
CVE-2026-39306 PraisonAI recipe registry pull path traversal writes files outside the chosen output directory 7.3 high 0.31% 7 Apr 2026
CVE-2026-39305 Arbitrary File Write / Path Traversal in Action Orchestrator 9.0 critical 0.33% 7 Apr 2026
CVE-2026-35615 PraisonAI has a Path Traversal in FileTools 9.2 critical 0.44% 7 Apr 2026
CVE-2026-35613 Path traversal in coursevault-preview due to improper base-directory boundary validation 5.1 medium 0.12% 7 Apr 2026