CVE-2026-46870: Oracle MySQL Shell access control bypass in Shell for VS Code

CVE-2026-46870 · Severity: high · CVSS 8.5 · Published 2026-06-17

A vulnerability exists in the MySQL Shell extension for Visual Studio Code, a tool used by developers and database administrators to manage MySQL databases. A remote attacker with low-level access could exploit this flaw to take full control of the MySQL Shell environment. Because this tool integrates with other development systems, a successful attack could potentially compromise additional software or data beyond the database shell itself.

Technologies: Oracle MySQL Shell for VS Code. Vendors: Oracle.

Quick answers

Is CVE-2026-46870 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-46870 being exploited in the wild.
How severe is CVE-2026-46870?
High severity, with a CVSS score of 8.5, published 17 June 2026.
Which products and versions are affected?
Oracle MySQL Shell for VS Code 2026.2.0+9.6.1.
Is there a fix for CVE-2026-46870?
No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.
How is CVE-2026-46870 attacked?
It is attacked over the network, in a software library.
Am I affected by CVE-2026-46870?
Check whether you run Oracle MySQL Shell for VS Code at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

Technical details

This vulnerability is classified as Improper Access Control (CWE-284) within the 'Shell for VS Code' component of Oracle MySQL Shell. It is reachable via multiple protocols over the network, though exploitation is considered difficult (High Attack Complexity) and requires at least low-privileged user credentials. The flaw is notable for a 'Scope Change' (S:C), meaning a successful exploit can impact resources beyond the immediate security scope of the MySQL Shell. Successful exploitation results in a complete loss of confidentiality, integrity, and availability for the affected component. Version 2026.2.0+9.6.1 is explicitly listed as affected.

Affected products

  • Oracle MySQL Shell for VS Code 2026.2.0+9.6.1

Timeline

  • 2026-06-17: disclosed
  • 2026-06-17: advisory

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.