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-41887 Flarum: Path traversal in LESS parser via theme color settings (incomplete fix for CVE-2023-27577) 4.9 medium 0.47% 8 May 2026
CVE-2026-41885 Path traversal / URL injection via unsanitised lng/ns/projectId/version in i18next-locize-backend 6.5 medium 0.22% 8 May 2026
CVE-2026-41693 i18next-fs-backend: Path traversal via unsanitised lng/ns allows arbitrary file read/overwrite 8.2 high 0.29% 8 May 2026
CVE-2026-42353 Path traversal / SSRF in i18next-http-middleware via user-controlled language and namespace parameters 8.2 high 0.39% 8 May 2026
CVE-2026-41690 Prototype pollution and path traversal in i18next-http-middleware via user-controlled language and namespace parameters 8.6 high 0.31% 8 May 2026
CVE-2026-44340 PraisonAI: Symlink-extraction bypass of `_safe_extractall` writes outside `dest_dir` 8.7 high 0.43% 8 May 2026
CVE-2026-44336 PraisonAI MCP `tools/call` path-traversal and RCE via Python `.pth` injection 9.4 critical 0.62% 8 May 2026
CVE-2026-41493 yard: Possible arbitrary path traversal and file access via yard server 6.9 medium 0.39% 8 May 2026
CVE-2026-41491 Dapr: Service Invocation path traversal ACL bypass 8.1 high 0.33% 8 May 2026
CVE-2026-8069 PredatorSense V3: Local Privilege Escalation (LPE) vulnerability 8.5 high 0.12% 8 May 2026
CVE-2026-42275 zrok: WebDAV drive backend follows symlinks outside DriveRoot, enabling host filesystem read/write 8.7 high 0.33% 8 May 2026
CVE-2026-44298 Kimai: Arbitrary file read in invoice PDF renderer (admin) 4.1 medium 0.28% 8 May 2026
CVE-2026-43940 electerm: Path traversal in electerm runWidget leads to arbitrary code execution 8.4 high 0.17% 8 May 2026
CVE-2026-38360 Directory Traversal vulnerability in fohrloop dash-uploader v.0.1.0 through v.0.7.0a2 allows a remote attacker to execute arbitrary code… 9.8 critical 5.98% 8 May 2026
CVE-2026-8116 huangjunsen0406 xiaozhi-mcphub dxtController.ts path traversal 5.3 medium 0.28% 7 May 2026
CVE-2026-8115 gyoridavid short-video-maker REST API rest.ts path traversal 6.9 medium 0.58% 7 May 2026
CVE-2026-8113 8421bit MiniClaw executeSkillScript kernel.ts isPathInside path traversal 5.3 medium 0.41% 7 May 2026
CVE-2026-41691 i18next-http-backend has Path Traversal & URL Injection via Unsanitised lng/ns 6.5 medium 0.31% 7 May 2026
CVE-2026-44243 GitPython: Path traversal in GitPython reference APIs allows arbitrary file write and delete outside the repository 7.8 high 0.42% 7 May 2026
CVE-2026-41589 Wish has SCP Path Traversal that allows arbitrary file read/write 9.6 critical 0.39% 7 May 2026
CVE-2026-7252 WP-Optimize <= 4.5.2 - Authenticated (Author+) Arbitrary File Deletion via 'original-file' Post Meta 8.1 high 0.95% 7 May 2026
CVE-2026-40982 Spring Cloud Config: Improper Limitation of a Pathname to a Restricted Directory 9.1 critical 0.73% 7 May 2026
CVE-2026-41203 ci4ms Theme::upload is vulnerable to Zip Slip leading to RCE 9.4 critical 0.62% 7 May 2026
CVE-2026-41202 ci4ms Backup::restore is vulnerable to Zip Slip leading to RCE 9.4 critical 0.68% 7 May 2026
CVE-2026-41656 Admidio: Path Traversal via Unvalidated `name` Parameter in Document Add Mode Enables Arbitrary Server File Read 4.5 medium 0.43% 7 May 2026
CVE-2026-41655 Admidio: Path Traversal in ECard Preview Allows Reading Arbitrary Server Files Including Database Credentials 6.5 medium 0.38% 7 May 2026
CVE-2026-40076 OpenMRS Core arbitrary file write and code execution via Zip Slip in module upload 9.4 critical 0.85% 6 May 2026
CVE-2026-7875 NanoClaw Host/Container Filesystem Boundary Vulnerability via Outbound Attachment Handling 9.3 critical 0.15% 6 May 2026
CVE-2026-43975 Apache Wicket: Possible malicious path traversal in FolderUploadsFileManager 6.5 medium 0.73% 6 May 2026
CVE-2026-35254 Oracle OCI CLI of Oracle Open Source Projects: Improper Limitation of a Pathname to a Restricted Directory 6.1 medium 0.15% 6 May 2026
CVE-2026-6344 Fluent Forms <= 6.2.1 - Authenticated (Administrator+) Arbitrary File Read via Path Traversal in Email Attachment 4.9 medium 0.68% 6 May 2026
CVE-2026-40075 OpenMRS Core arbitrary file read via path traversal in ModuleResourcesServlet 8.2 high 0.57% 5 May 2026
CVE-2026-35397 jupyter-server path traversal allows access to sibling directories sharing root_dir name prefix 7.6 high 0.63% 5 May 2026
CVE-2026-7411 Eclipse BaSyx: Improper Limitation of a Pathname to a Restricted Directory 10.0 critical 3.74% 5 May 2026
CVE-2026-6262 Betheme <= 28.4 - Authenticated (Contributor+) Arbitrary File Deletion via 'mfn-icon-upload' 6.5 medium 0.36% 5 May 2026
CVE-2026-43870 Apache Thrift: Node.js web_server.js multi-vulnerability 7.3 high 0.38% 5 May 2026
CVE-2026-5192 Forminator Forms – Contact Form, Payment Form & Custom Form Builder <= 1.52.1 - Unauthenticated Arbitrary File Read via 'upload-1[file][file_path]' 7.5 high 0.80% 5 May 2026
CVE-2026-7811 54yyyu code-mcp MCP File server.py is_safe_path path traversal 6.9 medium 0.43% 5 May 2026
CVE-2026-7810 UsamaK98 python-notebook-mcp server.py add_cell path traversal 6.9 medium 0.43% 5 May 2026
CVE-2026-5957 EmailKit <= 1.6.5 - Authenticated (Author+) Arbitrary File Read via 'emailkit-editor-template' REST Parameter 6.5 medium 0.59% 5 May 2026
CVE-2026-1921 Loco Translate <= 2.8.2 - Authenticated (Translator+) Path Traversal to Limited File Read via 'ref' Parameter 4.9 medium 0.66% 5 May 2026
CVE-2026-7788 Axle-Bucamp MCP-Docusaurus document.py get_content path traversal 6.9 medium 0.43% 5 May 2026
CVE-2026-7784 RTGS2017 NagaAgent Skills Endpoint extensions.py path traversal 6.9 medium 0.52% 4 May 2026
CVE-2026-6321 fast-uri vulnerable to path traversal via percent-encoded dot segments 7.5 high 0.65% 4 May 2026
CVE-2026-42080 PPTAgent: Arbitrary File Write via `save_generated_slides` 4.6 medium 0.21% 4 May 2026
CVE-2026-42078 PPTAgent: Arbitrary File Write + Directory Creation via markdown_table_to_image 4.6 medium 0.21% 4 May 2026
CVE-2026-42075 Evolver: Path Traversal via `--out` flag in `fetch` command allows Arbitrary File Write 8.1 high 0.67% 4 May 2026
CVE-2026-7738 puchunjie doc-tools-mcp MCP mcp-server.ts open_document path traversal 5.3 medium 0.36% 4 May 2026
CVE-2026-7728 ryanjoachim mcp-rtfm MCP update_doc path traversal 5.3 medium 0.30% 4 May 2026
CVE-2026-7715 ravenwits mcp-server-arangodb MCP tools.ts arango_backup path traversal 5.3 medium 0.30% 4 May 2026