Skip to content
OpenAdvisories
High · 8.8 CVE-2026-107350 EUVD-2026-101500GHSA-qcxp-3cx5-3f3g

Authentication bypass via second StartupMessage during SCRAM authentication in PgBouncer

Published Oct 14, 2026 · Updated Oct 16, 2026 · Assigned by PostgreSQL

Description

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.

Affected products

VendorProductAffectedFixed
— PgBouncer 1.17.0 – < 1.26.1 1.26.1

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 pgbouncer 1.26.1-1 —
Debian 13 pgbouncer No fix yet —
Debian 12 pgbouncer No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 pgbouncer No fix yet —
Ubuntu 26.04 LTS pgbouncer No fix yet —
Ubuntu 24.04 LTS pgbouncer No fix yet —
Ubuntu 22.04 LTS pgbouncer No fix yet —
Ubuntu 20.04 LTS pgbouncer No fix yet —
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 18.04 LTS pgbouncer No fix yet —
Ubuntu 16.04 LTS pgbouncer No fix yet —
ReleasePackageFixed inAdvisory
Red Hat Hardened Images 1 pgbouncer 1.26.1-1.hum1 RHSA-2026:83843

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 pgbouncer 1.26.1-1 —

Advisories 2

References