{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-107350","assignerOrgId":"f86ef6dc-4d3a-42ad-8f28-e6d5547a5007","state":"PUBLISHED","assignerShortName":"PostgreSQL","dateReserved":"2026-10-07T19:13:32.963Z","datePublished":"2026-10-14T17:34:39.009Z","dateUpdated":"2026-10-16T14:18:50.053Z"},"containers":{"cna":{"providerMetadata":{"orgId":"f86ef6dc-4d3a-42ad-8f28-e6d5547a5007","shortName":"PostgreSQL","dateUpdated":"2026-10-14T17:34:39.009Z"},"title":"Authentication bypass via second StartupMessage during SCRAM authentication in PgBouncer","descriptions":[{"lang":"en","value":"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":[{"defaultStatus":"unaffected","product":"PgBouncer","vendor":"n/a","versions":[{"version":"1.17.0","lessThan":"1.26.1","versionType":"semver","status":"affected"}]}],"problemTypes":[{"descriptions":[{"lang":"en","cweId":"CWE-287","type":"CWE","description":"Improper Authentication"}]}],"references":[{"url":"https://www.pgbouncer.org/changelog.html"}],"metrics":[{"format":"CVSS","cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","baseScore":8.8,"baseSeverity":"HIGH"}}],"configurations":[{"lang":"en","value":"The attacker knows the password of a user that has its password stored in auth_file, and SCRAM authentication is used for both that user and the impersonated user (auth_type = scram-sha-256, auth_type = md5 with SCRAM secrets, or matching hba rules). The impersonated user can be loaded from either auth_file or auth_query."}],"credits":[{"lang":"en","value":"Thanks to Dave Aitel (@daveaitel-openai, OpenAI) for finding and reporting this issue.","type":"finder"}]},"adp":[{"metrics":[{"other":{"type":"ssvc","content":{"id":"CVE-2026-107350","role":"CISA Coordinator","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"version":"2.0.3","timestamp":"2026-10-16T03:56:50.467564Z"}}}],"title":"CISA ADP Vulnrichment","providerMetadata":{"orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP","dateUpdated":"2026-10-16T14:18:50.053Z"}}]}}