{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-107350","id":"CVE-2026-107350","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, ","descriptionLong":"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.","published":"2026-10-14T17:34:39.009Z","updated":"2026-10-16T15:17:04.897Z","reserved":"2026-10-07T19:13:32.963Z","status":"Awaiting Analysis","rejected":false,"assigner":"PostgreSQL","metric":{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"PostgreSQL"},"metrics":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"PostgreSQL"},{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"f86ef6dc-4d3a-42ad-8f28-e6d5547a5007"}],"rating":"high","products":["PgBouncer"],"affectedProducts":[{"vendor":"n/a","product":"PgBouncer","defaultStatus":"unaffected","versions":[{"version":"1.17.0","lessThan":"1.26.1","versionType":"semver","status":"affected"}],"platforms":[]}],"packages":[],"cwes":["CWE-287"],"aliases":[],"references":[{"url":"https://www.pgbouncer.org/changelog.html","tags":[]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total"},"epss":0.00369,"epssPercentile":0.3151,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-107350","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-107350","ok":true,"note":"Awaiting Analysis"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-107350","ok":false,"note":"no open-source package data"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-107350","ok":true,"note":"scored 2026-11-20"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}