CVE Catalog

CVE-2026-107350

HighCVSS 8.8
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.36%

28th percentile - higher than 28% of all known CVEs

Summary

Improper authentication in PgBouncer 1.17.0 through 1.26.0 allows a remote attacker who knows the password of a user listed in auth_file 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.

Risk Assessment

An attacker can gain PgBouncer admin or database superuser privileges, leading to full compromise of the database infrastructure. Exploitation requires knowledge of any auth_file user's password.

Recommendation

Upgrade PgBouncer to a version later than 1.26.0 that contains the fix. Until then, restrict network access to PgBouncer and monitor for unusual login attempts.

Other vulnerabilities in PgBouncer

See all
Original NVD description (English source)

Improper authentication in PgBouncer 1.17.0 through 1.26.0 allows a remote attacker who knows the password of a user listed in auth_file 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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS