CVE-2026-107350

NameCVE-2026-107350
DescriptionImproper 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.
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
pgbouncer (PTS)bookworm1.18.0-1+deb12u1vulnerable
trixie1.24.1-1+deb13u2vulnerable
forky, sid1.26.1-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
pgbouncersource(unstable)1.26.1-1

Notes

Fixed by: https://github.com/pgbouncer/pgbouncer/commit/55233b2124264c0617dc68686473db7124de1620 (pgbouncer_1_26_1)

Search for package or bug name: Reporting problems