What’s Vulnerable › Vulnerabilities

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

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

How to fix

Upgrade to a fixed version: PgBouncer 1.24.1. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2025-2291 or the next vulnerability affects your stack