CVE-2026-86047

MariaDB: Insufficient quoting in mariadb-dump and SHOW commands

Published Oct 16, 2026 CVSS 3.1 · 7.7 High EPSS < 1% KEV · Not listed
Description
MariaDB server is a community developed fork of MySQL server. From 10.6.1 until 10.6.28, 10.11.19, 11.4.13, 11.8.9, 12.3.3, and 13.0.2, SHOW CREATE SERVER, SHOW CREATE USER, and mariadb-dump are affected because each does not consistently quote identifiers and values when serializing SQL. A low-privileged attacker can trigger the issue when an attacker-created object with crafted identifiers or values is included in SHOW output or a dump, then create an object with crafted identifiers or values so generated SQL contains injected statements and execute attacker-injected SQL when the poisoned output is applied. This issue is fixed in versions 10.6.28, 10.11.19, 11.4.13, 11.8.9, 12.3.3, and 13.0.2.

Analysis

AI-generated

Technical impact

A low‑privileged attacker can exploit improper quotation of identifiers and values in MariaDB’s SHOW CREATE and mariadb‑dump utilities. By creating an object with crafted identifiers or values, the attacker injects statements into the generated SQL. When that output is re‑applied, the database executes the injected SQL, allowing arbitrary command execution within the database context. The vulnerability afflicts the server’s serialization logic, enabling classic SQL‑injection style attacks against database objects that are later dumped or recreated.

Affected Systems

MariaDB Server versions 10.6.1 through 10.6.28, 10.11.19, 11.4.13, 11.8.9, 12.3.3, and 13.0.2 are affected. Upgrading to the corresponding patched releases (10.6.28, 10.11.19, 11.4.13, 11.8.9, 12.3.3, or 13.0.2 or later) resolves the issue.

Risk and Exploitability

The CVSS score of 7.7 indicates a high severity, with a moderate to high likelihood of exploitation given sufficient privileges. The EPSS score is not available, so the exact exploitation probability cannot be quantified. The vulnerability is not currently listed in CISA KEV. Exploitation requires the ability to create database objects; thus the attack vector is privileged via SQL CREATE actions, and the impact is confined to the database server on the affected systems.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade MariaDB Server to a patched release (10.6.28, 10.11.19, 11.4.13, 11.8.9, 12.3.3, or 13.0.2 or newer).
  • If an upgrade is not immediately possible, restrict privileges so that only trusted accounts possess the ability to create objects that could be included in SHOW outputs; remove CREATE privilege from untrusted users.
  • Continue monitoring database logs for anomalous activity such as unexpected SQL execution that may indicate exploitation attempts.

Generated by OpenCVE AI on October 16, 2026 at 20:01 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Mariadb mariadb
CPEs cpe:2.3:a:mariadb:mariadb:*:*:*:*:*:*:*:*
cpe:2.3:a:mariadb:mariadb:13.0.1:*:*:*:*:*:*:*
Vendors & Products Mariadb mariadb
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Mariadb
Mariadb server
Vendors & Products Mariadb
Mariadb server
Type Values Removed Values Added
Description MariaDB server is a community developed fork of MySQL server. From 10.6.1 until 10.6.28, 10.11.19, 11.4.13, 11.8.9, 12.3.3, and 13.0.2, SHOW CREATE SERVER, SHOW CREATE USER, and mariadb-dump are affected because each does not consistently quote identifiers and values when serializing SQL. A low-privileged attacker can trigger the issue when an attacker-created object with crafted identifiers or values is included in SHOW output or a dump, then create an object with crafted identifiers or values so generated SQL contains injected statements and execute attacker-injected SQL when the poisoned output is applied. This issue is fixed in versions 10.6.28, 10.11.19, 11.4.13, 11.8.9, 12.3.3, and 13.0.2.
Title MariaDB: Insufficient quoting in mariadb-dump and SHOW commands
Weaknesses CWE-89
References
Metrics cvssV3_1

{'score': 7.7, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:N/I:H/A:H'}

Weaknesses
  • CWE-89

    Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Oct 19, 2026, 12:42 PM
Reserved
Sep 4, 2026, 7:29 PM
Status
Analyzed
Published
Oct 16, 2026, 5:17 PM
Modified
Oct 20, 2026, 3:32 PM
Severity
Important
Public date
Oct 16, 2026, 4:37 PM