Description
MariaDB mariadb-dump Utility Directory Traversal Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of MariaDB. Interaction with the mariadb-dump utility is required to exploit this vulnerability but attack vectors may vary depending on the implementation. The specific flaw exists within the handling of view names. The issue results from the lack of proper validation of a user-supplied path prior to using it in file operations. An attacker can leverage this vulnerability to execute code in the context of the current user. Was ZDI-CAN-27000.
Problem types
CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Product status
11.8.3
References
www.zerodayinitiative.com/advisories/ZDI-25-1025/ (ZDI-25-1025)
jira.mariadb.org/browse/MDEV-37483 (vendor-provided URL)
Data based on CVE®. Copyright © 1999-2025, The MITRE Corporation. All rights reserved.