{"id":"CVE-2026-107350","aliases":["CVE-2026-107350","BIT-PGBOUNCER-2026-107350"],"related":[],"kind":"vulnerability","state":"published","title":"Authentication bypass via second StartupMessage during SCRAM authentication in PgBouncer","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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2026-10-14T17:34:39.009Z","modified":"2026-10-21T12:00:38.504Z","severity":{"scorer":"PostgreSQL","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},"severities":[{"scorer":"PostgreSQL","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"HIGH"}],"cwes":["CWE-287"],"affected":[{"ranges":[{"type":"semver","introduced":"1.17.0","fixed":"1.26.1","status":"affected"}],"product":"PgBouncer","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"1.17.0","status":"affected","fixed":"1.26.1"}],"ecosystem":"Bitnami","package":"pgbouncer","purl":"pkg:bitnami/pgbouncer","source":"bitnami"}],"references":[{"url":"https://www.pgbouncer.org/changelog.html","tags":["web"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-107350","tags":["web"],"sources":["bitnami"]}],"credits":["Thanks to Dave Aitel (@daveaitel-openai, OpenAI) for finding and reporting this issue."],"assigner":"PostgreSQL","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-10-16T03:56:50.467Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-107350","url":"https://www.cve.org/CVERecord?id=CVE-2026-107350","licence":"CVE Terms of Use","modified":"2026-10-16T14:18:50.053Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-107350","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-107350","licence":"Public domain","modified":"2026-10-16T15:17:04.897Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-PGBOUNCER-2026-107350","url":"https://osv.dev/vulnerability/BIT-PGBOUNCER-2026-107350","licence":"Apache-2.0","modified":"2026-10-21T12:00:38.504Z"}],"updatedAt":"2026-11-25T22:59:44.765Z","epss":{"score":0.00369,"percentile":0.32745,"date":"2026-12-01T12:00:22.000Z"}}