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
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Reach ProxySQL MySQL frontend port
  2. Delivery
    Send PP1 frame with forged UNKNOWN address
  3. Exploit
    ProxySQL writes spoofed IP to session addr
  4. Execution
    Query-rule engine matches client_addr predicate
  5. Persist
    Submit MySQL queries under forged identity
  6. Impact
    Bypass 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 mysql-proxy_protocol_networks ships set to * and accepts PP1 from any peer. The attacker needs only TCP reach to the MySQL frontend port - no MySQL credentials, no user interaction, and no platform-specific conditions. Real-world impact is limited to installations whose mysql_query_rules actually use the client_addr predicate for routing, schema pinning, or ACL enforcement; deployments that do not key any rule on client_addr still suffer the parsing bug but gain no attacker value from spoofing. Operators that have already narrowed mysql-proxy_protocol_networks to a trusted load-balancer CIDR are not exploitable from outside that CIDR.

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 mysql-proxy_protocol_networks = '*' accepts PP1 from any source. Scope is changed because the ACL/routing authority enforced by client_addr rules is subverted, granting access to backends and rules belonging to a different security domain (e.g., admin CIDR, primary writer). No KEV listing and no public exploit code is identified, so the threat is currently theoretical-but-trivial; EPSS data was not provided. Real-world impact is concentrated on deployments that actually use client_addr for read/write splitting, per-app schema pinning, or DDL-allowlist rules - installations that do not use client_addr predicates are largely unaffected even though the parsing bug is present.

Exploit ScenarioDerived

An attacker who can open a TCP connection to ProxySQL's MySQL frontend port crafts a single PP1 line PROXY UNKNOWN 10.0.0.5 1.2.3.4 3306 3306\r\n to claim a trusted internal source IP, then submits MySQL queries over the same connection. The query-rule engine matches the forged client_addr against a privileged rule - for example one that pins admin CIDR to the primary writer or bypasses a public-traffic DDL block - and routes or authorizes the attacker's queries accordingly. No public exploit is identified at time of analysis, but the advisory itself describes the exact PP1 line shape needed to reproduce.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

proxysql 2.0.0, < 3.0.9

Affected Packages

euvd proxysql_2_0_0 fix: 3.0.9

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

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

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
High
Availability
None

Lifecycle Timeline

2
Patch available
Jun 19, 2026 - 21:02 EUVD
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.

Executive ViewAI

Why It Matters

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.

Business Impact: Severe
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.2%
Top 92% exploitable
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GitHub VulDB

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.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Out-of-Cycle
Exploitation
Poc
System Exposure· derived
Open
Automatable
Yes
Human Impact
Very High
Technical Impact
Partial

Priority Score

50
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +50
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

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