Skip to main content

MySQL Shell CVE-2026-34318

| EUVDEUVD-2026-24418 MEDIUM
Information Exposure (CWE-200)
2026-04-21 oracle
5.8
CVSS 3.1 · Vendor: oracle
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain or compromise high-privileged MySQL Shell credentials
  2. Delivery
    Connect to Shell instance over network via targeted protocol
  3. Exploit
    Satisfy high-complexity exploitation prerequisites
  4. Execution
    Trigger CWE-200 disclosure in Core Client component
  5. Persist
    Access critical data across scope boundary to adjacent systems
  6. Impact
    Exfiltrate complete Shell-accessible data

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V14 - Data Protection Data exposure prevention
MITRE ATT&CK

2 techniques across 2 tactics: Collection, Discovery

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires the attacker to already hold a high-privileged MySQL Shell account (PR:H) with network access to the target instance via at least one of MySQL Shell's supported protocols; the 'multiple protocols' phrasing suggests the flaw is in shared Core Client code rather than protocol-specific logic. High attack complexity (AC:H) implies additional non-default conditions must align - these could include specific Shell configuration states, session parameters, timing of the attack relative to Shell operations, or a particular sequence of commands that triggers the disclosure path; exact conditions are not specified in available data and must be confirmed with Oracle. The scope change (S:C) means the attack targets systems or data accessible from the Shell session beyond MySQL Shell itself, which may require the attacker's session to have connectivity to those downstream resources. What limits exploitation: the primary barrier is the requirement for a pre-authenticated, high-privileged account - unauthenticated remote attackers cannot initiate exploitation. The SSVC 'not automatable' rating confirms this cannot be scripted for opportunistic mass targeting. There is no required user interaction (UI:N). The unresolved 'Authentication Bypass' tag from VulDB may indicate a secondary authentication control is bypassed once initial access is established, which could slightly lower the effective privilege bar - verify with Oracle.

Impact

The CVSS 3.1 base score of 5.8 (Medium) reflects the tension between a high confidentiality impact with scope change and the substantial exploitation barriers of high attack complexity (AC:H) and high privilege requirements (PR:H). In practice, these prerequisites significantly constrain real-world risk: an attacker must already hold a high-privileged MySQL Shell account and must satisfy non-trivial complexity conditions before achieving exploitation. EPSS at 0.03% (8th percentile) is consistent with no observed exploitation activity, and SSVC independently rates exploitation as none, automatable as no, and technical impact as only partial - all signals converging on a low-urgency finding. No CISA KEV listing exists. One unresolved tension: the VulDB tag 'Authentication Bypass' conflicts with the PR:H metric; if the vulnerability itself bypasses a secondary authentication mechanism rather than the primary login, real-world privilege requirements may be lower than CVSS implies - this should be verified against the Oracle advisory. This is not a mass-exploitation risk but warrants patching on standard vulnerability management timelines, prioritizing environments where MySQL Shell is used by multiple principals or connects to high-value downstream systems.

Exploit ScenarioDerived

A rogue insider or attacker who has compromised a high-privileged database administrator account uses MySQL Shell's network connectivity across one of its supported protocols - JavaScript, Python, or SQL mode - to trigger the CWE-200 information disclosure in the Core Client, under specific high-complexity conditions such as a targeted query pattern or timing requirement. By exploiting the scope change, the attacker pivots to access critical data in systems connected to or reachable from the MySQL Shell session, exfiltrating complete schema contents beyond what the immediate Shell context should expose. No public proof-of-concept has been identified, and the high attack complexity means opportunistic exploitation is unlikely without targeted, environment-specific knowledge.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jul 24, 2026

Confidentiality breach in Oracle MySQL Shell's Core Client component across three major version branches (8.0.x, 8.4.x, and 9.0.x) permits a high-privileged, network-connected attacker to gain unauthorized access to critical or complete MySQL Shell-accessible data, with a CVSS scope change (S:C) indicating potential impact on adjacent systems. No public exploit code has been identified at time of analysis, and an EPSS score of 0.03% at the 8th percentile reflects near-zero observed exploitation probability. SSVC classifies exploitation status as none and technical impact as only partial, underscoring that despite the scope-change flag and high confidentiality impact, real-world urgency is low given the steep access prerequisites.

RemediationAI

The primary remediation is to upgrade MySQL Shell to a patched version per the Oracle Critical Patch Update (April 2026) advisory at https://www.oracle.com/security-alerts/cpuapr2026.html. Exact fixed version numbers are not independently confirmed from available data - consult the Oracle CPU directly to obtain the specific upgrade target for each branch (8.0.x, 8.4.x, 9.0.x). While patching is pending, apply compensating controls: restrict network access to MySQL Shell endpoints to only explicitly authorized administrator hosts using firewall rules or network segmentation, reducing the network-accessible attack surface. Audit and enforce least-privilege on MySQL Shell accounts so that high-privileged credentials are held only by named, accountable individuals - this directly raises the cost of exploitation. Review which downstream systems and schemas MySQL Shell sessions can reach, and limit cross-system connectivity where not operationally required to reduce scope-change exposure. Given the 'multiple protocols' reference, consider disabling unused Shell execution modes or protocol endpoints if the environment only uses a subset. Note that these controls reduce exposure but do not eliminate the vulnerability; patching remains the definitive fix.

Affected VersionsENISA

MySQL Shell 8.0.0 ≤8.0.45
MySQL Shell 9.0.0 ≤9.6.0
MySQL Shell 8.4.0 ≤8.4.8

Affected Packages

euvd mysql_shell no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

MySQL Shell is Oracle's advanced command-line client and scripting environment for MySQL, supporting JavaScript, Python, and SQL execution modes and used widely in enterprise database automation workflows. The vulnerability resides in the Core Client component, the shared engine underpinning all three execution modes, which explains the reference to 'multiple protocols' in the description. CWE-200 (Exposure of Sensitive Information to an Unauthorized Actor) identifies the root cause class as improper information filtering or access control - the Shell fails to enforce boundaries on data it surfaces or transmits to the attacker-controlled session. The CVSS scope change (S:C) is significant: it indicates the flaw enables access to resources or data outside the MySQL Shell process boundary itself, potentially reaching underlying MySQL server data, connected schemas, or other systems the Shell session is authorized to access. The CPE identifier cpe:2.3:a:oracle_corporation:mysql_shell:*:*:*:*:*:*:*:* spans all affected branches without further platform restriction.

Know when Mysql Shell gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (oracle) PRIMARY 5.8 MEDIUM
AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:N/A:N
vuln.today AI 5.8 MEDIUM

Network vector confirmed by multi-protocol access description; PR:H and AC:H reflect high-privilege and difficult exploitation requirements; S:C for adjacent-system data exposure; no integrity or availability impact described.

3.1 AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:N/A:N
4.0 AV:N/AC:H/AT:P/PR:H/UI:N/VC:H/VI:N/VA:N/SC:H/SI:N/SA:N

Primary rating from Vendor (oracle).

CVSS VectorVendor: oracle

Attack Vector
Network
Attack Complexity
High
Privileges Required
High
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
None
Availability
None

DescriptionCVE.org

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).

Threat Intelligence Overview

EPSS Score
0.0%
Top 92% exploitable
Prevalence
High
widely deployed Oracle database client across enterprise MySQL environments
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
High
Technical Impact
Partial

Priority Score

29
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +29
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy