{"id":"CVE-2026-107350","revision":"bc52586477564b578e675ace067c1b3e","records":[{"revision":"bc52586477564b578e675ace067c1b3e","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-107350","aliases":[],"title":"Authentication bypass via second StartupMessage during SCRAM authentication in PgBouncer","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.","state":0,"publishedAt":"2026-10-14T17:34:39.009+00:00","modifiedAt":"2026-10-16T14:18:50.053+00:00","affected":[{"ecosystem":"Vendor product","name":"PgBouncer","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"defaultStatus\": \"unaffected\",\n                    \"product\": \"PgBouncer\",\n                    \"vendor\": \"n/a\",\n                    \"versions\": [\n                        {\n                            \"version\": \"1.17.0\",\n                            \"lessThan\": \"1.26.1\",\n                            \"versionType\": \"semver\",\n                            \"status\": \"affected\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"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,"severity":"HIGH"}],"references":["https://www.pgbouncer.org/changelog.html"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-107350","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-107350","identifiers":["CVE-2026-107350"]},"retained":false,"historicalAffected":[]}],"coverage":[]}