CVE-2026-46850 Code injection in MySQL Shell

Critical 9.9 Published Updated

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.

PackageAffectedFixed in
mysql-shell BitnamiFrom 2026.2.02026.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.

Sources

Also known as BIT-mysql-shell-2026-46850, GHSA-hp88-v9x6-h934.

Is CVE-2026-46850 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free