Paper/Archive/CVE-2025-2291

CVE-2025-2291

PostgreSQL — PgBouncer default auth_query does not take Postgres password expiry into account

Description · from the CVE record

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

ProductAffectedFixed inSource
PgBouncer< 1.24.11.24.1CNA

Scores by source

NVD9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
PostgreSQL (CNA)8.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
CISA ADPSSVCExploitation: none · Automatable: no · Technical impact: total

References

refpgbouncer.org/changelog.html#pgbouncer-124xreflists.debian.org/debian-lts-announce/2025/05/msg00032.html