{"answers":{"affected":"","exploited":"There is no known exploitation of CVE-2025-13699 in the wild and no public exploit code.","fix":"Apply the vendor's patch.","what":"CVE-2025-13699 is a high-severity path traversal vulnerability in MariaDB, published on 23 Dec 2025. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2025-13699 and fix it if it is affected.\n\nWhat it is: CVE-2025-13699 is a high-severity path traversal vulnerability in MariaDB, published on 23 Dec 2025. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2025-13699 in the wild and no public exploit code.\n\nAffected product: MariaDB. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2025-13699/ (Markdown: https://insights.sbomify.com/CVE-2025-13699/index.md)","id":"CVE-2025-13699","markdown":"https://insights.sbomify.com/CVE-2025-13699/index.md","name":"CVE-2025-13699","record":{"aliases":["ALSA-2026:0137","ALSA-2026:0225","ALSA-2026:0232","ALSA-2026:0233","AZL-73186","AZL-73190","BELL-CVE-2025-13699","CLSA-2026-1768815310","CLSA-2026-1769021453","CLSA-2026-1769162597","DEBIAN-CVE-2025-13699","ECHO-965a-0075-cb52","GHSA-rqf2-8625-4vgv","OESA-2026-1383","OESA-2026-1536","OESA-2026-1537","OESA-2026-1538","RHSA-2026:0061","RHSA-2026:0111","RHSA-2026:0112","RHSA-2026:0137","RHSA-2026:0225","RHSA-2026:0232","RHSA-2026:0233","RHSA-2026:0295","RHSA-2026:0296","RHSA-2026:0304","RHSA-2026:0333","RHSA-2026:0336","RHSA-2026:0344","RHSA-2026:0351","RHSA-2026:0357","RHSA-2026:0367","RHSA-2026:0698","RHSA-2026:8812","RHSA-2026:8813","RLSA-2026:0137","RLSA-2026:0225","RLSA-2026:0232","RLSA-2026:0233","RLSA-2026:0698","ROOT-OS-DEBIAN-11-CVE-2025-13699","SUSE-SU-2025:4438-1","SUSE-SU-2025:4493-1","SUSE-SU-2025:4502-1","SUSE-SU-2025:4520-1","SUSE-SU-2026:20018-1","UBUNTU-CVE-2025-13699","openSUSE-SU-2025:20175-1"],"analysis":{"component_type":"database","fix_type":"patch","impacts":["code_execution"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"MariaDB database","requires_auth":"none","summary":"Remote attackers can execute arbitrary code via directory traversal in the mariadb-dump utility due to improper path validation.","user_interaction":"required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"zdi","cpe":[],"cvss":{"score":7,"severity":"high","source":"cna","vector":"CVSS:3.0/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H","version":"3.0"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"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.\n\nThe 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.","ecosystems":["AlmaLinux:8","AlmaLinux:9","Red Hat:enterprise_linux:8::appstream","Red Hat:enterprise_linux:8::crb","Red Hat:enterprise_linux:9::appstream","Red Hat:enterprise_linux:9::crb","Red Hat:hummingbird:1","Red Hat:rhel_aus:8.2::appstream","Red Hat:rhel_aus:8.4::appstream","Red Hat:rhel_aus:8.6::appstream","Red Hat:rhel_e4s:8.6::appstream","Red Hat:rhel_e4s:8.8::appstream","Red Hat:rhel_e4s:9.0::appstream","Red Hat:rhel_e4s:9.2::appstream","Red Hat:rhel_els:7","Red Hat:rhel_eus:9.4::appstream","Red Hat:rhel_eus:9.4::crb","Red Hat:rhel_eus:9.6::appstream","Red Hat:rhel_eus:9.6::crb","Red Hat:rhel_eus_long_life:8.4::appstream","Red Hat:rhel_tus:8.6::appstream","Red Hat:rhel_tus:8.8::appstream","Rocky Linux:8","Rocky Linux:9","SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS","SUSE:Linux Enterprise High Performance Computing 15 SP4-LTSS","SUSE:Linux Enterprise High Performance Computing 15 SP5-ESPOS","SUSE:Linux Enterprise High Performance Computing 15 SP5-LTSS","SUSE:Linux Enterprise Module for Package Hub 15 SP7","SUSE:Linux Enterprise Module for Server Applications 15 SP7","SUSE:Linux Enterprise Server 12 SP5-LTSS","SUSE:Linux Enterprise Server 15 SP4-LTSS","SUSE:Linux Enterprise Server 15 SP5-LTSS","SUSE:Linux Enterprise Server 15 SP6-LTSS","SUSE:Linux Enterprise Server 16.0","SUSE:Linux Enterprise Server LTSS Extended Security 12 SP5","SUSE:Linux Enterprise Server for SAP Applications 15 SP4","SUSE:Linux Enterprise Server for SAP Applications 15 SP5","SUSE:Linux Enterprise Server for SAP Applications 15 SP6","SUSE:Linux Enterprise Server for SAP applications 16.0","SUSE:Manager Proxy LTS 4.3","SUSE:Manager Server LTS 4.3","openSUSE:Leap 15.6","openSUSE:Leap 16.0"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"MariaDB mariadb-dump Utility Directory Traversal Remote Code Execution Vulnerability","id":"CVE-2025-13699","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"path_traversal","year":"2025"},"n_packages":837,"n_references":2,"next":{"headline":"DreamFactory saveZipFile Command Injection Remote Code Execution Vulnerability","id":"CVE-2025-13700"},"packages":[{"ecosystem":"AlmaLinux:8","fixed":["1.0.5-18.module_el8.10.0+3794+c6a66d65"],"introduced":["0"],"last_affected":[],"package":"Judy","purl":"pkg:rpm/almalinux/Judy","source":"ALSA-2026:0232"},{"ecosystem":"AlmaLinux:8","fixed":["1.0.5-18.module_el8.10.0+3947+ac422511"],"introduced":["0"],"last_affected":[],"package":"Judy","purl":"pkg:rpm/almalinux/Judy","source":"ALSA-2026:0233"},{"ecosystem":"AlmaLinux:8","fixed":["1.0.5-18.module_el8.10.0+3955+6534edaf"],"introduced":["0"],"last_affected":[],"package":"Judy","purl":"pkg:rpm/almalinux/Judy","source":"ALSA-2026:0232"},{"ecosystem":"AlmaLinux:8","fixed":["1.0.5-18.module_el8.6.0+2867+72759d2f"],"introduced":["0"],"last_affected":[],"package":"Judy","purl":"pkg:rpm/almalinux/Judy","source":"ALSA-2026:0225"},{"ecosystem":"AlmaLinux:8","fixed":["1.0.5-18.module_el8.6.0+3138+72759d2f"],"introduced":["0"],"last_affected":[],"package":"Judy","purl":"pkg:rpm/almalinux/Judy","source":"ALSA-2026:0225"},{"ecosystem":"AlmaLinux:8","fixed":["1.0.5-18.module_el8.8.0+3620+5d452900"],"introduced":["0"],"last_affected":[],"package":"Judy","purl":"pkg:rpm/almalinux/Judy","source":"ALSA-2026:0233"},{"ecosystem":"AlmaLinux:8","fixed":["25.3.37-1.module_el8.8.0+3609+204d4ab0"],"introduced":["0"],"last_affected":[],"package":"galera","purl":"pkg:rpm/almalinux/galera","source":"ALSA-2026:0225"},{"ecosystem":"AlmaLinux:8","fixed":["26.4.20-1.module_el8.10.0+3955+6534edaf"],"introduced":["0"],"last_affected":[],"package":"galera","purl":"pkg:rpm/almalinux/galera","source":"ALSA-2026:0232"},{"ecosystem":"AlmaLinux:8","fixed":["26.4.22-1.module_el8.10.0+4059+10818090"],"introduced":["0"],"last_affected":[],"package":"galera","purl":"pkg:rpm/almalinux/galera","source":"ALSA-2026:0233"},{"ecosystem":"AlmaLinux:8","fixed":["3:10.11.10-2.module_el8.10.0+4091+e8693c5e"],"introduced":["0"],"last_affected":[],"package":"mariadb","purl":"pkg:rpm/almalinux/mariadb","source":"ALSA-2026:0232"},{"ecosystem":"AlmaLinux:8","fixed":["3:10.3.39-2.module_el8.10.0+4093+5130acef"],"introduced":["0"],"last_affected":[],"package":"mariadb","purl":"pkg:rpm/almalinux/mariadb","source":"ALSA-2026:0225"},{"ecosystem":"AlmaLinux:8","fixed":["3:10.5.29-3.module_el8.10.0+4094+f90dcfa6"],"introduced":["0"],"last_affected":[],"package":"mariadb","purl":"pkg:rpm/almalinux/mariadb","source":"ALSA-2026:0233"},{"ecosystem":"AlmaLinux:8","fixed":["3:10.11.10-2.module_el8.10.0+4091+e8693c5e"],"introduced":["0"],"last_affected":[],"package":"mariadb-backup","purl":"pkg:rpm/almalinux/mariadb-backup","source":"ALSA-2026:0232"},{"ecosystem":"AlmaLinux:8","fixed":["3:10.3.39-2.module_el8.10.0+4093+5130acef"],"introduced":["0"],"last_affected":[],"package":"mariadb-backup","purl":"pkg:rpm/almalinux/mariadb-backup","source":"ALSA-2026:0225"},{"ecosystem":"AlmaLinux:8","fixed":["3:10.5.29-3.module_el8.10.0+4094+f90dcfa6"],"introduced":["0"],"last_affected":[],"package":"mariadb-backup","purl":"pkg:rpm/almalinux/mariadb-backup","source":"ALSA-2026:0233"},{"ecosystem":"AlmaLinux:8","fixed":["3:10.11.10-2.module_el8.10.0+4091+e8693c5e"],"introduced":["0"],"last_affected":[],"package":"mariadb-common","purl":"pkg:rpm/almalinux/mariadb-common","source":"ALSA-2026:0232"},{"ecosystem":"AlmaLinux:8","fixed":["3:10.3.39-2.module_el8.10.0+4093+5130acef"],"introduced":["0"],"last_affected":[],"package":"mariadb-common","purl":"pkg:rpm/almalinux/mariadb-common","source":"ALSA-2026:0225"},{"ecosystem":"AlmaLinux:8","fixed":["3:10.5.29-3.module_el8.10.0+4094+f90dcfa6"],"introduced":["0"],"last_affected":[],"package":"mariadb-common","purl":"pkg:rpm/almalinux/mariadb-common","source":"ALSA-2026:0233"},{"ecosystem":"AlmaLinux:8","fixed":["3:10.11.10-2.module_el8.10.0+4091+e8693c5e"],"introduced":["0"],"last_affected":[],"package":"mariadb-devel","purl":"pkg:rpm/almalinux/mariadb-devel","source":"ALSA-2026:0232"},{"ecosystem":"AlmaLinux:8","fixed":["3:10.3.39-2.module_el8.10.0+4093+5130acef"],"introduced":["0"],"last_affected":[],"package":"mariadb-devel","purl":"pkg:rpm/almalinux/mariadb-devel","source":"ALSA-2026:0225"},{"ecosystem":"AlmaLinux:8","fixed":["3:10.5.29-3.module_el8.10.0+4094+f90dcfa6"],"introduced":["0"],"last_affected":[],"package":"mariadb-devel","purl":"pkg:rpm/almalinux/mariadb-devel","source":"ALSA-2026:0233"},{"ecosystem":"AlmaLinux:8","fixed":["3:10.11.10-2.module_el8.10.0+4091+e8693c5e"],"introduced":["0"],"last_affected":[],"package":"mariadb-embedded","purl":"pkg:rpm/almalinux/mariadb-embedded","source":"ALSA-2026:0232"},{"ecosystem":"AlmaLinux:8","fixed":["3:10.3.39-2.module_el8.10.0+4093+5130acef"],"introduced":["0"],"last_affected":[],"package":"mariadb-embedded","purl":"pkg:rpm/almalinux/mariadb-embedded","source":"ALSA-2026:0225"},{"ecosystem":"AlmaLinux:8","fixed":["3:10.5.29-3.module_el8.10.0+4094+f90dcfa6"],"introduced":["0"],"last_affected":[],"package":"mariadb-embedded","purl":"pkg:rpm/almalinux/mariadb-embedded","source":"ALSA-2026:0233"},{"ecosystem":"AlmaLinux:8","fixed":["3:10.11.10-2.module_el8.10.0+4091+e8693c5e"],"introduced":["0"],"last_affected":[],"package":"mariadb-embedded-devel","purl":"pkg:rpm/almalinux/mariadb-embedded-devel","source":"ALSA-2026:0232"},{"ecosystem":"AlmaLinux:8","fixed":["3:10.3.39-2.module_el8.10.0+4093+5130acef"],"introduced":["0"],"last_affected":[],"package":"mariadb-embedded-devel","purl":"pkg:rpm/almalinux/mariadb-embedded-devel","source":"ALSA-2026:0225"},{"ecosystem":"AlmaLinux:8","fixed":["3:10.5.29-3.module_el8.10.0+4094+f90dcfa6"],"introduced":["0"],"last_affected":[],"package":"mariadb-embedded-devel","purl":"pkg:rpm/almalinux/mariadb-embedded-devel","source":"ALSA-2026:0233"},{"ecosystem":"AlmaLinux:8","fixed":["3:10.11.10-2.module_el8.10.0+4091+e8693c5e"],"introduced":["0"],"last_affected":[],"package":"mariadb-errmsg","purl":"pkg:rpm/almalinux/mariadb-errmsg","source":"ALSA-2026:0232"},{"ecosystem":"AlmaLinux:8","fixed":["3:10.3.39-2.module_el8.10.0+4093+5130acef"],"introduced":["0"],"last_affected":[],"package":"mariadb-errmsg","purl":"pkg:rpm/almalinux/mariadb-errmsg","source":"ALSA-2026:0225"},{"ecosystem":"AlmaLinux:8","fixed":["3:10.5.29-3.module_el8.10.0+4094+f90dcfa6"],"introduced":["0"],"last_affected":[],"package":"mariadb-errmsg","purl":"pkg:rpm/almalinux/mariadb-errmsg","source":"ALSA-2026:0233"},{"ecosystem":"AlmaLinux:8","fixed":["3:10.11.10-2.module_el8.10.0+4091+e8693c5e"],"introduced":["0"],"last_affected":[],"package":"mariadb-gssapi-server","purl":"pkg:rpm/almalinux/mariadb-gssapi-server","source":"ALSA-2026:0232"},{"ecosystem":"AlmaLinux:8","fixed":["3:10.3.39-2.module_el8.10.0+4093+5130acef"],"introduced":["0"],"last_affected":[],"package":"mariadb-gssapi-server","purl":"pkg:rpm/almalinux/mariadb-gssapi-server","source":"ALSA-2026:0225"},{"ecosystem":"AlmaLinux:8","fixed":["3:10.5.29-3.module_el8.10.0+4094+f90dcfa6"],"introduced":["0"],"last_affected":[],"package":"mariadb-gssapi-server","purl":"pkg:rpm/almalinux/mariadb-gssapi-server","source":"ALSA-2026:0233"},{"ecosystem":"AlmaLinux:8","fixed":["3:10.11.10-2.module_el8.10.0+4091+e8693c5e"],"introduced":["0"],"last_affected":[],"package":"mariadb-oqgraph-engine","purl":"pkg:rpm/almalinux/mariadb-oqgraph-engine","source":"ALSA-2026:0232"},{"ecosystem":"AlmaLinux:8","fixed":["3:10.3.39-2.module_el8.10.0+4093+5130acef"],"introduced":["0"],"last_affected":[],"package":"mariadb-oqgraph-engine","purl":"pkg:rpm/almalinux/mariadb-oqgraph-engine","source":"ALSA-2026:0225"},{"ecosystem":"AlmaLinux:8","fixed":["3:10.5.29-3.module_el8.10.0+4094+f90dcfa6"],"introduced":["0"],"last_affected":[],"package":"mariadb-oqgraph-engine","purl":"pkg:rpm/almalinux/mariadb-oqgraph-engine","source":"ALSA-2026:0233"},{"ecosystem":"AlmaLinux:8","fixed":["3:10.11.10-2.module_el8.10.0+4091+e8693c5e"],"introduced":["0"],"last_affected":[],"package":"mariadb-pam","purl":"pkg:rpm/almalinux/mariadb-pam","source":"ALSA-2026:0232"},{"ecosystem":"AlmaLinux:8","fixed":["3:10.5.29-3.module_el8.10.0+4094+f90dcfa6"],"introduced":["0"],"last_affected":[],"package":"mariadb-pam","purl":"pkg:rpm/almalinux/mariadb-pam","source":"ALSA-2026:0233"},{"ecosystem":"AlmaLinux:8","fixed":["3:10.11.10-2.module_el8.10.0+4091+e8693c5e"],"introduced":["0"],"last_affected":[],"package":"mariadb-server","purl":"pkg:rpm/almalinux/mariadb-server","source":"ALSA-2026:0232"},{"ecosystem":"AlmaLinux:8","fixed":["3:10.3.39-2.module_el8.10.0+4093+5130acef"],"introduced":["0"],"last_affected":[],"package":"mariadb-server","purl":"pkg:rpm/almalinux/mariadb-server","source":"ALSA-2026:0225"}],"prev":{"headline":"Deciso OPNsense diag_backup.php filename Directory Traversal Arbitrary File Creation Vulnerability","id":"CVE-2025-13698"},"products":["MariaDB"],"published":"2025-12-23","related":[],"sources":[{"class":"attribution","licence":"MIT","name":"AlmaLinux","prefix":"ALSA"},{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2025-12-24","vendors":["MariaDB"]},"summary":"Remote attackers can execute arbitrary code via directory traversal in the mariadb-dump utility due to improper path validation.","url":"https://insights.sbomify.com/CVE-2025-13699/"}