CVE-2026-48772
Last modified
CVE-2026-48772 is a critical-severity vulnerability rated 10/10 on the CVSS scale. ProxySQL is a proxy for MySQL and its forks, as well as PostgreSQL. In versions 2.0.0 through 3.0.8, the ProxySQL MySQL frontend accepts the `PROXY UNKNOWN <addr> <addr> <port> <port>\r\n` PP1 frame as a well-formed PROXY protocol header. EPSS estimates a 0.23% chance of exploitation in the next 30 days.
Description
ProxySQL is a proxy for MySQL and its forks, as well as PostgreSQL. In versions 2.0.0 through 3.0.8, the ProxySQL MySQL frontend accepts the `PROXY UNKNOWN <addr> <addr> <port> <port>\r\n` PP1 frame as a well-formed PROXY protocol header. The HAProxy PROXY protocol v1 specification says that when the protocol token is `UNKNOWN`, the receiver MUST ignore any address fields that follow it, because the proxy has declared it cannot determine the client identity. ProxySQL parses those address fields anyway via `sscanf` and writes the spoofed source address into the session's `addr.addr` field. From there it flows directly into the query-rule matcher, where the `client_addr` predicate decides routing and ACL. When `mysql-proxy_protocol_networks = '*'` (the default), any TCP peer can send a PP1 frame and choose any source IP claim. With that, any `mysql_query_rules` row pinned to a `client_addr` value is forgeable: the attacker writes the address they want to match into the PP1 line, and ProxySQL routes their query as if it came from that address. In practice this is a routing and ACL bypass. Real deployments use `client_addr` for read-write splitting (internal apps go to the primary, public traffic to read replicas), per-app schema pinning, and query-filter rules (DDL allowed only from admin CIDR, public queries blocked from dangerous patterns). An attacker that can reach the frontend port can forge their way into any of those routes. Version 3.0.9 patches this issue.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Proxysql | Proxysql | >= 2.0.0, < 3.0.9 |
References
- https://github.com/sysown/proxysql/security/advisories/GHSA-gw94-85m2-x8v2Vendor Advisory, Exploit
- https://github.com/sysown/proxysql/security/advisories/GHSA-gw94-85m2-x8v2Vendor Advisory, Exploit
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-48772?
How severe is CVE-2026-48772?
How do I fix CVE-2026-48772?
How Strix Helps
- Uncovering a hidden BOLA in Appsmith's snapshot logicStrix autonomously discovered a BOLA/IDOR vulnerability in Appsmith's snapshot deletion path.
- 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-48766TypeBot is a chatbot builder tool. Versions prior to 3.17.0 …7.6
- CVE-2026-48767TypeBot is a chatbot builder tool. Versions prior to 3.17.0 …7.6
- 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-48773ProxySQL is a proxy for MySQL and its forks, as well as Post…9.8
- CVE-2026-48774ProxySQL is a proxy for MySQL and its forks, as well as Post…7.5
- 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
Are you affected by CVE-2026-48772?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
