Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

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

Quick assessment

Affected
sysown proxysql
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

ProxySQL ProxySQL是ProxySQL组织开源的一个面向MySQL、PostgreSQL及其生态系统的领先数据库代理,支持高性能连接管理、高可用故障转移和实时查询分析。 ProxySQL 2.0.0版本至3.0.8版本存在安全漏洞,该漏洞源于ProxySQL MySQL前端错误地将 协议帧作为有效PROXY协议标头解析,通过 将伪造的源地址写入session的 字段,导致 路由和ACL可被绕过,攻击者可通过

CVSS 10.0 · Critical EPSS 0.23% · P12

Affected Version Matrix 1

VendorProduct Version RangeStatus
sysown proxysql >= 2.0.0, < 3.0.9 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-48772

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
ProxySQL: PROXY-Protocol-v1 UNKNOWN parses spoofed source IP, bypassing mysql_query_rules.client_addr ACL
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N
Source: CVE Program / CVE List V5
Vulnerability Type
使用不可信的源
Source: CVE Program / CVE List V5
Vulnerability Title
ProxySQL 信任管理问题漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
ProxySQL ProxySQL是ProxySQL组织开源的一个面向MySQL、PostgreSQL及其生态系统的领先数据库代理,支持高性能连接管理、高可用故障转移和实时查询分析。 ProxySQL 2.0.0版本至3.0.8版本存在安全漏洞,该漏洞源于ProxySQL MySQL前端错误地将`PROXY UNKNOWN`协议帧作为有效PROXY协议标头解析,通过`sscanf`将伪造的源地址写入session的`addr.addr`字段,导致`client_addr`路由和ACL可被绕过,攻击者可通过
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
sysown proxysql >= 2.0.0, < 3.0.9 -

II. Public POCs for CVE-2026-48772

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-48772

请登录查看更多情报信息。

Vendor Advisories for CVE-2026-48772 (1)

Vendor Pages for CVE-2026-48772 (1)

Same Patch Batch · sysown · 2026-06-19 · 3 CVEs total

CVE-2026-48773 9.8 CRITICAL ProxySQL pre-auth heap overflow in MySQL and PostgreSQL first-packet handling
CVE-2026-48774 7.5 HIGH ProxySQL MCP run_sql_readonly executes side-effecting MySQL multi-statements despite read-

IV. Related Vulnerabilities

V. Comments for CVE-2026-48772

No comments yet


Leave a comment