PgBouncer up to 1.25.0 StartupMessage search_path untrusted search path

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
7.4$0-$5k0.00

Summaryinfo

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.

Detailsinfo

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

Productinfo

Name

Version

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔒
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 7.5
VulDB 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): 🔒

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔒
VulDB Temp Score: 🔒
VulDB Reliability: 🔍

Exploitinginfo

Class: Untrusted search path
CWE: 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-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 277445
Nessus Name: Linux Distros Unpatched Vulnerability : CVE-2025-12819

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

0-Day Time: 🔒

Upgrade: PgBouncer 1.25.1

Timelineinfo

11/06/2025 CVE reserved
12/03/2025 +27 days Advisory disclosed
12/03/2025 +0 days VulDB entry created
01/04/2026 +32 days VulDB entry last update

Sourcesinfo

Advisory: pgbouncer.org
Researcher: 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

Entryinfo

Created: 12/03/2025 23:46
Updated: 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.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Do you need the next level of professionalism?

Upgrade your account now!