cve.bz

CVE-2025-13699 mariadb mariadb: Path traversal

7.0 highEPSS 0.5%

High (7.0) in mariadb mariadb. EPSS 0.5% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.0

7.0 high
CVSS:3.0/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS
0.5% (unchanged from 0.5% a week ago; 0.5% 30 days ago) estimated probability of exploitation activity in the next 30 days; 45th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: total, assessed 2025-12-24. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-22 Improper Limitation of a Pathname to a Restricted Directory (Path traversal)
OWASP Top 10
A01:2025 Broken Access Control
Published
Modified
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2025-13699 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-13699?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-13699?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2025-13699 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
MariaDB11.8.3

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12mariadb1:10.11.18-0+deb12u1DEBIAN-CVE-2025-13699
Debian13mariadb11.8.6-0+deb13u1DEBIAN-CVE-2025-13699
Debian14mariadb1:11.8.5-1DEBIAN-CVE-2025-13699
Ubuntu16.04:LTSmariadb-10.0no fix listedUBUNTU-CVE-2025-13699
Ubuntu18.04:LTSmariadb-10.1no fix listedUBUNTU-CVE-2025-13699
Ubuntu20.04:LTSmariadb-10.3no fix listedUBUNTU-CVE-2025-13699
Ubuntu22.04:LTSmariadb-10.6no fix listedUBUNTU-CVE-2025-13699
Ubuntu24.04:LTS, 25.10mariadbno fix listedUBUNTU-CVE-2025-13699
Red Hatenterprise_linux:8::appstreamJudy, Judy-debuginfo, Judy-debugsource0:1.0.5-18.module+el8.10.0+21221+7bee72c1RHSA-2026:0232
Red Hatenterprise_linux:8::appstreamJudy, Judy-debuginfo, Judy-debugsource0:1.0.5-18.module+el8.10.0+22630+cacda3f1RHSA-2026:0233
Red Hatenterprise_linux:8::appstreamJudy, Judy-debuginfo, Judy-debugsource0:1.0.5-18.module+el8.9.0+19449+ad5852d3RHSA-2026:0225
Red Hatenterprise_linux:8::appstreamgalera, galera-debuginfo, galera-debugsource0:25.3.37-1.module+el8.9.0+19449+ad5852d3RHSA-2026:0225
Red Hatenterprise_linux:8::appstreamgalera, galera-debuginfo, galera-debugsource0:26.4.20-1.module+el8.10.0+22586+3d7c2ef3RHSA-2026:0232
Red Hatenterprise_linux:8::appstreamgalera, galera-debuginfo, galera-debugsource0:26.4.22-1.module+el8.10.0+23546+c942e1d0RHSA-2026:0233
Red Hatenterprise_linux:8::appstreammariadb, mariadb-pam, mariadb-test and 21 more3:10.11.10-2.module+el8.10.0+23755+8858eb6aRHSA-2026:0232
Red Hatenterprise_linux:8::appstreammariadb, mariadb-pam, mariadb-test and 21 more3:10.5.29-3.module+el8.10.0+23752+7ef55629RHSA-2026:0233
Red Hatenterprise_linux:8::appstreammariadb, mariadb-test, mariadb-devel and 19 more3:10.3.39-2.module+el8.10.0+23756+5eac0e54RHSA-2026:0225
Red Hatenterprise_linux:8::crbJudy, Judy-devel, Judy-debuginfo and 1 more0:1.0.5-18.module+el8.9.0+19449+ad5852d3RHSA-2026:0698
Red Hatenterprise_linux:8::crbasio, asio-devel0:1.10.8-7.module+el8.9.0+19449+ad5852d3RHSA-2026:0698
Red Hatenterprise_linux:8::crbgalera, galera-debuginfo, galera-debugsource0:25.3.37-1.module+el8.9.0+19449+ad5852d3RHSA-2026:0698
41 more for Red Hat in the JSON and on Red Hat's page.
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-LTSS, Linux Enterprise Server 15 SP3-LTSS and 1 moremariadb10.5.29-150300.3.55.1SUSE-SU-2025:4491-1
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise High Performance Computing 15 SP5-ESPOS and 7 moremariadb10.6.24-150400.3.43.1SUSE-SU-2025:4493-1
SUSELinux Enterprise Module for Package Hub 15 SP7, Linux Enterprise Module for Server Applications 15 SP7mariadb11.8.5-150700.3.9.1SUSE-SU-2025:4438-1
SUSELinux Enterprise Server 12 SP5-LTSS, Linux Enterprise Server LTSS Extended Security 12 SP5mariadb10.2.44-3.56.1SUSE-SU-2025:4520-1
SUSELinux Enterprise Server 15 SP6-LTSS, Linux Enterprise Server for SAP Applications 15 SP6mariadb10.11.15-150600.4.17.1SUSE-SU-2025:4502-1
SUSELinux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0mariadb11.8.5-160000.1.1SUSE-SU-2026:20018-1
openSUSELeap 15.6mariadb10.11.15-150600.4.17.1SUSE-SU-2025:4502-1
openSUSELeap 16.0mariadb11.8.5-160000.1.1openSUSE-SU-2025:20175-1
AlmaLinux8Judy1.0.5-18.module_el8.10.0+3794+c6a66d65ALSA-2026:0232
AlmaLinux8Judy1.0.5-18.module_el8.10.0+3947+ac422511ALSA-2026:0233
AlmaLinux8Judy1.0.5-18.module_el8.10.0+3955+6534edafALSA-2026:0232
AlmaLinux8Judy1.0.5-18.module_el8.6.0+2867+72759d2fALSA-2026:0225
AlmaLinux8Judy1.0.5-18.module_el8.6.0+3138+72759d2fALSA-2026:0225
AlmaLinux8Judy1.0.5-18.module_el8.8.0+3620+5d452900ALSA-2026:0233
AlmaLinux8galera25.3.37-1.module_el8.8.0+3609+204d4ab0ALSA-2026:0225
AlmaLinux8galera26.4.20-1.module_el8.10.0+3955+6534edafALSA-2026:0232
AlmaLinux8galera26.4.22-1.module_el8.10.0+4059+10818090ALSA-2026:0233
AlmaLinux8mariadb, mariadb-pam, mariadb-test and 11 more3:10.11.10-2.module_el8.10.0+4091+e8693c5eALSA-2026:0232
AlmaLinux8mariadb, mariadb-pam, mariadb-test and 11 more3:10.5.29-3.module_el8.10.0+4094+f90dcfa6ALSA-2026:0233
AlmaLinux8mariadb, mariadb-test, mariadb-devel and 10 more3:10.3.39-2.module_el8.10.0+4093+5130acefALSA-2026:0225
4 more for AlmaLinux in the JSON.
Rocky Linux8Judy0:1.0.5-18.module+el8.10.0+1674+fa55eae9RLSA-2026:0225 RLSA-2026:0232 RLSA-2026:0233
Rocky Linux8Judy0:1.0.5-18.module+el8.10.0+1925+356c22e8RLSA-2026:0225 RLSA-2026:0232 RLSA-2026:0233
Rocky Linux8Judy0:1.0.5-18.module+el8.10.0+40062+b4bfe4b1RLSA-2026:0225 RLSA-2026:0232 RLSA-2026:0233
Rocky Linux8Judy0:1.0.5-18.module+el8.4.0+427+adf35707RLSA-2026:0225 RLSA-2026:0232 RLSA-2026:0233
Rocky Linux8Judy0:1.0.5-18.module+el8.4.0+431+26aaed18RLSA-2026:0225 RLSA-2026:0232 RLSA-2026:0233
Rocky Linux8asio0:1.10.8-7.module+el8.10.0+40062+b4bfe4b1RLSA-2026:0698
Rocky Linux8asio0:1.10.8-7.module+el8.5.0+777+18007c86RLSA-2026:0698
Rocky Linux8galera0:25.3.37-1.module+el8.10.0+40062+b4bfe4b1RLSA-2026:0225
Rocky Linux8galera0:25.3.37-1.module+el8.8.0+1452+2a7eab68RLSA-2026:0225
Rocky Linux8galera0:26.4.20-1.module+el8.10.0+1925+356c22e8RLSA-2026:0232
Rocky Linux8galera0:26.4.20-1.module+el8.10.0+1926+d379821bRLSA-2026:0232
Rocky Linux8galera0:26.4.22-1.module+el8.10.0+2082+43759dccRLSA-2026:0233
7 more for Rocky Linux in the JSON.
Azure Linux2mariadb10.6.24-1AZL-73190
Azure Linux3mariadb10.11.15-1AZL-73186
Alpaquita23mariadb10.6.25-r0BELL-CVE-2025-13699

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; Microsoft's Azure Linux vulnerability data, MIT; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpaquita.

