CVE-2025-12819
December 03, 2025
Untrusted search path in auth_query connection handler in PgBouncer before 1.25.0 allows an unauthenticated attacker to execute arbitrary SQL during authentication via a malicious search_path parameter in the StartupMessage.
Affected Packages
https://github.com/pgbouncer/pgbouncer.git (GITHUB):
Affected version(s) >=pgbouncer_1_0 <pgbouncer_1_25_1Fix Suggestion:
Update to version pgbouncer_1_25_1Additional Notes
The description of this vulnerability differs from MITRE.
Related ResourcesĀ (3)
Do you need more information?
Contact UsCVSS v4
Base Score:
7.7
Attack Vector
NETWORK
Attack Complexity
HIGH
Attack Requirements
NONE
Privileges Required
LOW
User Interaction
NONE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
HIGH
Vulnerable System Availability
HIGH
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
7.5
Attack Vector
NETWORK
Attack Complexity
HIGH
Privileges Required
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Weakness Type (CWE)
Untrusted Search Path
EPSS
Base Score:
0.16