Skip to main content

ProxySQL CVE-2026-48773

| EUVDEUVD-2026-38073 CRITICAL
Out-of-bounds Write (CWE-787)
2026-06-19 GitHub_M
9.8
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

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

  1. Recon
    Identify exposed ProxySQL listener
  2. Delivery
    Open TCP connection to port 6033
  3. Exploit
    Send first packet with oversized length field
  4. Install
    Trigger out-of-bounds heap write via recv()
  5. C2
    Groom heap and hijack control flow
  6. Execute
    Execute code as ProxySQL process
  7. Impact
    Pivot to backend MySQL/PostgreSQL credentials

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Bounds checking, write limits
MITRE ATT&CK

2 techniques across 2 tactics: Execution, Privilege Escalation

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

No special conditions - remote unauthenticated exploitation against default configurations of ProxySQL 2.0.18 through 3.0.8, requiring only TCP reachability to a client-facing listener (MySQL protocol port, default 6033, or any configured PostgreSQL listener); the vulnerability is in the pre-authentication first-read path so no credentials, prior session, or user interaction are needed. Limiting factors are network-level: instances bound to loopback or restricted to internal application subnets are not reachable by external attackers, and instances that disable the PostgreSQL listener eliminate that protocol's exposure though the MySQL path remains vulnerable. Successful code execution (versus a denial-of-service crash) additionally depends on heap layout and on whether mitigations such as ASLR, stack canaries on the target binary, and the OS allocator's hardening make exploitation reliable.

Impact

All available signals point to a high-priority issue: the CVSS 3.1 vector AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H reflects remote, unauthenticated, low-complexity exploitation with full CIA impact, and the bug sits in the pre-authentication code path, so it is reachable on any exposed listener without credentials. EPSS and KEV data were not supplied in the input, and the issue is not currently listed in CISA KEV, so prevalence of in-the-wild use is unknown; however, ProxySQL instances are commonly internet- or intranet-exposed in front of production databases, and a heap overflow with attacker-controlled length and content is a classic precursor to RCE. No public exploit is identified at time of analysis, but the GitHub Security Advisory and tagged release v3.0.9 substantially lower the cost of reverse-engineering a working PoC. There is no conflict between the description (remote, unauthenticated) and the CVSS vector.

Exploit ScenarioDerived

An attacker who can reach a ProxySQL listener (for example, an exposed 6033/tcp port or a PostgreSQL frontend on an internal segment reached via SSRF or a compromised host) opens a TCP connection and sends a single crafted packet whose declared length field far exceeds 32 KB followed by attacker-chosen payload bytes. ProxySQL passes the oversized length to recv() and writes past the fixed input queue, corrupting adjacent heap structures; with careful heap grooming this is a plausible primitive for remote code execution as the ProxySQL process, otherwise reliably crashing the proxy and severing all backed database traffic. No public exploit is identified at time of analysis, but the published advisory and patch diff make PoC development straightforward.

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

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

Alert me

AnalysisAIv1 – Jun 19, 2026

Pre-authentication heap memory corruption in ProxySQL 2.0.18 through 3.0.8 allows remote unauthenticated attackers to corrupt heap memory by sending a crafted first packet declaring an oversized length, which is passed directly to recv() into a fixed 32 KB input queue on both MySQL and PostgreSQL protocol listeners. The flaw carries a CVSS 9.8 rating and is fixed in 3.0.9; no public exploit identified at time of analysis, but the trivial trigger condition and out-of-bounds write primitive create strong potential for weaponization.

RemediationAI

Vendor-released patch: ProxySQL 3.0.9 - upgrade all affected instances to 3.0.9 or later as the primary remediation, per https://github.com/sysown/proxysql/releases/tag/v3.0.9 and the advisory at https://github.com/sysown/proxysql/security/advisories/GHSA-58ww-865x-grpr. Until the upgrade is rolled out, restrict network reachability of the ProxySQL client-facing ports (default 6033 for MySQL, plus any configured PostgreSQL listener) to known application subnets via firewall or security-group rules, since the bug triggers pre-authentication and IP allowlisting is the only effective compensating control; this trades off operational flexibility for clients connecting from new networks. Disabling the PostgreSQL listener if unused removes one of the two vulnerable code paths but does not fix the MySQL path. Front-ending ProxySQL with a TLS-terminating proxy that performs strict client certificate authentication can blunt opportunistic scanning but does not mitigate exploitation by any attacker able to complete the TCP handshake, so it is not a substitute for patching.

Affected VersionsENISA

proxysql 2.0.18, < 3.0.9

Affected Packages

euvd proxysql_2_0_18 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 is a high-performance database proxy used in front of MySQL/MariaDB and PostgreSQL clusters for connection pooling, query routing, and failover. The vulnerability is a CWE-787 out-of-bounds write rooted in how the protocol front-ends parse the first packet header on a new client connection: a length field controlled by the client is passed directly to recv() while the destination buffer is a fixed 32 KB input queue, so any declared length larger than the buffer results in a heap write past the queue's bounds. Both the MySQL wire protocol listener and the PostgreSQL protocol listener share this defective first-read path, broadening the attack surface to any TCP port ProxySQL exposes for client traffic. The CPE cpe:2.3:a:sysown:proxysql:*:*:*:*:*:*:*:* confirms the upstream sysown/proxysql codebase is affected across the named range.

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 9.8 CRITICAL
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 9.8 CRITICAL

Pre-authentication first-read path reached over the network with no user interaction (AV:N/AC:L/PR:N/UI:N); heap OOB write plausibly yields RCE, so C/I/A:H.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/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
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

2
Patch available
Jun 19, 2026 - 21:02 EUVD
CVE Published
Jun 19, 2026 - 19:27 cve.org
CRITICAL 9.8

DescriptionCVE.org

ProxySQL is a proxy for MySQL and its forks, as well as PostgreSQL. Versions 2.0.18 through 3.0.8 have a pre-authentication heap memory corruption vulnerability in the MySQL and PostgreSQL protocol first-read paths. A remote unauthenticated client can declare an oversized first packet length, and ProxySQL passes that attacker-controlled length directly to recv() while writing into a fixed 32 KB input queue. Version 3.0.9 patches the issue.

Executive ViewAI

Why It Matters

ProxySQL database proxy versions 2.0.18 through 3.0.8 are vulnerable to pre-authentication attacks that could disable database connectivity or compromise the integrity of all database transactions routing through the proxy. Since the vulnerability requires no credentials and affects a critical infrastructure component, any external attacker poses an immediate risk to database availability and transaction security.

Business Impact: Severe
Compensating Controls

Apply vendor patch: ProxySQL 3.0.9

Threat Intelligence Overview

EPSS Score
0.4%
Top 72% 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.4%
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
Total

Priority Score

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

Attack Technique

A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.

Memory corruption occurs when a program writes data beyond the boundaries of allocated memory regions or accesses memory in unintended ways, violating the integrity of the process's address space.

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