{"id":"CVE-2026-107350","aliases":["AZL-108189","BIT-pgbouncer-2026-107350","DEBIAN-CVE-2026-107350","EUVD-2026-101500","GHSA-qcxp-3cx5-3f3g","RHSA-2026:83843","UBUNTU-CVE-2026-107350"],"status":"published","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.","severity":{"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","level":"high","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-12","score":0.00369,"percentile":0.3115,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-287"],"published":"2026-10-14T17:34:39Z","modified":"2026-11-02T14:16:48Z","fixes":[{"ecosystem":"Azure Linux:3","package":"pgbouncer","fixed_in":["1.26.1-1"],"sources":["osv"]},{"ecosystem":"Bitnami","package":"pgbouncer","fixed_in":["1.26.1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"pgbouncer","fixed_in":["1.26.1-1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Azure Linux:3","package":"pgbouncer","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.26.1-1"}]}]},{"source":"osv","ecosystem":"Bitnami","package":"pgbouncer","ranges":[{"type":"SEMVER","events":[{"introduced":"1.17.0"},{"fixed":"1.26.1"}]}]},{"source":"osv","ecosystem":"Debian:12","package":"pgbouncer","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.18.0-1","1.18.0-1+deb12u1","1.19.0-1","1.19.1-1","1.20.0-1","1.20.1-1","1.21.0-1","1.22.0-1","1.22.1-1","1.23.0-1","1.23.1-1","1.24.0-2","1.24.0-3","1.24.1-1","1.25.0-1","1.25.0-2","1.25.1-1","1.25.2-1","1.26.0-1","1.26.0-2","1.26.0-3","1.26.0-4","1.26.0-5","1.26.0-6","1.26.1-1"]},{"source":"osv","ecosystem":"Debian:13","package":"pgbouncer","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.24.1-1","1.24.1-1+deb13u1","1.24.1-1+deb13u2","1.25.0-1","1.25.0-2","1.25.1-1","1.25.2-1","1.26.0-1","1.26.0-2","1.26.0-3","1.26.0-4","1.26.0-5","1.26.0-6","1.26.1-1"]},{"source":"osv","ecosystem":"Debian:14","package":"pgbouncer","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.26.1-1"}]}],"versions":["1.24.1-1","1.25.0-1","1.25.0-2","1.25.1-1","1.25.2-1","1.26.0-1","1.26.0-2","1.26.0-3","1.26.0-4","1.26.0-5","1.26.0-6"]},{"source":"osv","ecosystem":"Red Hat:hummingbird:1","package":"pgbouncer","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.26.1-1.hum1"}]}],"bundled":3},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"pgbouncer","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.5.5-1","1.6.1-1","1.7-1"]},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"pgbouncer","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.7.2-3build1","1.7.2-65-g2b8e6cf-1","1.8.1-1","1.8.1-1build1"]},{"source":"osv","ecosystem":"Ubuntu:20.04:LTS","package":"pgbouncer","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.10.0-1","1.10.0-1build1","1.11.0-1","1.12.0-2","1.12.0-3"]},{"source":"osv","ecosystem":"Ubuntu:22.04:LTS","package":"pgbouncer","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.15.0-1","1.16.1-1ubuntu1"]},{"source":"osv","ecosystem":"Ubuntu:24.04:LTS","package":"pgbouncer","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.20.0-1","1.21.0-1","1.22.0-1","1.22.0-1build1","1.22.0-1build3","1.22.0-1build4"]},{"source":"osv","ecosystem":"Ubuntu:26.10","package":"pgbouncer","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.25.1-1","1.25.2-1","1.25.2-1ubuntu1"]},{"source":"osv","ecosystem":"Ubuntu:26.04:LTS","package":"pgbouncer","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.24.1-1","1.25.0-2","1.25.1-1"]}],"references":[{"url":"https://www.pgbouncer.org/changelog.html","tags":["web","article","report"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-107350","tags":["web","advisory"]},{"url":"https://github.com/advisories/GHSA-qcxp-3cx5-3f3g"},{"url":"https://security-tracker.debian.org/tracker/CVE-2026-107350","tags":["advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2026:83843","tags":["advisory"]},{"url":"https://images.redhat.com/","tags":["article"]},{"url":"https://access.redhat.com/security/cve/CVE-2026-107348","tags":["report"]},{"url":"https://access.redhat.com/security/updates/classification/","tags":["article"]},{"url":"https://access.redhat.com/security/cve/CVE-2026-107349","tags":["report"]},{"url":"https://access.redhat.com/security/cve/CVE-2026-107350","tags":["report"]},{"url":"https://security.access.redhat.com/data/csaf/v2/advisories/2026/rhsa-2026_83843.json","tags":["advisory"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2552741","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-107348","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-107348","tags":["advisory"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2552735","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-107349","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-107349","tags":["advisory"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2552733","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-107350","tags":["advisory","report"]},{"url":"https://ubuntu.com/security/CVE-2026-107350","tags":["report"]}],"sources":{"cve":[{"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, while the SCRAM exchange is still verified against the keys of the first user.","status":"published","published":"2026-10-14T17:34:39.009Z","modified":"2026-10-16T14:18:50.053Z","cvss":[{"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","level":"high","assessor":"cna"}],"cwes":["CWE-287"],"updated_at":"2026-11-02T13:45:14.072357Z"}],"euvd":[{"id":"EUVD-2026-101500","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.","status":"published","published":"2026-10-14T17:34:39Z","modified":"2026-10-16T14:18:50Z","cvss":[{"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","level":"high"}],"updated_at":"2026-11-02T17:00:06.126239Z"}],"ghsa":[{"id":"GHSA-qcxp-3cx5-3f3g","title":"Improper authentication in PgBouncer 1.17.0 through 1.26.0 allows a remote attacker who knows the...","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.","status":"published","published":"2026-10-14T18:32:29Z","modified":"2026-10-14T18:32:35Z","cvss":[{"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","level":"high"}],"cwes":["CWE-287"],"updated_at":"2026-11-02T15:13:28.02433Z"}],"nvd":[{"id":"CVE-2026-107350","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.","status":"published","published":"2026-10-14T18:17:25.67Z","modified":"2026-10-16T15:17:04.897Z","cvss":[{"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","level":"high","assessor":"secondary"}],"cwes":["CWE-287"],"updated_at":"2026-11-02T14:12:59.328869Z"}],"osv":[{"id":"DEBIAN-CVE-2026-107350","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.","status":"published","published":"2026-10-14T18:17:25.67Z","modified":"2026-10-23T17:47:51.21644753Z","cvss":[{"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","level":"high"}],"updated_at":"2026-11-02T15:45:49.381767Z"},{"id":"RHSA-2026:83843","title":"Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update","status":"published","published":"2026-10-18T10:05:15Z","modified":"2026-10-18T10:15:34.79421615Z","cvss":[{"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","level":"high"}],"updated_at":"2026-11-02T15:53:23.547034Z"},{"id":"UBUNTU-CVE-2026-107350","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.","status":"published","published":"2026-10-14T18:17:00Z","modified":"2026-10-28T17:50:31Z","cvss":[{"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","level":"high"}],"updated_at":"2026-11-02T16:55:59.130573Z"},{"id":"AZL-108189","title":"CVE-2026-107350 affecting package pgbouncer for versions less than 1.26.1-1","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.","status":"published","published":"2026-10-14T18:17:25Z","modified":"2026-11-02T14:16:48.611953763Z","updated_at":"2026-11-02T15:28:01.725816Z"},{"id":"BIT-pgbouncer-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, while the SCRAM exchange is still verified against the keys of the first user.","status":"published","published":"2026-10-21T08:55:11.42Z","modified":"2026-10-21T12:00:38.504517994Z","updated_at":"2026-11-02T15:28:34.343258Z"}]}}
