CVE-2025-13699
December 23, 2025
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.
Affected Packages
https://github.com/MariaDB/server.git (GITHUB):
Affected version(s) >=mariadb-10.6.0 <mariadb-10.6.24Fix Suggestion:
Update to version mariadb-10.6.24https://github.com/MariaDB/server.git (GITHUB):
Affected version(s) =mariadb-12.1.1 <mariadb-12.1.2Fix Suggestion:
Update to version mariadb-12.1.2https://github.com/MariaDB/server.git (GITHUB):
Affected version(s) >=mariadb-11.4.0 <mariadb-11.4.9Fix Suggestion:
Update to version mariadb-11.4.9https://github.com/MariaDB/server.git (GITHUB):
Affected version(s) >=mariadb-10.11.1 <mariadb-10.11.15Fix Suggestion:
Update to version mariadb-10.11.15https://github.com/MariaDB/server.git (GITHUB):
Affected version(s) >=mariadb-11.8.1 <mariadb-11.8.4Fix Suggestion:
Update to version mariadb-11.8.4Related Resources (2)
Do you need more information?
Contact UsCVSS v4
Base Score:
7.3
Attack Vector
LOCAL
Attack Complexity
HIGH
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
PASSIVE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
HIGH
Vulnerable System Availability
HIGH
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
7
Attack Vector
LOCAL
Attack Complexity
HIGH
Privileges Required
NONE
User Interaction
REQUIRED
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Weakness Type (CWE)
Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
EPSS
Base Score:
0.21