CVE-2026-34318·MySQL vulnerability
Vulnerability in the MySQL Shell product of Oracle MySQL (component: Shell: Core Client). Supported versions that are affected are 8.0.0-8.0.45, 8.4.0-8.4.8 and 9.0.0-9.6.0. Difficult to exploit vulnerability allows high privileged attacker with network access via multiple protocols to compromise MySQL Shell. While the vulnerability is in MySQL Shell, attacks may significantly impact additional products (scope change). Successful attacks of this vulnerability can result in unauthorized access to critical data or complete access to all MySQL Shell accessible data. CVSS 3.1 Base Score 5.8 (Confidentiality impacts). CVSS Vector: (CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:N/A:N).
- Severity
- medium
- Software
- MySQL
- Fixed in
- 8.0.46-0ubuntu0.20.04.1+esm2
- Published
How likely is exploitation
FIRST's Exploit Prediction Scoring System puts the probability of this CVE being exploited in the next 30 days at <0.1% — higher than 16% of all published CVEs. EPSS is an independent forecast of exploitation, not a severity rating: it says nothing about how much damage a successful attack does, which is what a CVSS score measures.
Affected versions
From: 9.0.0
Until: 9.6.0
Fixed in: 8.0.46-0ubuntu0.20.04.1+esm2
How to fix this CVE
Update MySQL Shell to version 8.0.46 or later to patch a confidentiality vulnerability that allows high-privileged attackers to access sensitive data across multiple protocols. Organizations running affected versions (8.0.0–8.0.45, 8.4.0–8.4.8, or 9.0.0–9.6.0) should prioritize this update, particularly in environments where administrative access is granted to untrusted or semi-trusted users.
sudo dnf update mysql-serverDefensia detects this vulnerability
How to check if you are affected
- Check installed MySQL version: mysql --version or SELECT VERSION();
- Confirm MySQL Shell is deployed by checking for /usr/bin/mysqlsh or running mysqlsh --version
- Review user privilege tables (SELECT user, Host, Super_priv FROM mysql.user;) to identify high-privileged accounts
- After patching, verify the updated version: mysqlsh --version should show 8.0.46 or later
- Search MySQL audit logs or general query logs for suspicious data access patterns from administrative users
FAQ
What is CVE-2026-34318?
CVE-2026-34318 is a confidentiality vulnerability in MySQL Shell that allows high-privileged network attackers to access restricted data. The vulnerability exists in the Shell Core Client component and can impact connected database instances due to scope change.
Is CVE-2026-34318 being actively exploited?
No, CVE-2026-34318 is not currently listed in the CISA Known Exploited Vulnerabilities catalog and no public exploits are available.
What versions of MySQL are affected by CVE-2026-34318?
MySQL Shell versions 8.0.0–8.0.45, 8.4.0–8.4.8, and 9.0.0–9.6.0 are vulnerable. Administrators should upgrade to 8.0.46 or apply vendor patches for the 8.4.x and 9.x branches.
How do I check if my server is vulnerable to CVE-2026-34318?
Run mysqlsh --version to determine the installed version; if it falls within 8.0.0–8.0.45, 8.4.0–8.4.8, or 9.0.0–9.6.0, the system is vulnerable.
Does Defensia detect CVE-2026-34318?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If MySQL is installed on a monitored server, CVE-2026-34318 will appear in your dashboard with remediation steps.
Related MySQL CVEs
References
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2026-34318. Free for 1 server.
Get started free