CODERED VTA

Red Hat Patches Nine MariaDB Flaws Enabling Code Execution and Privilege Escalation

Medium
Hacker in a dark room
Photo by Michael Geiger on Unsplash

Red Hat has issued security advisory RHSA-2026:104713, rated Important, covering nine vulnerabilities in the mariadb10.11 packages shipped with Red Hat Enterprise Linux 10.2 Extended Update Support. MariaDB is the community fork of MySQL and is widely deployed as the backing database for web applications, identity stores and internal line-of-business systems, so the affected package set reaches far beyond dedicated database hosts. The flaws break down into two arbitrary code execution issues (CVE-2026-107814 and CVE-2026-107821), four privilege escalation issues (CVE-2026-107818, CVE-2026-107823, CVE-2026-97380 and CVE-2026-92262), a memory-safety defect (CVE-2026-85746), an SQL injection weakness (CVE-2026-86047) and an unauthorised data access issue (CVE-2026-102523). Affected builds span every architecture Red Hat supports for the 10.2 stream, including x86_64, aarch64, ppc64le and s390x, across the Extended Update Support, four-years-of-updates and Extended Life Cycle channels. Fixed packages are published at version 10.11.19-1.el10_2.

Red Hat has not published step-by-step exploitation details for these issues, and the advisory describes each flaw only by its class and entry point, so the following reflects what the vendor states rather than any observed attack chain. CVE-2026-107814 concerns an insecure home directory assigned to the MariaDB service account, while CVE-2026-107818 involves environment variable injection during a service restart — both are local conditions tied to how the daemon is installed and started rather than anything reachable over the network. CVE-2026-107821 stems from crafted FRM table metadata, meaning a malicious or tampered table definition file can lead to code execution, and CVE-2026-107823 abuses unescaped newline characters in the view parser to gain privileges the account should not hold. On the data-access side, CVE-2026-86047 is an SQL injection caused by improper identifier quoting, CVE-2026-92262 covers a family of problems arising from the legacy #mysql50# table name encoding bypass, and CVE-2026-102523 permits access to tables through unencoded partition names. CVE-2026-85746 is an out-of-bounds buffer write triggered when the ST_AsText function processes nested GeometryCollections, a classic memory corruption path reachable through ordinary SQL.

The practical concern is the combination of flaw types in a single update. A database server that accepts queries from an application tier is already exposed to anyone who can reach that tier, and the injection, parser and geometry function issues sit squarely on that path; the service account and restart issues give an attacker who already has a foothold on the host a route to higher privileges. Where MariaDB stores customer records, credentials or financial data, unauthorised table access and privilege escalation translate directly into confidentiality loss and potential regulatory exposure. None of the nine CVEs currently show signs of active exploitation: FIRST EPSS places the thirty-day exploitation probability at 1.5% for CVE-2026-92262, 1.3% for CVE-2026-97380, 1.2% for CVE-2026-107821, 1.0% for CVE-2026-85746, 0.9% for CVE-2026-86047, 0.8% for both CVE-2026-107823 and CVE-2026-102523, 0.5% for CVE-2026-107814 and 0.4% for CVE-2026-107818. There is no indication in the advisory that any of these issues were discovered through in-the-wild attacks, and none appear in the CISA Known Exploited Vulnerabilities catalogue. The realistic risk window is the gap between publication and patching, since advisory text and package diffs give researchers and attackers alike a clear starting point for reconstructing the underlying bugs — a long-lived gap on an internet-adjacent database tier is where this becomes an operational problem rather than a scheduled maintenance item.

Attack Surface

Database, Server OS

Tactics

Initial Access, Execution, Privilege Escalation, Collection

Techniques

  • T1190 – Exploit Public-Facing Application
  • T1068 – Exploitation for Privilege Escalation
  • T1574 – Hijack Execution Flow
  • T1078 – Valid Accounts
  • T1213 – Data from Information Repositories

SuperPRO's Threat Countermeasures Procedures

  1. Update all mariadb10.11 packages on RHEL 10.2 Extended Update Support, four-years-of-updates and Extended Life Cycle systems to 10.11.19-1.el10_2 or later, covering mariadb, mariadb-server, mariadb-backup, mariadb-common, mariadb-client-utils, mariadb-server-galera and mariadb-embedded on x86_64, aarch64, ppc64le and s390x, then restart the mariadbd service so the running daemon picks up the fixed binaries.
  2. Use Red Hat Lightspeed patch analysis against RHSA-2026:104713 to enumerate which registered hosts still carry pre-10.11.19 mariadb10.11 packages, and verify locally with rpm -q mariadb-server on any system not reporting into Red Hat Insights.
  3. Audit proxy grants for accounts created with an empty password, which CVE-2026-97380 allows to escalate privileges, by querying SELECT * FROM mysql.proxies_priv and SELECT user, host, authentication_string FROM mysql.global_priv WHERE authentication_string = '' and removing or re-credentialing any match.
  4. Review the mysql service account environment for the two local escalation paths: confirm the home directory recorded in /etc/passwd for the mysql user is owned by mysql with mode 750 and contains no world-writable files (CVE-2026-107814), and inspect /etc/systemd/system/mariadb.service.d/ and /etc/sysconfig/mariadb for unexpected Environment or EnvironmentFile entries that could be injected on restart (CVE-2026-107818).
  5. Enumerate legacy and malformed object names that the encoding flaws abuse by listing database and table names containing the #mysql50# prefix (CVE-2026-92262) and reviewing partitioned tables via SELECT TABLE_SCHEMA, TABLE_NAME, PARTITION_NAME FROM information_schema.PARTITIONS for names with characters that are not plain ASCII identifiers (CVE-2026-102523).
  6. Restrict TCP/3306 to application-tier source addresses using firewalld rich rules or security group policy, and bind mariadbd to an internal interface with bind-address in /etc/my.cnf.d/mariadb-server.cnf so the SQL injection and parser flaws (CVE-2026-86047, CVE-2026-107823) are not reachable from untrusted networks.
  7. Enable MariaDB audit or general query logging and alert on calls to ST_AsText involving nested GeometryCollections (CVE-2026-85746), on CREATE VIEW and ALTER VIEW statements containing raw newline characters, and on mariadbd segfault or signal 11 entries appearing in /var/log/mariadb/mariadb.log.

Source

Code Red Cyber / VTA – coderedcyber.ai