# CVE-2026-107350: Authentication bypass via second StartupMessage during SCRAM authentication in PgBouncer

- Severity: High 8.8 (CVSS:3.1, scored by PostgreSQL) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.37%, higher than 32% of CVEs (2026-12-01)
- Published: 2026-10-14T17:34:39.009Z
- Modified: 2026-10-21T12:00:38.504Z
- Also known as: BIT-PGBOUNCER-2026-107350
- Weaknesses: CWE-287
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- 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.

(As written by CVE List.)

## Affected

- PgBouncer: from 1.17.0 before 1.26.1
- pgbouncer (Bitnami): from 1.17.0 before 1.26.1

## Every score

- PostgreSQL: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Bitnami Vulnerability Database: rating High

## References

- <https://www.pgbouncer.org/changelog.html> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-107350> (web)

## Sources

- CVE List: [CVE-2026-107350](https://www.cve.org/CVERecord?id=CVE-2026-107350), CVE Terms of Use, modified 2026-10-16
- NVD: [CVE-2026-107350](https://nvd.nist.gov/vuln/detail/CVE-2026-107350), Public domain, modified 2026-10-16
- Bitnami Vulnerability Database: [BIT-PGBOUNCER-2026-107350](https://osv.dev/vulnerability/BIT-PGBOUNCER-2026-107350), Apache-2.0, modified 2026-10-21

---

Page: https://cve.day/CVE-2026-107350 · Whole record: https://cve.day/CVE-2026-107350.json · Rebuilt by cve.day 2026-11-25T22:59:44.765Z
