cve.bz

CVE-2026-75092 Leapp-repository: leapp-upgrade-el9toel10: leapp-upgrade-el9toel10: scan_mysql runs mysqld --validate-config as root and can load mysql-writable plugins

7.3 highEPSS 0.2%Fix available

High (7.3) in red hat. EPSS 0.2% estimated probability of exploitation activity in the next 30 days.

On this page
A privilege escalation flaw was found in the scan_mysql actor of leapp-upgrade-el9toel10 (provided by leapp-repository). During RHEL 9 to RHEL 10 upgrades, the actor runs: mysqld --validate-config --log-error-verbosity=2 directly as root in the Leapp actor context, bypassing the packaged MySQL systemd unit that normally starts the daemon as User=mysql. A process compromised as the mysql OS identity can write a version-2 persisted configuration (mysqld-auto.cnf) and a malicious shared object into /var/lib/mysql (a directory owned by mysql). That persisted map can set plugin_dir to /var/lib/mysql and early_plugin_load (or related loader options such as plugin_load / plugin_load_add) so MySQL loads the attacker-controlled object during configuration validation. Plugin loading can reach dlopen() before MySQL’s runtime-user check and before plugin-symbol validation. When an administrator subsequently runs the documented Leapp preupgrade or upgrade workflow, attacker-controlled code can execute as UID 0 with a full capability set in an unconfined SELinux domain (unconfined_t). The attack does not require write access to the default system plugin path under /usr; redirecting plugin_dir via mysql-owned persisted state is sufficient. Ordinary SQL privileges alone (including highly privileged SQL accounts) are not a sufficient startpoint — OS-level execution as the mysql service identity is required, plus later administrator invocation of Leapp.

Severity

CVSS 3.1

7.3 high
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
EPSS
0.2% (unchanged from 0.2% a week ago; 0.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 5th percentile. Scored 2026-11-30. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: total, assessed 2026-09-15. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-250 Execution with Unnecessary Privileges
Published
Modified
Assigned by
redhat (CNA)
NVD analysis
Awaiting analysis
Record from
the NVD, synced

Fix and patched versions

  • Red Hat Red Hat Enterprise Linux 9: fixed in 0:0.24.0-1.el9_8.1
  • Red Hat Red Hat Enterprise Linux 9.6 Extended Update Support: fixed in 0:0.22.0-1.el9_6.2
  • Red Hat, Rocky Linux: fixed package versions per release

Ask an AI about this CVE

Show the promptExplain CVE-2026-75092 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-75092?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-75092?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-75092 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

Fixed in

ProductFixed in
Red Hat Enterprise Linux 90:0.24.0-1.el9_8.1
Red Hat Enterprise Linux 9.6 Extended Update Support0:0.22.0-1.el9_6.2

Linux distributions

DistributionReleasePackageFixed inAdvisory
Red Hatenterprise_linux:9::appstreamleapp-repository, leapp-upgrade-el9toel10, leapp-upgrade-el9toel10-deps and 1 more0:0.24.0-1.el9_8.1RHSA-2026:67608
Red Hatrhel_eus:9.6::appstreamleapp-repository, leapp-upgrade-el9toel10, leapp-upgrade-el9toel10-deps0:0.22.0-1.el9_6.2RHSA-2026:67609
Rocky Linux9leapp-repository0:0.24.0-1.el9_8.1RLSA-2026:67608

From the distributions' data via OSV.dev: Red Hat Security Data © Red Hat, Inc., CC BY 4.0; Rocky Linux's errata, BSD-3-Clause. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Red Hat.

Red Hat

Red Hat rates this Important.

Red Hat's statement

This is an Important privilege escalation flaw in the Leapp upgrade process from RHEL 9 to RHEL 10. An attacker with prior OS-level code execution as the `mysql` service user can leverage this during a Leapp preupgrade or upgrade to execute arbitrary code as root. This occurs because the `scan_mysql` actor invokes `mysqld --validate-config` as root, allowing it to load malicious plugins from a MySQL-owned directory.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 9leapp-repository-0:0.24.0-1.el9_8.1Fixed 2026-09-15RHSA-2026:67608
Red Hat Enterprise Linux 9.6 Extended Update Supportleapp-repository-0:0.22.0-1.el9_6.2Fixed 2026-09-15RHSA-2026:67609
Red Hat Enterprise Linux 8leapp-repositoryNot affected
Red Hat OpenStack Platform 17.1leapp-repository-openstackNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-75092.

Attack patterns (CAPEC)

  • CAPEC-69 Target Programs with Elevated Privileges Likelihood: High · Severity: Very High
  • CAPEC-104 Cross Zone Scripting Likelihood: Medium · Severity: High
  • CAPEC-470 Expanding Control over the Operating System from the Database Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON