8.1
CWE
324
Advisory Published
Updated

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

First published: Wed Apr 16 2025(Updated: )

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

Credit: f86ef6dc-4d3a-42ad-8f28-e6d5547a5007

Affected SoftwareAffected VersionHow to fix
debounce

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of CVE-2025-2291?

    CVE-2025-2291 is classified as a high severity vulnerability due to the risk of unauthorized access with expired passwords.

  • How do I fix CVE-2025-2291?

    To fix CVE-2025-2291, update PgBouncer to the latest version where the issue is resolved.

  • What systems are affected by CVE-2025-2291?

    CVE-2025-2291 affects PgBouncer installations that do not correctly enforce password expiry based on Postgres' VALID UNTIL value.

  • What exploits are possible with CVE-2025-2291?

    An attacker can exploit CVE-2025-2291 to log in using expired passwords, potentially gaining unauthorized access to the database.

  • What precautions should be taken regarding CVE-2025-2291?

    Organizations should regularly update PgBouncer and review their authentication processes to ensure compliance with password expiry policies.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203