CWE-22: Improper Limitation of a Pathname to a Restricted Directory (Path traversal), published in 2023, page 10
Filter
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.
What the weakness is: CWE-22 at MITRE. OWASP Top 10: A01:2025 Broken Access Control. All weaknesses
Related attack patterns (CAPEC): 5
- CAPEC-64 Using Slashes and URL Encoding Combined to Bypass Validation Logic Likelihood: High · Severity: High
- CAPEC-76 Manipulating Web Input to File System Calls Likelihood: High · Severity: Very High
- CAPEC-78 Using Escaped Slashes in Alternate Encoding Likelihood: High · Severity: High
- CAPEC-79 Using Slashes in Alternate Encoding Likelihood: High · Severity: High
- CAPEC-126 Path Traversal Likelihood: High · Severity: Very High
The attack patterns MITRE's CAPEC relates to CWE-22, as MITRE names them. Credits.
Ask an AI about CWE-22
Show the prompt
Explain CWE-22: Improper Limitation of a Pathname to a Restricted Directory and how to prevent and detect it in code. Use https://cwe.mitre.org/data/definitions/22.html and https://cve.bz/cve/cwe/22?via=ask-ai-copy for recent CVEs with this weakness. Cite the sources.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this weakness's id and public links.
By year: all 2026 2025 2024 2023 2022 2021
- 8.8CVE-2023-33177xibosignage xiboExploitEPSS 7.0%
Xibo is a content management system (CMS). A path traversal vulnerability exists in the Xibo CMS whereby a specially crafted zip file can be uploaded to the CMS via the layout import function by an authenticated user which would allow crea…
- 5.3CVE-2022-36243shopbeat shop beat media playerEPSS 0.7%
Shop Beat Solutions (pty) LTD Shop Beat Media Player 2.5.95 up to 3.2.57 is vulnerable to Directory Traversal via server.shopbeat.co.za. Information Exposure Through Directory Listing vulnerability in "studio" software of Shop Beat. This i…
- 7.5CVE-2023-30196webbax salesboosterEPSS 0.5%
Prestashop salesbooster <= 1.10.4 is vulnerable to Incorrect Access Control via modules/salesbooster/downloads/download.php.
- 5.3CVE-2022-24632audiocodes device manager expressExploitEPSS 27%
An issue was discovered in AudioCodes Device Manager Express through 7.8.20002.47752. It is directory traversal during file download via the BrowseFiles.php view parameter.
- 9.8CVE-2022-24629audiocodes device manager expressExploitEPSS 37%
An issue was discovered in AudioCodes Device Manager Express through 7.8.20002.47752. Remote code execution can be achieved via directory traversal in the dir parameter of the file upload functionality of BrowseFiles.php. An attacker can u…
- 7.5CVE-2021-27825mercurycom mac1200r firmwareExploitEPSS 7.8%
A directory traversal vulnerability on Mercury MAC1200R devices allows attackers to read arbitrary files via a web-static/ URL.
- 7.5CVE-2023-29380linuxmint warpinatorEPSS 1.8%
Warpinator before 1.6.0 allows remote file deletion via directory traversal in top_dir_basenames.
- 7.2CVE-2023-32676autolabproject autolabEPSS 0.9%
Autolab is a course management service that enables auto-graded programming assignments. A Tar slip vulnerability was found in the Install assessment functionality of Autolab. To exploit this vulnerability an authenticated attacker with in…
- 7.2CVE-2023-32317autolabproject autolabEPSS 0.9%
Autolab is a course management service that enables auto-graded programming assignments. A Tar slip vulnerability was found in the MOSS cheat checker functionality of Autolab. To exploit this vulnerability an authenticated attacker with in…
- 7.5CVE-2023-32315igniterealtime openfireKEVExploitEPSS >99.9%
Openfire is an XMPP server licensed under the Open Source Apache License. Openfire's administrative console, a web-based application, was found to be vulnerable to a path traversal attack via the setup environment. This permitted an unauth…
- 5.3CVE-2023-27311netapp blue xp connectorEPSS 0.6%
NetApp Blue XP Connector versions prior to 3.9.25 expose information via a directory listing. A new Connector architecture resolves this issue - obtaining the fix requires redeploying a fresh Connector.
- 7.5CVE-2023-2825gitlabExploitEPSS 72%
An issue has been discovered in GitLab CE/EE affecting only version 16.0.0. An unauthenticated malicious user can use a path traversal vulnerability to read arbitrary files on the server when an attachment exists in a public project nested…
- 6.5CVE-2022-46945nagvisExploitEPSS 4.1%
Nagvis before 1.9.34 was discovered to contain an arbitrary file read vulnerability via the component /core/classes/NagVisHoverUrl.php.
- 8.1CVE-2023-28382et-x ess recEPSS 0.9%
Directory traversal vulnerability in ESS REC Agent Server Edition series allows an authenticated attacker to view or alter an arbitrary file on the server. Affected products and versions are as follows: ESS REC Agent Server Edition for Lin…
- 7.2CVE-2023-26216tibco ebx add-onsEPSS 0.8%
The server component of TIBCO Software Inc.'s TIBCO EBX Add-ons contains an exploitable vulnerability that allows an attacker to upload files to a directory accessible by the web server. Affected releases are TIBCO Software Inc.'s TIBCO EB…
- 6.5CVE-2023-26215tibco ebx add-onsEPSS 0.7%
The server component of TIBCO Software Inc.'s TIBCO EBX Add-ons contains a vulnerability that allows an attacker with low-privileged application access to read system files that are accessible to the web server. Affected releases are TIBC…
- 7.5CVE-2023-31861zlmediakitEPSS 1.1%
ZLMediaKit 4.0 is vulnerable to Directory Traversal.
- 9.8CVE-2023-28413snow monkey forms project snow monkey formsEPSS 2.0%
Directory traversal vulnerability in Snow Monkey Forms versions v5.0.6 and earlier allows a remote unauthenticated attacker to obtain sensitive information, alter the website, or cause a denial-of-service (DoS) condition.
- 9.8CVE-2023-28408mw wp form project mw wp formEPSS 1.8%
Directory traversal vulnerability in MW WP Form versions v4.4.2 and earlier allows a remote unauthenticated attacker to alter the website or cause a denial-of-service (DoS) condition, and obtain sensitive information depending on settings.
- 9.8CVE-2023-27507microengine mailformEPSS 1.3%
MicroEngine Mailform version 1.1.0 to 1.1.8 contains a path traversal vulnerability. If the product's file upload function and server save option are enabled, a remote attacker may save an arbitrary file on the server and execute it.
- 9.8CVE-2020-20012sudytech webplus proEPSS 1.1%
WebPlus Pro v1.4.7.8.4-01 is vulnerable to Incorrect Access Control.
- 7.5CVE-2023-27067sitecore experience platformEPSS 1.6%
Directory Traversal vulnerability in Sitecore Experience Platform through 10.2 allows remote attackers to download arbitrary files via crafted command to download.aspx
- 6.5CVE-2023-27066sitecore experience platformEPSS 1.5%
Directory Traversal vulnerability in Site Core Experience Platform 10.2 and earlier allows authenticated remote attackers to download arbitrary files via Urlhandle.
- 7.5CVE-2023-30199webbax customexporterEPSS 0.7%
Prestashop customexporter <= 1.7.20 is vulnerable to Incorrect Access Control via modules/customexporter/downloads/download.php.
- 4.9CVE-2022-36328westerndigitalEPSS 0.8%
Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') vulnerability that could allow an attacker to create arbitrary shares on arbitrary directories and exfiltrate sensitive files, passwords, users and device confi…
- 9.8CVE-2022-36327westerndigitalEPSS 1.5%
Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') vulnerability that could allow an attacker to write files to locations with certain critical filesystem types leading to remote code execution was discovered in…
- 4.9CVE-2023-32322ombiEPSS 2.1%
Ombi is an open source application which allows users to request specific media from popular self-hosted streaming servers. Versions prior to 4.38.2 contain an arbitrary file read vulnerability where an Ombi administrative user may access …
- 4.9CVE-2023-20167cisco identity services engineEPSS 0.5%
Multiple vulnerabilities in Cisco Identity Services Engine (ISE) could allow an authenticated attacker to perform path traversal attacks on the underlying operating system to either elevate privileges to root or read arbitrary files. To ex…
- 6.7CVE-2023-20166cisco identity services engineEPSS 0.2%
Multiple vulnerabilities in Cisco Identity Services Engine (ISE) could allow an authenticated attacker to perform path traversal attacks on the underlying operating system to either elevate privileges to root or read arbitrary files. To ex…
- 6.5CVE-2023-20087cisco identity services engineEPSS 0.8%
Multiple vulnerabilities in the web-based management interface of Cisco Identity Services Engine (ISE) could allow an authenticated, remote attacker to download arbitrary files from the filesystem of an affected device. These vulnerabiliti…
- 6.5CVE-2023-20077cisco identity services engineEPSS 0.8%
Multiple vulnerabilities in the web-based management interface of Cisco Identity Services Engine (ISE) could allow an authenticated, remote attacker to download arbitrary files from the filesystem of an affected device. These vulnerabiliti…
- 7.5CVE-2023-32767symcon ip symconEPSS 1.2%
The web interface of Symcon IP-Symcon before 6.3 (i.e., before 2023-05-12) allows a remote attacker to read sensitive files via .. directory-traversal sequences in the URL.
- 7.5CVE-2023-31904savysoda wifi hd wireless disk driveEPSS 1.3%
savysoda Wifi HD Wireless Disk Drive 11 is vulnerable to Local File Inclusion.
- 5.4CVE-2023-2745wordpressExploitEPSS 80%
WordPress Core is vulnerable to Directory Traversal in versions up to, and including, 6.2, via the ‘wp_lang’ parameter. This allows unauthenticated attackers to access and load arbitrary translation files. In cases where an attacker is abl…
- 6.5CVE-2023-30509arubanetworks edgeconnect enterpriseEPSS 0.6%
Multiple authenticated path traversal vulnerabilities exist in the Aruba EdgeConnect Enterprise command line interface. Successful exploitation of these vulnerabilities result in the ability to read arbitrary files on the underlying operat…
- 6.5CVE-2023-30508arubanetworks edgeconnect enterpriseEPSS 0.6%
Multiple authenticated path traversal vulnerabilities exist in the Aruba EdgeConnect Enterprise command line interface. Successful exploitation of these vulnerabilities result in the ability to read arbitrary files on the underlying operat…
- 6.5CVE-2023-30507arubanetworks edgeconnect enterpriseEPSS 0.6%
Multiple authenticated path traversal vulnerabilities exist in the Aruba EdgeConnect Enterprise command line interface. Successful exploitation of these vulnerabilities result in the ability to read arbitrary files on the underlying operat…
- 4.3CVE-2023-2196jenkins code dxEPSS 1.0%
A missing permission check in Jenkins Code Dx Plugin 3.1.0 and earlier allows attackers with Item/Read permission to check for the existence of an attacker-specified file path on an agent file system.
- 4.3CVE-2023-32985jenkins sidebar linkEPSS 72%
Jenkins Sidebar Link Plugin 2.2.1 and earlier does not restrict the path of files in a method implementing form validation, allowing attackers with Overall/Read permission to check for the existence of an attacker-specified file path on th…
- 9.1CVE-2023-31131vmware greenplum databaseEPSS 0.7%
Greenplum Database (GPDB) is an open source data warehouse based on PostgreSQL. In versions prior to 6.22.3 Greenplum Database used an unsafe methods to extract tar files within GPPKGs. greenplum-db is vulnerable to path traversal leading …
- 7.5CVE-2023-32309facelessuser pymdown extensionsEPSS 1.7%
PyMdown Extensions is a set of extensions for the `Python-Markdown` markdown project. In affected versions an arbitrary file read is possible when using include file syntax. By using the syntax `--8<--"/etc/passwd"` or `--8<--"/proc/self/e…
- 6.5CVE-2023-23169synapsoft pdfocusEPSS 1.0%
Synapsoft pdfocus 1.17 is vulnerable to local file inclusion and server-side request forgery Directory Traversal.
- 8.1CVE-2020-13377loadbalancer enterprise va maxEPSS 1.5%
The web-services interface of Loadbalancer.org Enterprise VA MAX through 8.3.8 could allow an authenticated, remote, low-privileged attacker to conduct directory traversal attacks and obtain read and write access to sensitive files.
- 7.5CVE-2023-31477gl-inetEPSS 0.9%
A path traversal issue was discovered on GL.iNet devices before 3.216. Through the file sharing feature, it is possible to share an arbitrary directory, such as /tmp or /etc, because there is no server-side restriction to limit sharing to …
- 7.5CVE-2023-30172lfprojects mlflowEPSS 1.0%
A directory traversal vulnerability in the /get-artifact API method of the mlflow platform up to v2.0.1 allows attackers to read arbitrary files on the server via the path parameter.
- 5.3CVE-2023-29986spring-boot-actuator-logview project spring-boot-actuator-logviewEPSS 0.7%
spring-boot-actuator-logview 0.2.13 allows Directory Traversal to sibling directories via LogViewEndpoint.view.
- 4.3CVE-2023-31166selincEPSS 0.6%
An Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') vulnerability in the Schweitzer Engineering Laboratories Real-Time Automation Controller (SEL RTAC) Web Interface could allow a remote authenticated attacker…
- 6.5CVE-2023-27562n8nEPSS 2.3%
The n8n package 0.218.0 for Node.js allows Directory Traversal.
- 7.8CVE-2022-34855intel nuc pro software suiteEPSS 0.2%
Path traversal for the Intel(R) NUC Pro Software Suite before version 2.0.0.3 may allow an authenticated user to potentially enable escalation of privilege via local access.
- 5.3CVE-2023-26126m.static project m.staticEPSS 1.0%
All versions of the package m.static are vulnerable to Directory Traversal due to improper input sanitization of the path being requested via the requestFile function.