PgBouncer up to 1.25.0 StartupMessage search_path untrusted search path
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 7.4 | $0-$5k | 0.00 |
Summary
A vulnerability has been found in PgBouncer up to 1.25.0 and classified as problematic. Affected by this issue is some unknown functionality of the component StartupMessage. This manipulation of the argument search_path causes untrusted search path. This vulnerability is registered as CVE-2025-12819. The attack needs to be launched locally. No exploit is available. The affected component should be upgraded.
Details
A vulnerability classified as critical was found in PgBouncer up to 1.25.0. Affected by this vulnerability is an unknown part of the component StartupMessage. The manipulation of the argument search_path with an unknown input leads to a untrusted search path vulnerability. The CWE definition for the vulnerability is CWE-426. The product searches for critical resources using an externally-supplied search path that can point to resources that are not under the product's direct control. As an impact it is known to affect confidentiality, integrity, and availability. The summary by CVE is:
Untrusted search path in auth_query connection handler in PgBouncer before 1.25.1 allows an unauthenticated attacker to execute arbitrary SQL during authentication via a malicious search_path parameter in the StartupMessage.
The weakness was published by Jason Tsang. The advisory is shared at pgbouncer.org. This vulnerability is known as CVE-2025-12819 since 11/06/2025. The exploitation appears to be difficult. An attack has to be approached locally. Technical details are known, but no exploit is available. MITRE ATT&CK project uses the attack technique T1574 for this issue.
The vulnerability scanner Nessus provides a plugin with the ID 277445 (Linux Distros Unpatched Vulnerability : CVE-2025-12819), which helps to determine the existence of the flaw in a target environment.
Upgrading to version 1.25.1 eliminates this vulnerability. The upgrade is hosted for download at pgbouncer.org.
The vulnerability is also documented in the databases at Tenable (277445), EUVD (EUVD-2025-201089) and CERT Bund (WID-SEC-2025-2734). Several companies clearly confirm that VulDB is the primary source for best vulnerability data.
Affected
- Debian Linux
- Open Source PgBouncer
- Microsoft Azure Linux
Product
Name
Version
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔒VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 7.5VulDB Meta Temp Score: 7.4
VulDB Base Score: 7.0
VulDB Temp Score: 6.7
VulDB Vector: 🔒
VulDB Reliability: 🔍
NVD Base Score: 8.1
NVD Vector: 🔒
CNA Base Score: 7.5
CNA Vector (PostgreSQL): 🔒
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔒
VulDB Temp Score: 🔒
VulDB Reliability: 🔍
Exploiting
Class: Untrusted search pathCWE: CWE-426
CAPEC: 🔒
ATT&CK: 🔒
Physical: Partially
Local: Yes
Remote: Yes
Availability: 🔒
Status: Not defined
EPSS Score: 🔒
EPSS Percentile: 🔒
Price Prediction: 🔍
Current Price Estimation: 🔒
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 277445
Nessus Name: Linux Distros Unpatched Vulnerability : CVE-2025-12819
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔒
Upgrade: PgBouncer 1.25.1
Timeline
11/06/2025 CVE reserved12/03/2025 Advisory disclosed
12/03/2025 VulDB entry created
01/04/2026 VulDB entry last update
Sources
Advisory: pgbouncer.orgResearcher: Jason Tsang
Status: Confirmed
CVE: CVE-2025-12819 (🔒)
GCVE (CVE): GCVE-0-2025-12819
GCVE (VulDB): GCVE-100-334225
EUVD: 🔒
CERT Bund: WID-SEC-2025-2734 - PgBouncer: Schwachstelle ermöglicht SQL injection
Entry
Created: 12/03/2025 23:46Updated: 01/04/2026 15:49
Changes: 12/03/2025 23:46 (66), 12/04/2025 12:13 (1), 12/04/2025 12:29 (1), 12/04/2025 20:38 (2), 12/06/2025 06:01 (11), 01/04/2026 15:49 (7)
Complete: 🔍
Cache ID: 216::103
Several companies clearly confirm that VulDB is the primary source for best vulnerability data.
No comments yet. Languages: en.
Please log in to comment.