CVE-2026-48774
Last modified
CVE-2026-48774 is a high-severity vulnerability rated 7.5/10 on the CVSS scale. 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. EPSS estimates a 0.38% chance of exploitation in the next 30 days.
Description
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Proxysql | Proxysql | >= 4.0.6, < 4.0.9 |
References
- https://github.com/sysown/proxysql/security/advisories/GHSA-7wh6-2vcc-gcm4Exploit, Mitigation, Vendor Advisory
- https://github.com/sysown/proxysql/security/advisories/GHSA-7wh6-2vcc-gcm4Exploit, Mitigation, Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-48774?
How severe is CVE-2026-48774?
How do I fix CVE-2026-48774?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-48768TypeBot is a chatbot builder tool. In versions 3.16.1 and ea…9.3
- CVE-2026-4877A security flaw has been discovered in itsourcecode Payroll …4.3
- CVE-2026-48770Notepad++ is a free and open-source source code editor. Prio…5
- CVE-2026-48771ishankportfolio is a portfolio website. Prior to version 1.0…8.2
- CVE-2026-48772ProxySQL is a proxy for MySQL and its forks, as well as Post…10
- CVE-2026-48773ProxySQL is a proxy for MySQL and its forks, as well as Post…9.8
- CVE-2026-48775LangGraph SQLite Checkpoint is an implementation of LangGrap…6.8
- CVE-2026-48776LangGraph Python SDK is used to connect to running LangGraph…9.1
- CVE-2026-48777FileBrowser Quantum is a free, self-hosted, web-based file m…9.3
- CVE-2026-48778Notepad++ is a free and open-source source code editor. Prio…7.8
- CVE-2026-48779ws is an open source WebSocket client and server for Node.js…7.5
- CVE-2026-4878A flaw was found in libcap. A local unprivileged user can ex…7
Are you affected by CVE-2026-48774?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
