CVE-2026-46850

Oracle · MySQL Shell for VS Code

A vulnerability in the MySQL Shell for VS Code extension allows a low-privileged attacker to compromise the shell environment via network-accessible HTTP requests.

Executive summary

A critical vulnerability in the Oracle MySQL Shell extension for VS Code could allow an attacker to achieve full system takeover.

Vulnerability

This vulnerability involves an improper handling of network requests within the VS Code extension, allowing an attacker with low privileges to execute arbitrary commands. The flaw bypasses standard shell security boundaries, enabling the execution of unauthorized database operations.

Business impact

The vulnerability carries a CVSS score of 9.9, reflecting its potential to cause total compromise of the affected environment. Successful exploitation could lead to unauthorized access to sensitive database information, data manipulation, or complete system takeover, resulting in significant operational and reputational damage.

Remediation

Immediate Action: Update the MySQL Shell for VS Code extension to the patched version provided in Oracle's June 2026 Critical Patch Update.

Proactive Monitoring: Review access logs for anomalous HTTP requests targeting the VS Code extension and monitor for unexpected command execution patterns.

Compensating Controls: Restrict network access to the development environment and utilize endpoint security solutions to detect and block suspicious child process spawning from VS Code.

Exploitation status

Public Exploit Available: False

Analyst recommendation

Given the critical CVSS score, organizations must prioritize updating the MySQL Shell for VS Code extension immediately. Failure to patch may expose backend database infrastructure to unauthorized remote command execution and potential data breaches.