Skip to content
OpenAdvisories
High · 8.1 CVE-2025-2291 EUVD-2025-11379GHSA-qj9w-64mv-p2fw

PgBouncer default auth_query does not take Postgres password expiry into account

Published Apr 16, 2025 · Updated Nov 3, 2025 · Assigned by PostgreSQL

Description

Password can be used past expiry in PgBouncer due to auth_query not taking into account Postgres its VALID UNTIL value, which allows an attacker to log in with an already expired password

Affected products

VendorProductAffectedFixed
— PgBouncer < 1.24.1 1.24.1

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 pgbouncer 1.24.1-1 —
Debian 13 pgbouncer 1.24.1-1 —
Debian 12 pgbouncer 1.18.0-1+deb12u1 —
Debian 11 pgbouncer 1.15.0-1+deb11u1 DLA-4180-1
ReleasePackageFixed inAdvisory
Ubuntu 25.10 pgbouncer No fix yet —
Ubuntu 24.04 LTS pgbouncer No fix yet —
Ubuntu 22.04 LTS pgbouncer No fix yet —
Ubuntu 20.04 LTS pgbouncer No fix yet —
Ubuntu 18.04 LTS pgbouncer No fix yet —
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 16.04 LTS pgbouncer No fix yet —

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 pgbouncer 1.24.1-1 —
Azure Linux 2 (CBL-Mariner) pgbouncer 1.24.1-1 —

Advisories 2

References