| Name | CVE-2025-12819 |
| 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. |
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
| References | DLA-4422-1 |
Vulnerable and fixed packages
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|
| pgbouncer (PTS) | bullseye | 1.15.0-1 | vulnerable |
| bullseye (security) | 1.15.0-1+deb11u2 | fixed |
| bookworm | 1.18.0-1 | vulnerable |
| trixie | 1.24.1-1 | vulnerable |
| forky, sid | 1.25.1-1 | fixed |
The information below is based on the following data on fixed versions.
Notes
[trixie] - pgbouncer <no-dsa> (Minor issue)
[bookworm] - pgbouncer <no-dsa> (Minor issue)
https://www.pgbouncer.org/changelog.html#pgbouncer-125x
Fixed by: https://github.com/pgbouncer/pgbouncer/commit/85acffac5ddf56657706812f600c5f7f477abbab (pgbouncer_1_25_1)