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

CVETitleCVSSEPSSPublished
CVE-2026-73225 electerm: Path traversal in FTP/SFTP recursive folder download via unsanitized server filename 8.1 high 0.31% 11 Aug 2026
CVE-2026-73223 electerm: Path traversal in editWithSystemEditor temp file path via unsanitized SFTP filename 8.1 high 0.31% 11 Aug 2026
CVE-2026-72713 XAgent Path Traversal Arbitrary File Read via /workspace/file 8.7 high 0.83% 11 Aug 2026
CVE-2026-48441 Lightroom Classic | Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') (CWE-22) 8.6 high 0.18% 11 Aug 2026
CVE-2026-65768 Microsoft Teams Remote Code Execution Vulnerability 8.8 high 1.06% 11 Aug 2026
CVE-2026-48442 CAI Content Credentials | Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') (CWE-22) 7.1 high 0.24% 11 Aug 2026
CVE-2026-48446 CAI Content Credentials | Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') (CWE-22) 5.5 medium 0.24% 11 Aug 2026
CVE-2026-32677 n/a gaudi-container-runtime: Improper Limitation of a Pathname to a Restricted Directory 5.4 medium 0.16% 11 Aug 2026
CVE-2026-73079 Sub2API: Path traversal in the Responses subpath routes lets an authenticated tenant relay requests to arbitrary upstream endpoints using pooled… 8.5 high 0.31% 11 Aug 2026
CVE-2026-18640 Velociraptor directory traversal via the NewNotebook API 7.1 high 0.31% 11 Aug 2026
CVE-2026-72783 Craft CMS 5.0.0-RC1 before 5.10.6 Path Traversal via ensurePathIsContained 6.9 medium 0.15% 11 Aug 2026
CVE-2026-72773 n8n before 2.32.1 Path Traversal via computer-use search_files 4.9 medium 0.48% 11 Aug 2026
CVE-2026-72770 n8n before 1.123.67 Path Traversal via Git Node Operations 7.1 high 0.59% 11 Aug 2026
CVE-2026-72604 Intelliants Subrion CMS - Path Traversal 6.5 medium 0.33% 11 Aug 2026
CVE-2026-72602 AsyncFuncAI deepwiki-open - Path Traversal 7.5 high 0.49% 11 Aug 2026
CVE-2026-33922 Path traversal in the Offline archives functionality of the local web interface in Arc before v2.7.0 6.8 medium 0.12% 11 Aug 2026
CVE-2026-66777 Multiple vulnerabilities in SAP Business AI Platform (Approuter) 5.9 medium 0.30% 11 Aug 2026
CVE-2026-44763 Directory Traversal vulnerability in SAP Manufacturing Integration and Intelligence 7.6 high 0.29% 11 Aug 2026
CVE-2026-72903 Tabby: Windows SFTP path traversal allows a malicious server to write files outside the selected download directory 8.1 high 0.37% 10 Aug 2026
CVE-2026-73033 Sucuri WordPress Plugin 2.7.3 Path Traversal via integrity.lib.php 7.0 high 0.73% 10 Aug 2026
CVE-2026-73030 unearth 0.18.2 Path Traversal via Unnormalized Paths and Symlink Escape 7.2 high 0.45% 10 Aug 2026
CVE-2026-69112 Hugging Face Accelerate 1.14.0 Path Traversal and DoS via weight_map 6.9 medium 0.15% 10 Aug 2026
CVE-2026-12339 Authenticated Arbitrary File Write Vulnerability in multiple devices 6.9 medium 0.34% 10 Aug 2026
CVE-2026-47754 unauthenticated path traversal in Metacat 2.x 9.3 critical 0.34% 10 Aug 2026
CVE-2026-15059 systemd-oomd: unprivileged users can terminate arbitrary processes 5.5 medium 0.16% 10 Aug 2026
CVE-2026-72572 o1lab xmysql - Unauthenticated Path Traversal via name Query Parameter 7.5 high 0.77% 10 Aug 2026
CVE-2026-72571 mustafaakin cast-localvideo - Unauthenticated Path Traversal via dir Parameter 7.5 high 0.77% 10 Aug 2026
CVE-2026-72569 cube-root directory-serve - Unauthenticated Path Traversal Arbitrary File Deletion 9.1 critical 0.51% 10 Aug 2026
CVE-2026-72567 deepwiki-open - Unauthenticated Path Traversal Leading to Arbitrary File Write and Delete 9.8 critical 0.55% 10 Aug 2026
CVE-2026-66484 Path Traversal in GNU cpio 4.6 medium 0.16% 10 Aug 2026
CVE-2026-13170 Eventin < 4.1.20 - Editor+ Local File Inclusion via speaker_template Setting 7.2 high 0.39% 10 Aug 2026
CVE-2026-19372 Handwriting-OCR handwriting-ocr-mcp-server upload_document index.ts fs.readFileSync path traversal 4.8 medium 0.21% 9 Aug 2026
CVE-2026-19371 Nikolaibibo claude-comfyui-mcp comfy_upload_image utils.ts copyFileSync path traversal 4.8 medium 0.20% 9 Aug 2026
CVE-2026-19370 bartekke8it56w2 new-mcp geminithinking index.ts fs.readFileSync path traversal 4.8 medium 0.14% 9 Aug 2026
CVE-2026-19368 PV-Bhat gemsuite-mcp gemini_search unified-gemini.ts path traversal 4.8 medium 0.14% 9 Aug 2026
CVE-2026-19366 NocteDefensor LudusMCP insert_creds_range_config insertCredsRangeConfig.ts path traversal 4.8 medium 0.21% 9 Aug 2026
CVE-2026-19365 Ichigo3766 image-gen-mcp upscale_images index.ts path traversal 4.8 medium 0.20% 9 Aug 2026
CVE-2026-19338 automateyournetwork MCPyATS generate_mermaid_markdown index.ts processGenerateRequest path traversal 4.8 medium 0.14% 9 Aug 2026
CVE-2026-18465 WP Maps Pro < 6.1.3 - Unauthenticated Local File Inclusion 6.5 medium 0.25% 9 Aug 2026
CVE-2026-19336 Pimzino spec-workflow-mcp approvals.ts ApprovalStorage.createApproval path traversal 4.8 medium 0.20% 9 Aug 2026
CVE-2026-19335 Jane-xiaoer skill-vision-control config.ts getSkillVersionsDir path traversal 4.8 medium 0.25% 9 Aug 2026
CVE-2026-19331 bazylhorsey obsidian-mcp-server CanvasService.ts writeCanvas path traversal 4.8 medium 0.20% 9 Aug 2026
CVE-2026-19330 angrysky56 advanced-reasoning-mcp index.ts switch_memory_library path traversal 4.8 medium 0.20% 9 Aug 2026
CVE-2026-19328 aktsmm skill-ninja-mcp-server installer.ts uninstallSkill path traversal 4.8 medium 0.14% 9 Aug 2026
CVE-2026-19327 abracadabra50 claude-sesh enricher.ts enrichSession path traversal 4.8 medium 0.20% 9 Aug 2026
CVE-2026-19326 Jevon-Zhong Ai-doctor filemanagement.service.ts deleteImage path traversal 4.8 medium 0.20% 9 Aug 2026
CVE-2026-19325 IncomeStreamSurfer roo-code-memory-bank-mcp-server read_memory_bank_file/append_memory_bank_entry index.ts appendMemoryBankEntry path traversal 4.8 medium 0.20% 9 Aug 2026
CVE-2026-19324 HelloGGX shadcn-vue-mcp callback-server.ts fs.promises.readFile path traversal 4.8 medium 0.14% 9 Aug 2026
CVE-2026-19323 azer react-analyzer-mcp analyze-projec index.ts generateProjectDocs path traversal 4.8 medium 0.14% 9 Aug 2026
CVE-2026-19288 astralisone rive-mcp-server-core importRiveFile Flow importRiveFile.ts path traversal 4.8 medium 0.20% 8 Aug 2026