Vulnerability in ProxySQL Affects MySQL Database Operations
CVE-2026-48774
What is CVE-2026-48774?
ProxySQL, a high-performance proxy for MySQL and PostgreSQL, is vulnerable in versions 3.0.0 through 3.0.8 due to improper handling of SQL statements in the GenAI/MCP 'run_sql_readonly' tool. This vulnerability allows an attacker to bypass read-only constraints by exploiting the substring blacklist and first-keyword allowlist in place. By initiating a read-only request, users can inject additional SQL statements that modify database schemas or execute harmful operations. The oversight is significant as accepted requests lead to unintended write operations, undermining the integrity of database security. Operators are advised to upgrade to version 3.0.9, implement access restrictions on the MCP endpoint, and adopt further precautions to safeguard against this vulnerability.
Affected Version(s)
proxysql >= 3.0.6, < 3.0.9
