Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessReach ProxySQL MySQL frontend port
-
DeliverySend PP1 frame with forged UNKNOWN address
-
ExploitProxySQL writes spoofed IP to session addr
-
ExecutionQuery-rule engine matches client_addr predicate
-
PersistSubmit MySQL queries under forged identity
-
ImpactBypass ACL or reach privileged backend
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V6 - Authentication IP-independent access control
|
| Exploitation Conditions | ProxySQL must be configured to accept PROXY protocol v1 frames from the attacker's network position, which is the default behavior because |
| Impact | The NVD score of 10.0 is inconsistent with the supplied vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N, which mathematically computes to 9.6 - the 10.0 figure should be treated cautiously and the vector taken as authoritative. Even so, the vector reflects a serious risk: unauthenticated network reachability to the MySQL frontend port is the only prerequisite, complexity is low, and the default configuration |
| Exploit ScenarioDerived | An attacker who can open a TCP connection to ProxySQL's MySQL frontend port crafts a single PP1 line |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 19, 2026
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.
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.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
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.
Know when Proxysql gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N
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.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
2DescriptionCVE.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.
Articles & Coverage 2
Executive ViewAI
ProxySQL versions 2.0.0 through 3.0.8 allow remote attackers to spoof client IP addresses at the MySQL gateway, enabling them to bypass network-based access controls and routing policies. Organizations using ProxySQL to enforce database access restrictions face immediate risk of unauthorized database access.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
Pre-authentication heap memory corruption in ProxySQL 2.0.18 through 3.0.8 allows remote unauthenticated attackers to co
Improper input validation in ProxySQL versions 3.0.0 through 3.0.8 lets MCP callers bypass the GenAI `run_sql_readonly`
Heap information disclosure in ProxySQL releases before 3.0.10, 3.1.10, and 4.0.10 allows an authenticated MySQL client
EUVD-2026-38074
NVD
CVE.org
EPSS
Vulnrichment
GitHub
VulDB
Exploit-DB