CVE-2026-48772: ProxySQL: PROXY-Protocol-v1 UNKNOWN parses spoofed source IP, bypassing mysql_query_rules.client_addr ACL

Published Jun 19, 2026
·
Updated

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 clientaddr predicate decides routing and ACL. When mysql-proxyprotocolnetworks = '' (the default), any TCP peer can send a PP1 frame and choose any source IP claim. With that, any mysqlqueryrules row pinned to a clientaddr 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 clientaddr 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.

Affected Software

1 affected component
ProxySQL ProxySQL>=2.0.0<=3.0.8

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade ProxySQL to a version that resolves this vulnerability.

    Fixed in 3.0.9

Event History

Jun 19, 2026
CVE Published
via MITRE·07:28 PM
Data Sourced
via MITRE·07:28 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·08:16 PM
DescriptionSeverityWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-48772?

CVE-2026-48772 has been rated with a critical severity level of 10.

2

How does CVE-2026-48772 exploit the ProxySQL?

CVE-2026-48772 exploits ProxySQL by allowing spoofed source IP addresses to bypass mysql_query_rules.client_addr ACLs due to incorrect parsing of the PROXY Protocol v1.

3

What versions of ProxySQL are affected by CVE-2026-48772?

CVE-2026-48772 affects ProxySQL versions 2.0.0 through 3.0.8.

4

How can I mitigate CVE-2026-48772?

To mitigate CVE-2026-48772, upgrade to ProxySQL version 3.0.9 or later, where the vulnerability has been addressed.

5

Is there a workaround for CVE-2026-48772 while waiting for the fix?

As of now, there are no widely recommended workarounds for CVE-2026-48772, so upgrading is the best course of action.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203