CVE-2026-114950

Description

A flaw was found in the MySQL query optimizer. A remote attacker with high-level administrative privileges can exploit this vulnerability over network protocols. Successful exploitation can lead to a complete takeover of the MySQL server, resulting in unauthorized data modification, information disclosure, or denial of service.

Statement

This vulnerability is rated as Important rather than Critical because successful exploitation requires an attacker to already possess high-level administrative credentials on the MySQL instance, even though it can lead to complete database server takeover. In typical Red Hat Enterprise Linux deployments, database services are isolated within protected internal network zones and administrative privileges are restricted, reducing exposure. The flaw resides within the query optimizer component and can be triggered remotely across network protocols by authorized privileged users, resulting in complete loss of system confidentiality, integrity, and availability.

Mitigation

Restrict network access to the MySQL service so that only trusted client hosts and management interfaces can connect, and enforce strict least-privilege principles for administrative accounts.

1. Configure firewalld to block general access to the MySQL port (default 3306) and only permit connections from authorized source IPs:
# firewall-cmd --permanent --zone=internal --add-source=<TRUSTED_IP_OR_SUBNET>
# firewall-cmd --permanent --zone=internal --add-service=mysql
# firewall-cmd --permanent --remove-service=mysql
# firewall-cmd --reload

2. If external network connections are not required, bind the service to the loopback address by setting `bind-address = 127.0.0.1` under the `[mysqld]` section in `/etc/my.cnf`, then restart the daemon:
# systemctl restart mysqld

Caveats:
Restricting access prevents remote clients that are not explicitly permitted from establishing database connections.

Warning:
Reloading firewall rules drops unestablished connections, and restarting the mysqld service terminates all active client sessions and causes temporary service downtime.

Common Vulnerability Scoring System (CVSS) Score Details

Info alert:Important note

CVSS scores for open source components depend on vendor-specific factors (e.g. version or build chain). Therefore, Red Hat's score and impact rating can be different from NVD and other vendors. Red Hat remains the authoritative CVE Naming Authority (CNA) source for its products and services (see Red Hat classifications).

The following CVSS metrics and score provided are preliminary and subject to review.

CVSS v3 Score Breakdown

Red HatNVDcve.org
Base Score7.2N/A7.2
Attack VectorNetworkN/ANetwork
Attack ComplexityLowN/ALow
Privileges RequiredHighN/AHigh
User InteractionNoneN/ANone
ScopeUnchangedN/AUnchanged
ConfidentialityHighN/AHigh
Integrity ImpactHighN/AHigh
Availability ImpactHighN/AHigh

Vector

Red Hat: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H

cve.org: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H

Understanding the Weakness (CWE)

Access Control

Technical Impact: Bypass Protection Mechanism

In some cases, injectable code controls authentication; this may lead to a remote vulnerability.

Access Control

Technical Impact: Gain Privileges or Assume Identity

Injected code can access resources that the attacker is directly prevented from accessing.

Integrity,Confidentiality,Availability

Technical Impact: Execute Unauthorized Code or Commands

When a product allows a user's input to contain code syntax, it might be possible for an attacker to craft the code in such a way that it will alter the intended control flow of the product. As a result, code injection can often result in the execution of arbitrary code. Code injection attacks can also lead to loss of data integrity in nearly all cases, since the control-plane data injected is always incidental to data recall or writing.

Non-Repudiation

Technical Impact: Hide Activities

Often the actions performed by injected control code are unlogged.

Frequently Asked Questions

Want to get errata notifications? Sign up here.