Red Hat

Red Hat rates this Important.

Red Hat's statement

This vulnerability in MariaDB's `mariadb-dump` utility allows for remote code execution due to improper validation of user-supplied paths. Exploitation requires user interaction, specifically with the `mariadb-dump` utility, and successful exploitation could lead to arbitrary code execution in the context of the current user.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 10mariadb10.11-3:10.11.15-1.el10_1Fixed 2026-01-06RHSA-2026:0136
Red Hat Enterprise Linux 10.0 Extended Update Supportmariadb10.11-3:10.11.15-1.el10_0Fixed 2026-01-08RHSA-2026:0376
Red Hat Enterprise Linux 7 Extended Lifecycle Supportmariadb-1:5.5.68-1.el7_9.1Fixed 2026-01-08RHSA-2026:0367
Red Hat Enterprise Linux 8mariadb:10.3-8100020251202130458.489197e6Fixed 2026-01-07RHSA-2026:0225
Red Hat Enterprise Linux 8mariadb:10.11-8100020251202125808.489197e6Fixed 2026-01-07RHSA-2026:0232
Red Hat Enterprise Linux 8mariadb:10.5-8100020251202073317.489197e6Fixed 2026-01-07RHSA-2026:0233
Red Hat Enterprise Linux 8mariadb-devel:10.3-8100020251202130458.489197e6Fixed 2026-01-15RHSA-2026:0698
Red Hat Enterprise Linux 8.2 Advanced Update Supportmariadb:10.3-8020020251211115447.4cda2c84Fixed 2026-01-08RHSA-2026:0357
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Supportmariadb:10.3-8040020251211113713.522a0ee4Fixed 2026-01-08RHSA-2026:0333
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Supportmariadb:10.5-8040020260105142824.522a0ee4Fixed 2026-01-08RHSA-2026:0336
Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-Onmariadb:10.3-8040020251211113713.522a0ee4Fixed 2026-01-08RHSA-2026:0333
Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-Onmariadb:10.5-8040020260105142824.522a0ee4Fixed 2026-01-08RHSA-2026:0336
Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Supportmariadb:10.3-8060020251215083117.ad008a3aFixed 2026-01-09RHSA-2026:0304
Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Supportmariadb:10.5-8060020251215083741.ad008a3aFixed 2026-01-08RHSA-2026:0344
Red Hat Enterprise Linux 8.6 Telecommunications Update Servicemariadb:10.3-8060020251215083117.ad008a3aFixed 2026-01-09RHSA-2026:0304
Red Hat Enterprise Linux 8.6 Telecommunications Update Servicemariadb:10.5-8060020251215083741.ad008a3aFixed 2026-01-08RHSA-2026:0344
Red Hat Enterprise Linux 8.6 Update Services for SAP Solutionsmariadb:10.3-8060020251215083117.ad008a3aFixed 2026-01-09RHSA-2026:0304
Red Hat Enterprise Linux 8.6 Update Services for SAP Solutionsmariadb:10.5-8060020251215083741.ad008a3aFixed 2026-01-08RHSA-2026:0344
Red Hat Enterprise Linux 8.8 Telecommunications Update Servicemariadb:10.5-8080020251210122049.63b34585Fixed 2026-01-08RHSA-2026:0295
Red Hat Enterprise Linux 10mariadb11.8Not affected
13 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2025-13699.

Attack patterns (CAPEC)

  • 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 this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON