Path Traversal in Mariadb
CVE-2025-13699
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.
Vulnerability class: Path Traversal (Directory Traversal)
EPSS: 0.004 (35.3th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 7.0 (High). Vector: CVSS:3.0/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H.
Affected products
- Mariadb — versions 11.8.3
Weakness classification (CWE)
References
- zdi-disclosures@trendmicro.com (x_research-advisory)
- zdi-disclosures@trendmicro.com (vendor-advisory)
Frequently asked questions
- What is CVE-2025-13699?
- CVE-2025-13699 is a high-severity vulnerability in Mariadb, classified under Path Traversal. CVSS score: 7.0/10. Published 2025-12-23.
- How severe is CVE-2025-13699?
- High severity. CVSS v3 base score is 7.0 out of 10.