CVE-2026-48774
published 2026-06-19CVE-2026-48774: ProxySQL is a proxy for MySQL and its forks, as well as PostgreSQL. In versions 3.0.0 through 3.0.8, ProxySQL's GenAI/MCP `run_sql_readonly` tool violates its…
PriorityP346high7.5CVSS 3.1
AVNACLPRNUINSUCNIHAN
EPSS
0.23%
13.2th percentile
ProxySQL is a proxy for MySQL and its forks, as well as PostgreSQL. In versions 3.0.0 through 3.0.8, ProxySQL's GenAI/MCP `run_sql_readonly` tool violates its documented read-only contract for MySQL targets. The tool validates only the full input string with a substring blacklist and first-keyword allowlist, but then executes the entire SQL string on a backend connection created with `CLIENT_MULTI_STATEMENTS`. As a result, a caller can submit a read-only first statement followed by a side-effecting second statement, such as `SELECT 1; RENAME TABLE ...`. The validator accepts the payload because it starts with `SELECT` and because side-effecting MySQL statements such as `RENAME TABLE`, `SET`, `RESET`, `LOCK TABLES`, and `KILL` are not rejected by the blacklist. In a live MCP runtime test, the `/mcp/query` endpoint accepted a `run_sql_readonly` request. The MCP response reported success for the first `SELECT`, and direct backend verification showed that the table had actually been renamed. This violates the endpoint's read-only security contract and lets an MCP caller perform backend writes or administrative SQL, limited by the configured MCP target account's database privileges. Version 3.0.9 contains a fix. Other operator mitigations include: keeping MCP disabled unless required; setting a non-empty `mcp-query_endpoint_auth` token before exposing `/mcp/query`; restricting MCP listener network exposure; configuring MCP backend target credentials as database-level read-only users; and adding temporary MCP query rules to block obvious multi-statement patterns.
Affected
1 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| sysown | proxysql | — | — |
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2026-48774 proxysql: ProxySQL: Unauthorized write operations via insufficient SQL statement validation. [epel-all]
bugzilla·2026-06-22·CVSS 7.5
CVE-2026-48774 [HIGH] CVE-2026-48774 proxysql: ProxySQL: Unauthorized write operations via insufficient SQL statement validation. [epel-all]
CVE-2026-48774 proxysql: ProxySQL: Unauthorized write operations via insufficient SQL statement validation. [epel-all]
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.
Discussion:
Vulnerable version not shipped in EPEL.
Bugzilla
CVE-2026-48774 proxysql: ProxySQL: Unauthorized write operations via insufficient SQL statement validation. [fedora-all]
bugzilla·2026-06-22·CVSS 7.5
CVE-2026-48774 [HIGH] CVE-2026-48774 proxysql: ProxySQL: Unauthorized write operations via insufficient SQL statement validation. [fedora-all]
CVE-2026-48774 proxysql: ProxySQL: Unauthorized write operations via insufficient SQL statement validation. [fedora-all]
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.
Discussion:
I prepared a proxysql 3.0.9 update for Rawhide to address this CVE and would like to
adopt the orphaned package. I am not yet in the packager group and need a sponsor.
Update summary
* Bumped proxysql from 3.0.2 to 3.0.9 (fixes CVE-2026-48774 upstream in 3.0.9)
* Refreshed Fedora patches for upstream 3.0.9 build-system changes
* OpenSSL 3 / Rawhide compile fixes retained
* Local mock build succeeded: proxysql-3.0.9-1.fc45.x86_64
Dist-g
Bugzilla
CVE-2026-48774 proxysql: ProxySQL: Unauthorized write operations via insufficient SQL statement validation.
bugzilla·2026-06-19·CVSS 7.5
CVE-2026-48774 [HIGH] CVE-2026-48774 proxysql: ProxySQL: Unauthorized write operations via insufficient SQL statement validation.
CVE-2026-48774 proxysql: ProxySQL: Unauthorized write operations via insufficient SQL statement validation.
ProxySQL is a proxy for MySQL and its forks, as well as PostgreSQL. In versions 3.0.0 through 3.0.8, ProxySQL's GenAI/MCP `run_sql_readonly` tool violates its documented read-only contract for MySQL targets. The tool validates only the full input string with a substring blacklist and first-keyword allowlist, but then executes the entire SQL string on a backend connection created with `CLIENT_MULTI_STATEMENTS`. As a result, a caller can submit a read-only first statement followed by a side-effecting second statement, such as `SELECT 1; RENAME TABLE ...`. The validator accepts the payload because it starts with `SELECT` and because side-effecting MySQL statements such as `RENAME TABLE
2026-06-19
Published