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-28406 kaniko has tar archive path traversal in build context extraction allows writing files outside destination directory 8.2 high 0.67% 27 Feb 2026
CVE-2026-27734 Beszel Vulnerable to Docker API Path Traversal via Unsanitized Container ID 6.5 medium 0.54% 27 Feb 2026
CVE-2026-24488 OpenEMR Vulnerable to Arbitrary File Exfiltration via Fax Endpoint 6.5 medium 0.46% 27 Feb 2026
CVE-2026-3223 Zip Slip leading to Arbitrary File Write and Privilege Escalation in Google Web Designer 8.4 high 0.16% 27 Feb 2026
CVE-2026-2251 Path Traversal leading to Remote Code Execution (RCE) 9.8 critical 0.45% 27 Feb 2026
CVE-2026-3289 Sanluan PublicCMS Template Cache Generation TemplateCacheComponent.java saveMetadata path traversal 5.3 medium 0.74% 27 Feb 2026
CVE-2026-22877 Copeland XWEB and XWEB Pro Path Traversal 3.7 low 0.60% 27 Feb 2026
CVE-2026-28208 Junrar has arbitrary file write due to backslash path traversal bypass in LocalFolderExtractor on Linux/Unix 5.9 medium 14.5% 26 Feb 2026
CVE-2026-23939 Path Traversal in Local File Store Backend 6.9 medium 0.58% 26 Feb 2026
CVE-2026-26228 VLC for Android < 3.7.0 Remote Access Path Traversal 2.3 low 0.32% 26 Feb 2026
CVE-2026-1311 Worry Proof Backup <= 0.2.4 - Authenticated (Subscriber+) Path Traversal via Backup Upload 8.8 high 0.81% 26 Feb 2026
CVE-2026-27969 Vitess users with backup storage access can write to arbitrary file paths on restore 9.3 critical 0.53% 26 Feb 2026
CVE-2026-1557 WP Responsive Images <= 1.0 - Unauthenticated Path Traversal to Arbitrary File Read via src 7.5 high 1.84% 26 Feb 2026
CVE-2026-27884 NetExec vulnerable to arbitrary file write via path traversal in spider_plus module 5.3 medium 0.39% 26 Feb 2026
CVE-2025-50857 ZenTaoPMS v18.11 through v21.6.beta is vulnerable to Directory Traversal in /module/ai/control.php 9.8 critical 2.67% 26 Feb 2026
CVE-2026-27735 mcp-server-git : Path traversal in git_add allows staging files outside repository boundaries 6.4 medium 0.35% 25 Feb 2026
CVE-2026-27800 Zed has Zip Slip Path Traversal in Extension Archive Extraction 7.4 high 0.42% 25 Feb 2026
CVE-2026-27819 Vikunja has Path Traversal in CLI Restore 7.2 high 0.82% 25 Feb 2026
CVE-2026-26985 LORIS vulnerable to path traversal in electrophysiology_browser 8.1 high 0.40% 25 Feb 2026
CVE-2026-26984 LORIS media module vulnerable to remote code execution 8.7 high 0.79% 25 Feb 2026
CVE-2026-3188 feiyuchuixue sz-boot-parent API templates path traversal 5.3 medium 0.38% 25 Feb 2026
CVE-2026-27704 Dart SDK and Flutter SDK have Zip slip in Dart Pub package extraction 6.6 medium 0.42% 25 Feb 2026
CVE-2026-27699 Basic FTP has Path Traversal Vulnerability in its downloadToDir() method 9.1 critical 0.93% 25 Feb 2026
CVE-2026-0704 Octopus Server: Improper Limitation of a Pathname to a Restricted Directory 5.9 medium 0.39% 25 Feb 2026
CVE-2026-25785 MOTEX Inc. Lanscope Endpoint Manager (On-Premises) Sub-Manager Server: Improper Limitation of a Pathname to a Restricted Directory 9.3 critical 0.61% 25 Feb 2026
CVE-2026-3179 A path traversal vulnerability was found in the FTP Backup on the ADM. 9.2 critical 0.58% 25 Feb 2026
CVE-2026-27606 Rollup 4 has Arbitrary File Write via Path Traversal 8.8 high 1.63% 25 Feb 2026
CVE-2026-24849 OpenEMR Arbitrary File Read Vulnerability 10.0 critical 2.12% 25 Feb 2026
CVE-2026-27598 Dagu: Path traversal in DAG creation allows arbitrary YAML file write outside DAGs directory 7.1 high 1.77% 25 Feb 2026
CVE-2026-27117 bit7z has a path traversal vulnerability 5.5 medium 0.38% 24 Feb 2026
CVE-2026-25891 Fiber has an Arbitrary File Read in Static Middleware on Windows 7.7 high 0.69% 24 Feb 2026
CVE-2026-25603 Path Traversal vulnerability in Linksys MR9600, Linksys MX4200 6.6 medium 0.31% 24 Feb 2026
CVE-2026-27483 MindsDB has Path Traversal in /api/files Leading to Remote Code Execution 8.8 high 10.8% 24 Feb 2026
CVE-2025-15589 MuYuCMS Template Management Template.php delete_dir_file path traversal 5.1 medium 0.80% 24 Feb 2026
CVE-2026-3067 HummerRisk Archive Extraction CommandUtils.java extractZip path traversal 5.3 medium 0.57% 24 Feb 2026
CVE-2026-25965 ImageMagick's policy bypass through path traversal allows reading restricted content despite secured policy 8.6 high 0.73% 24 Feb 2026
CVE-2026-3051 DataLinkDC dinky Project Name GitRepository.java getProjectDir path traversal 5.3 medium 7.26% 24 Feb 2026
CVE-2026-23521 Traccar vulnerable to Path Traversal and External Control of File Name or Path 6.5 medium 0.38% 23 Feb 2026
CVE-2026-2953 Dromara UJCMS Template WebFileTemplateController.delete deleteDirectory path traversal 5.3 medium 0.90% 22 Feb 2026
CVE-2026-2864 feng_ha_ha/megagao ssm-erp/production_ssm PictureController.java pictureDelete path traversal 5.3 medium 0.36% 21 Feb 2026
CVE-2026-2863 feng_ha_ha/megagao ssm-erp/production_ssm FileServiceImpl.java deleteFile path traversal 5.3 medium 0.44% 21 Feb 2026
CVE-2026-27202 GetSimple CMS: Uploaded Files (feature) Arbitrary File Read Vulnerability 8.8 high 0.57% 20 Feb 2026
CVE-2026-2033 MLflow Tracking Server Artifact Handler Directory Traversal Remote Code Execution Vulnerability 8.1 high 1.82% 20 Feb 2026
CVE-2026-27115 ADB Explorer is Vulnerable to Arbitrary Directory Deletion via Command-Line Argument 7.1 high 0.27% 20 Feb 2026
CVE-2026-2818 Zip Slip Path Traversal in Snapshot Archive Extraction (Windows-Specific) 8.2 high 0.33% 20 Feb 2026
CVE-2026-24953 WordPress Simple File List plugin <= 6.1.15 - Arbitrary File Download vulnerability 6.5 medium 0.44% 20 Feb 2026
CVE-2025-69380 WordPress Upload Files Anywhere plugin <= 2.8 - Arbitrary File Download vulnerability 7.5 high 0.43% 20 Feb 2026
CVE-2025-69379 WordPress Upload Files Anywhere plugin <= 2.8 - Arbitrary File Deletion vulnerability 8.6 high 0.44% 20 Feb 2026
CVE-2025-69377 WordPress User Extra Fields plugin <= 17.0 - Arbitrary File Deletion vulnerability 7.7 high 0.57% 20 Feb 2026
CVE-2025-69376 WordPress User Extra Fields plugin <= 17.0 - Arbitrary File Deletion vulnerability 8.6 high 0.64% 20 Feb 2026