# CVE-2025-12819: Untrusted search path in auth_query connection in PgBouncer

- Severity: High 7.5 (CVSS:3.1, scored by PostgreSQL) `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.39%, higher than 34% of CVEs (2026-12-01)
- Published: 2025-12-03T19:00:09.063Z
- Modified: 2026-10-18T18:10:00.100Z
- Also known as: BIT-PGBOUNCER-2025-12819
- Weaknesses: CWE-426
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: PostgreSQL

## Description

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.

(As written by CVE List.)

## Affected

- PgBouncer: before 1.25.1
- pgbouncer pgbouncer: before 1.25.1
- pgbouncer (Bitnami): before 1.25.1

## Every score

- PostgreSQL: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Bitnami Vulnerability Database: rating High

## References

- <https://www.pgbouncer.org/changelog.html#pgbouncer-125x> (article, release-notes)
- <https://lists.debian.org/debian-lts-announce/2025/12/msg00033.html> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-12819> (web)

## Sources

- CVE List: [CVE-2025-12819](https://www.cve.org/CVERecord?id=CVE-2025-12819), CVE Terms of Use, modified 2025-12-27
- NVD: [CVE-2025-12819](https://nvd.nist.gov/vuln/detail/CVE-2025-12819), Public domain, modified 2026-10-18
- Bitnami Vulnerability Database: [BIT-PGBOUNCER-2025-12819](https://osv.dev/vulnerability/BIT-PGBOUNCER-2025-12819), Apache-2.0, modified 2026-09-10

---

Page: https://cve.day/CVE-2025-12819 · Whole record: https://cve.day/CVE-2025-12819.json · Rebuilt by cve.day 2026-11-25T22:59:08.237Z
