CVE-2025-2291: PgBouncer default auth_query does not take Postgres password expiry into account

8.1 CVSS

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

Classification

CVE ID: CVE-2025-2291

CVSS Base Severity: HIGH

CVSS Base Score: 8.1

CVSS Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Problem Types

Use of a Key Past its Expiration Date

Affected Products

Vendor: n/a

Product: PgBouncer

Exploit Prediction Scoring System (EPSS)

EPSS Score: 0.04% (probability of being exploited)

EPSS Percentile: 11.01% (scored less or equal to compared to others)

EPSS Date: 2025-04-18 (when was this score calculated)

References

https://nvd.nist.gov/vuln/detail/CVE-2025-2291
https://www.pgbouncer.org/changelog.html#pgbouncer-124x

Timeline