Skip to main content

MySQL Shell EUVDEUVD-2026-37343

| CVE-2026-46850 CRITICAL
Code Injection (CWE-94)
2026-06-16 oracle
9.9
CVSS 3.1 · Vendor: oracle
View

Attack ChainAIDerived

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

  1. Recon
    Identify workstation running MySQL Shell for VS Code
  2. Delivery
    Reach extension HTTP listener over network
  3. Exploit
    Authenticate with low-privilege credentials
  4. Install
    Send crafted HTTP request abusing flaw
  5. C2
    Take over MySQL Shell session (scope change)
  6. Execute
    Pivot into connected MySQL servers
  7. Impact
    Exfiltrate or alter database contents

Vulnerability Assessment

Weakness
CWE
MITRE ATT&CK

2 techniques across 2 tactics: Execution, Initial Access

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

Exploitation Conditions

The attacker must (1) have network HTTP reachability to a workstation running MySQL Shell 2026.2.0+9.6.1 with the Shell for VS Code component active, and (2) possess low-level privileges (PR:L) - typically a valid but unprivileged account or session recognized by the Shell or its host. No user interaction is required (UI:N) and attack complexity is low (AC:L). Practical limiting factors: the affected surface is a developer-side VS Code extension rather than a server daemon, so exposure depends on whether the extension's HTTP listener is bound beyond loopback, whether multiple users share the host, and whether the workstation is reachable from untrusted network segments; environments that keep MySQL Shell on isolated developer laptops behind a host firewall materially reduce real-world reachability.

Impact

All raw signals point to high priority: CVSS 3.1 base 9.9 with AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H means network-reachable, low complexity, only low privileges required, no user interaction, and complete CIA impact with scope change. EPSS exploitation probability and KEV status were not provided in the input, so widespread mass exploitation cannot be confirmed yet, and no public exploit identified at time of analysis. The tension worth flagging is that the description labels this 'easily exploitable' over HTTP, yet 'MySQL Shell for VS Code' is typically a developer-side IDE extension rather than an internet-exposed service - so 'network access via HTTP' may in practice mean LAN- or localhost-scoped HTTP traffic to the extension's listener. Treat as a high priority for any environment where developers run the affected MySQL Shell VS Code build on shared or multi-tenant hosts.

Exploit ScenarioDerived

An attacker who already holds a low-privileged account or session on the same network as a developer running the affected MySQL Shell for VS Code build sends crafted HTTP requests to the extension's listener, abuses the flaw to take over the Shell session, and then leverages the Shell's existing authenticated connection to pivot into MySQL servers - reading sensitive data, altering schemas, or disrupting service. No public exploit identified at time of analysis, but Oracle explicitly labels the issue 'easily exploitable', so weaponization effort is expected to be low once technical details circulate.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
No patch listed yet 0.4% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Jun 16, 2026

Privilege escalation and full takeover of Oracle MySQL Shell's VS Code extension affects version 2026.2.0+9.6.1, allowing a low-privileged remote attacker with HTTP network access to fully compromise the Shell with confidentiality, integrity, and availability impact. Because the CVSS vector indicates a scope change (S:C), successful exploitation propagates impact beyond the Shell itself into adjacent components the extension connects to, such as MySQL servers managed through the VS Code workflow. No public exploit identified at time of analysis, but the 9.9 base score and 'easily exploitable' wording from Oracle warrant urgent remediation.

RemediationAI

Patch available per vendor advisory: apply the fixes published in Oracle's June 2026 Critical Patch Update (https://www.oracle.com/security-alerts/cspujun2026.html) for MySQL Shell, updating away from 2026.2.0+9.6.1 to the Oracle-released patched build referenced in that CPU. Until the upgrade is applied, restrict who can reach the MySQL Shell for VS Code listener - keep developer workstations off shared multi-user hosts, bind the extension's HTTP interface to localhost only via host firewall rules, and limit which accounts on a workstation can connect to the extension; note the trade-off that locking the listener to loopback will break any legitimate remote-attach or remote-IDE workflows. Revoke any low-privilege MySQL Shell credentials shared with untrusted users on the same network segment, and audit MySQL servers reachable from affected workstations for unexpected configuration or schema changes given the scope-change impact.

Affected VersionsENISA

MySQL Shell 2026.2.0+9.6.1

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

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

Technical ContextAI · show details

The affected component is the 'Shell for VS Code' module of MySQL Shell, Oracle's interactive client used by DBAs and developers to administer MySQL servers from inside Visual Studio Code. CPE cpe:2.3:a:oracle_corporation:mysql_shell:*:*:*:*:*:*:*:* names the Oracle MySQL Shell product; the EUVD record narrows the affected build to 2026.2.0+9.6.1. CWE was not assigned by Oracle, but the combination of AV:N, low privileges, and a scope change is characteristic of an HTTP-reachable management surface in the VS Code extension (such as a local-listener or session endpoint) that mishandles authorization or input, letting a holder of limited credentials pivot to full control over the Shell session and the database connections it brokers.

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 9.9 CRITICAL
AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
vuln.today AI 9.9 CRITICAL

HTTP-reachable extension surface (AV:N), low complexity per Oracle (AC:L), requires a low-privileged session (PR:L), no user interaction, and scope-change full CIA impact via the Shell's database connections.

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

Primary rating from Vendor (oracle).

CVSS VectorVendor: oracle

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

DescriptionCVE.org

Vulnerability in the MySQL Shell product of Oracle MySQL (component: Shell for VS Code). The supported version that is affected is 2026.2.0+9.6.1. Easily exploitable vulnerability allows low privileged attacker with network access via HTTP 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 takeover of MySQL Shell. CVSS 3.1 Base Score 9.9 (Confidentiality, Integrity and Availability impacts). CVSS Vector: (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H).

Executive ViewAI

Why It Matters

Oracle MySQL Shell VS Code extension (versions 2026.2.0+9.6.1 and later) is affected by a critical privilege escalation vulnerability (CVSS 9.9) that enables low-privileged remote attackers to achieve full takeover of the extension and connected database infrastructure. The scope change in the vulnerability means exploitation directly impacts MySQL servers managed through VS Code, exposing customer and production data to compromise.

Business Impact: Severe
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: (1) Disable MySQL Shell VS Code extension until patch is available; (2) Implement network segmentation to restrict outbound HTTP access from VS Code environments; (3) Limit VS Code use to isolated development networks with restricted database connectivity; (4) Establish daily monitoring of Oracle security advisories for patch availability.

Threat Intelligence Overview

EPSS Score
0.4%
Top 65% exploitable
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 CRITICAL
CISA KEV No
Public POC No
EPSS 0.4%
Patch available No
Active threat No
Deciding rule
CRITICAL severity
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
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
Very High
Technical Impact
Total

Priority Score

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

Attack Technique

Code Injection CRITICAL

Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

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