Skip to main content
Meet us at Black Hat USA 2026— Las Vegas, August 1–6Book a Meeting
Mallory
UnratedPublic exploit

ProxySQL PROXY Protocol v1 UNKNOWN source-IP spoofing ACL bypass

IdentifiersCVE-2026-48772CWE-348

CVE-2026-48772 is a critical vulnerability in ProxySQL affecting versions 2.0.0 through 3.0.8. The ProxySQL MySQL frontend incorrectly accepts a HAProxy PROXY protocol v1 header of the form PROXY UNKNOWN <addr> <addr> <port> <port>\r\n as valid input. Under the PROXY protocol v1 specification, when the transport token is UNKNOWN, any following address fields must be ignored because the proxy is declaring that the client identity is unavailable. Instead, ProxySQL parses those trailing address fields via sscanf, stores the attacker-supplied source address in the session's addr.addr field, and then uses that spoofed value in the query-rule matcher. As a result, mysql_query_rules.client_addr decisions for routing and access control can be made on attacker-controlled source IP data rather than the real peer address. This creates a remotely exploitable source-IP spoofing condition that leads to routing and ACL bypass.

Share:
For your environment

Are you exposed to this one?

Mallory correlates every CVE against your assets, your vendors, and active adversary campaigns. Know which vulnerabilities matter for you, not just which ones are loud.

ANALYST BRIEF

Impact, mitigation & remediation

What it means. What to do now. Patch path, mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

Successful exploitation allows a remote attacker to impersonate arbitrary client source IP addresses as seen by ProxySQL's query-rule engine. Any routing or access-control logic tied to mysql_query_rules.client_addr can therefore be bypassed or manipulated. In practice, this can let untrusted clients be treated as trusted internal or administrative sources, influence read/write splitting decisions, reach routes pinned to specific application networks, bypass query-filter restrictions, and gain access to operations or backends that should be limited to particular CIDR ranges. The issue is described as a routing and ACL bypass and is remotely exploitable with no authentication or user interaction when the vulnerable frontend is reachable and configured to accept PROXY protocol headers.

Mitigation

If you can’t patch tonight, do this now.

If immediate upgrade is not possible, restrict which upstream systems are permitted to send PROXY protocol headers by hardening mysql-proxy_protocol_networks and avoiding the default permissive setting of '*'. Limit network reachability to the ProxySQL frontend port so only trusted proxies or load balancers can connect. Review mysql_query_rules and any ACL or routing logic that relies on client_addr, especially rules used for administrative CIDRs, schema pinning, read/write splitting, or query filtering, because those controls are unreliable on affected versions when PROXY protocol input is accepted.

Remediation

Patch, then assume compromise.

Upgrade ProxySQL to a fixed release. The provided content states that version 3.0.9 patches this issue, and also notes fixes in builds 3.1.9 and 4.0.9. The fix rejects address fields in PROXY protocol v1 UNKNOWN frames and includes regression tests. Users running ProxySQL 3.0.8 or earlier are strongly advised to upgrade.
PUBLIC EXPLOITS

Exploits

No public exploits tracked yet. Mallory keeps watching.

VALID 0 / 0 TOTALView more in app

No public exploit code observed for this vulnerability.

EXPOSURE SURFACE

Affected products & vendors

Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.

VendorProductType
SysOwnProxysqlapplication

Vendor-confirmed product mapping. Mallory continuously reconciles this list against your asset inventory.

What this page doesn’t show

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, which detections to deploy, and what to do tonight.
Exposure mapping

Query your assets running an affected version, and investigate the blast radius.

Threat actor evidence

Every observed campaign linking this CVE to a named adversary.

Associated malware

Malware families riding this exploit, with evidence and IOCs.

Detection signatures

YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.

Vendor-by-vendor mapping

Cross-references every affected SKU, including bundled OEM variants.

Social activity6

Community discussion across Reddit, Mastodon, and other social sources.