{"id":"CVE-2026-75092","summary":"Leapp-repository: leapp-upgrade-el9toel10: leapp-upgrade-el9toel10: scan_mysql runs mysqld --validate-config as root and can load mysql-writable plugins","details":"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:\nmysqld --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.\n\nA 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.\n\nWhen 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.","modified":"2026-09-17T03:47:34.027941410Z","published":"2026-09-15T08:23:12.505Z","database_specific":{"cna_assigner":"redhat","cwe_ids":["CWE-250"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/75xxx/CVE-2026-75092.json"},"references":[{"type":"WEB","url":"https://access.redhat.com/downloads/content/package-browser/"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:67608"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:67609"},{"type":"ADVISORY","url":"https://access.redhat.com/security/cve/CVE-2026-75092"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/75xxx/CVE-2026-75092.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-75092"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2517499"},{"type":"FIX","url":"https://github.com/oamg/leapp-repository/commit/3e4cafffc8de1600a66519b326a407f37b665356"},{"type":"FIX","url":"https://github.com/oamg/leapp-repository/pull/1343"},{"type":"PACKAGE","url":"https://github.com/oamg/leapp-repository"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/oamg/leapp-repository","events":[{"introduced":"0"},{"fixed":"3e4cafffc8de1600a66519b326a407f37b665356"}],"database_specific":{"source":"REFERENCES"}}],"versions":["v0.21.0","v0.20.0","v0.19.0","v0.18.0","v0.17.0","v0.16.0","v0.15.0","v0.14.0","v0.13.0","v0.12.0","v0.11.0","v0.10.0","v0.9.0","v0.8.1","v0.8.0","v0.7.0","v0.6.0","v0.5.0","v0.4.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-75092.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H"}]}