REDHAT-BUG-2552733: High severity PgBouncer PgBouncer vulnerability

Published Oct 14, 2026
·
Updated

Improper authentication in PgBouncer 1.17.0 through 1.26.0 allows a remote attacker who knows the password of a user listed in authfile to log in as any other user that authenticates using SCRAM, including PgBouncer admin users and backend superusers. A second StartupMessage sent during SCRAM authentication against a non-existent database is not rejected and switches the user being logged in as, while the SCRAM exchange is still verified against the keys of the first user.

Affected Software

1 affected component
PgBouncer PgBouncer>=1.17.0<=1.26.0

Event History

Oct 14, 2026
Data Sourced
via Red Hat·05:52 PM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

Which deployments are exposed to this issue?

PgBouncer versions 1.17.0 through 1.26.0 are affected where a user listed in auth_file can authenticate with a known password and another account uses SCRAM authentication. Potential target accounts include PgBouncer administrators and backend superusers when they authenticate using SCRAM.

2

What does an attacker need before attempting exploitation?

The attacker needs the password for any user listed in PgBouncer's auth_file. They can then use a second StartupMessage during SCRAM authentication against a non-existent database to switch the identity being logged in as.

3

How can I assess whether a suspected login may indicate exploitation?

Review SCRAM authentication activity for connections involving a non-existent database and a second StartupMessage during the authentication exchange. The issue can result in a login under a different user identity than the account whose SCRAM keys were used for verification.

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.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203