CVE-2026-107823

MariaDB: privilege escalation via incorrect view frm parsing

Published Oct 9, 2026 CVSS 3.1 · 7.2 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, the MariaDB view FRM parser did not safely encode embedded newline characters in a username. An account with CREATE USER and CREATE VIEW WITH GRANT OPTION could create a crafted username containing additional view metadata, causing the parser to interpret part of the username as security metadata and potentially escalating database privileges. 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

MariaDB server versions from 10.6.1 through 10.6.28, 10.11.19, 11.4.13, 11.8.9, 12.3.3, and 13.0.2 contain a flaw in the view FRM parser that fails to safely encode newline characters embedded in usernames. A user who can create new users and grant view creation privileges can craft a username containing additional view metadata; the parser then interprets part of that username as security metadata, effectively elevating the user's privileges beyond their intended scope. This flaw exposes a privilege escalation path that could allow an attacker to gain higher database access rights, impacting confidentiality, integrity, and availability at the database level.

Affected Systems

The vulnerability affects MariaDB Server deployments that run any of the following releases: 10.6.1 up to and including 10.6.28, 10.11.19, 11.4.13, 11.8.9, 12.3.3, and 13.0.2. All other MariaDB Server versions are considered not affected according to the advisory.

Risk and Exploitability

The CVSS base score of 7.2 indicates a high likelihood of impact for a successful exploit. Although the EPSS score is not publicly available, the lack of any listing in CISA's KEV catalog suggests that there are no known widespread attacks. The attack would require a user with the CREATE USER and CREATE VIEW WITH GRANT OPTION privileges; if such a privilege exists locally or can be granted remotely, the attacker can craft a malicious username to trigger the parser flaw and elevate privileges. Given the moderate to high severity and the relatively narrow prerequisite, the immediate risk to systems with privileged users remains significant until the fix is applied.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade MariaDB to a fixed release, such as 10.6.28, 10.11.19, 11.4.13, 11.8.9, 12.3.3, or 13.0.2, or any later version that incorporates the fix.
  • If an upgrade is not immediately possible, restrict or revoke CREATE USER and CREATE VIEW WITH GRANT OPTION permissions for any accounts that do not require them.
  • Audit the database for any users or views that were created before the patch and review or remove those that include newline characters in the username or unintended view metadata.

Generated by OpenCVE AI on October 10, 2026 at 01:21 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:*:*:*:*:*:*:*:*
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, the MariaDB view FRM parser did not safely encode embedded newline characters in a username. An account with CREATE USER and CREATE VIEW WITH GRANT OPTION could create a crafted username containing additional view metadata, causing the parser to interpret part of the username as security metadata and potentially escalating database privileges. 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: privilege escalation via incorrect view frm parsing
Weaknesses CWE-116
CWE-144
References
Metrics cvssV3_1

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

Weaknesses
  • CWE-116

    Improper Encoding or Escaping of Output

  • CWE-144

    Improper Neutralization of Line Delimiters

  • CWE-93

    Improper Neutralization of CRLF Sequences ('CRLF Injection')

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Oct 13, 2026, 5:04 PM
Reserved
Oct 8, 2026, 9:23 PM
Status
Analyzed
Published
Oct 9, 2026, 6:17 PM
Modified
Oct 14, 2026, 2:13 PM
Severity
Important
Public date
Oct 9, 2026, 5:30 PM