CVE-2026-46850 Code injection in MySQL Shell
A code injection vulnerability in MySQL Shell for VS Code allows low-privileged attackers to take over the application via network access.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2026-46850?
CVE-2026-46850 is a critical code injection vulnerability in Oracle Corporation MySQL Shell, published on 16 Jun 2026. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
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).
Weakness: CWE-94
Which versions are affected by CVE-2026-46850?
1 open source package ship an affected version, including mysql-shell. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
mysql-shell Bitnami | From 2026.2.0 | 2026.5.0 |
Products include Oracle Mysql Shell.
How do I fix CVE-2026-46850?
Upgrade mysql-shell to 2026.5.0 or later.
Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.
Is CVE-2026-46850 being exploited?
There is no known exploitation of CVE-2026-46850 in the wild and no public exploit code.
Other vulnerabilities in Oracle Corporation MySQL Shell
Sources
Also known as BIT-mysql-shell-2026-46850, GHSA-hp88-v9x6-h934.