Skip to main content

ProxySQL CVE-2026-48772

| EUVDEUVD-2026-38074 CRITICAL
Use of Less Trusted Source (CWE-348)
2026-06-19 GitHub_M
10.0
CVSS 3.1 · Vendor: GitHub_M
Share

Severity by source

Vendor (GitHub_M) PRIMARY
10.0 CRITICAL
AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N
vuln.today AI
10.0 CRITICAL

Network-reachable frontend with default-permissive PP1 acceptance gives AV:N/AC:L/PR:N/UI:N; scope changes because routing/ACL authority is subverted; C:H/I:H from rule bypass, A:N as no DoS is described.

3.1 AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N
Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
High
Availability
None

Lifecycle Timeline

3
Patch available
Jun 19, 2026 - 21:02 EUVD
Analysis Generated
Jun 19, 2026 - 20:17 vuln.today
CVE Published
Jun 19, 2026 - 19:28 cve.org
CRITICAL 10.0

DescriptionCVE.org

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.

AnalysisAI

Source-address spoofing in ProxySQL 2.0.0 through 3.0.8 lets any TCP peer that can reach the MySQL frontend port forge the client IP seen by the query-rule engine, bypassing routing and ACL controls. The flaw stems from incorrect parsing of the HAProxy PROXY protocol v1 UNKNOWN token, whose address fields the specification requires receivers to ignore. No public exploit identified at time of analysis, but the vendor advisory describes the attack mechanics in detail and version 3.0.9 ships the fix.

Technical ContextAI

ProxySQL (cpe:2.3:a:sysown:proxysql) is a high-performance MySQL/PostgreSQL proxy that supports HAProxy PROXY protocol v1 so upstream load balancers can preserve real client IPs. The PP1 spec mandates that when the protocol token is UNKNOWN, the receiver must ignore any trailing address/port fields because the upstream proxy has explicitly declared it cannot identify the client. ProxySQL's frontend instead parses the address fields with sscanf and stores them in the session's addr.addr structure, which the client_addr predicate of mysql_query_rules consumes for routing, schema pinning, and query filtering. This is a textbook CWE-348 (Use of Less Trusted Source) issue: an authoritative trust decision (which backend, which schema, which query filter) is derived from an attacker-controllable field that the protocol explicitly forbids trusting.

RemediationAI

Vendor-released patch: ProxySQL 3.0.9 - upgrade from any 2.0.0-3.0.8 build using the release at https://github.com/sysown/proxysql/releases/tag/v3.0.9 and follow GHSA-gw94-85m2-x8v2 for advisory details. If you cannot patch immediately, restrict who is allowed to send PROXY protocol headers by setting mysql-proxy_protocol_networks to an explicit allowlist of trusted upstream load-balancer CIDRs instead of the default *; this is the most effective compensating control and only breaks deployments that genuinely accept PP1 from arbitrary peers. As a network-layer mitigation, place the ProxySQL frontend port behind a firewall or service mesh policy that permits inbound TCP only from the trusted L4/L7 load balancers that originate legitimate PP1 frames - note this will block any direct client connectivity that was previously allowed. Finally, audit mysql_query_rules for any row that relies on client_addr for security boundaries (admin-only DDL, public-versus-internal routing) and treat those decisions as untrusted until the upgrade is complete, accepting reduced routing precision in the interim.

CVE-2025-1094 HIGH POC
8.1 Feb 13

PostgreSQL libpq functions PQescapeLiteral(), PQescapeIdentifier(), PQescapeString(), and PQescapeStringConn() improperl

CVE-2024-55964 CRITICAL POC
9.8 Mar 26

An issue was discovered in Appsmith before 1.52. Rated critical severity (CVSS 9.8), this vulnerability is remotely expl

CVE-2013-1899 MEDIUM POC
6.5 Apr 04

Argument injection vulnerability in PostgreSQL 9.2.x before 9.2.4, 9.1.x before 9.1.9, and 9.0.x before 9.0.13 allows re

CVE-2026-20253 CRITICAL POC
9.8 Jun 10

Unauthenticated arbitrary file write in Splunk Enterprise (below 10.2.4 and 10.0.7) and Splunk Cloud Platform (below 10.

CVE-2017-7546 CRITICAL
9.8 Aug 16

PostgreSQL versions before 9.2.22, 9.3.18, 9.4.13, 9.5.8 and 9.6.4 are vulnerable to incorrect authentication flaw allow

CVE-2015-1352 MEDIUM POC
5.0 Mar 30

The build_tablename function in pgsql.c in the PostgreSQL (aka pgsql) extension in PHP through 5.6.7 does not validate t

CVE-2024-10553 CRITICAL POC
9.8 Mar 20

A vulnerability in the h2oai/h2o-3 REST API versions 3.46.0.4 allows unauthenticated remote attackers to execute arbitra

CVE-2019-9193 HIGH POC
7.2 Apr 01

In PostgreSQL 9.3 through 11.2, the "COPY TO/FROM PROGRAM" function allows superusers and users in the 'pg_execute_serve

CVE-2026-40887 CRITICAL POC
9.1 Apr 14

Unauthenticated SQL injection in Vendure Shop API allows remote attackers to execute arbitrary SQL commands against the

CVE-2022-24760 CRITICAL POC
10.0 Mar 12

Parse Server is an open source http web server backend. Rated critical severity (CVSS 10.0), this vulnerability is remot

CVE-2025-56157 CRITICAL POC
9.8 Dec 18

Hard-coded default PostgreSQL credentials shipped in the docker-compose.yaml of langgenius Dify through version 1.5.1 al

CVE-2024-12909 CRITICAL POC
9.8 Mar 20

A vulnerability in the FinanceChatLlamaPack of the run-llama/llama_index repository, versions up to v0.12.3, allows for

Share

CVE-2026-48772 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy