CVE-2025-12819 json
Untrusted search path in auth_query connection in PgBouncer
published 2025-12-03 11 mo ago modified 2026-10-18 21 d ago also BIT-pgbouncer-2025-12819 , EUVD-2025-201089
- cvss
- 7.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.4%
- EPSS 0.4% chance of exploitation in 30 days, percentile 33%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- bitnami pgbouncer 1.25.1
- n/a PgBouncer 1.25.1
- pgbouncer Debian 12 1.18.0-1+deb12u1
- pgbouncer Debian 13 1.24.1-1+deb13u1
- pgbouncer Debian 14 1.25.1-1
debian advisories DEBIAN-CVE-2025-12819
- pgbouncer Alpine 3.24, Alpine 3.23 1.25.1-r0
alpine advisories ALPINE-CVE-2025-12819
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- pgbouncer CBL-Mariner 2.0, Azure Linux 3.0 1.25.1-1
azure linux advisories AZL-71249AZL-71438
Azure Linux vulnerability data, Copyright (c) Microsoft Corporation, from https://github.com/microsoft/AzureLinuxVulnerabilityData via OSV, under the MIT licence; changed: normalised to fixed package versions per release. MIT
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2025-12819 updated cvss 7.1
pgbouncer: Untrusted search path in auth_query connection in PgBouncer
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- total
- Assessed
- 11 mo ago
Exploit prediction
0.39% chance of exploitation in the next 30 days, higher than 33% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 3.1 | 8.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| bitnami | pgbouncer | <1.25.1 |
1.25.1 |
Affected products
- n/a PgBouncer
Classification
- Weakness
-
- CWE-426 Untrusted Search Path
References
Sources
- CVE List CVE-2025-12819
- NVD CVE-2025-12819
- OSV BIT-pgbouncer-2025-12819
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.