CVE-2026-107350
JSON

8.8high

Authentication bypass via second StartupMessage during SCRAM authentication in PgBouncer

Severity
8.8high CVSS:3.1 by PostgreSQL
Exploit likelihood
0.37% (higher than 32% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
PostgreSQL
Also known as
BIT-PGBOUNCER-2026-107350

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

Product or packageVersionsReported by
PgBouncerfrom 1.17.0 before 1.26.1CVE List
pgbouncer (Bitnami)from 1.17.0 before 1.26.1Bitnami Vulnerability Database

All scores

PostgreSQL8.8high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Bitnami Vulnerability Databasehigh rating

Classification

CWE-287

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-107350 changed 2026-10-16CVE Terms of Use
NVDCVE-2026-107350 changed 2026-10-16Public domain
Bitnami Vulnerability DatabaseBIT-PGBOUNCER-2026-107350 changed 2026-10-21Apache-2.0