CVE-2026-107350
published high CVSS 3.1 · 8.8Authentication bypass via second StartupMessage during SCRAM authentication in PgBouncer
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | PgBouncer1.17.0 to < 1.26.1 · Other versions: unaffected | Affected | Not stated | PostgreSQL |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 8.8 / 10
- Severity
- high
- Provider
- PostgreSQL · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | PgBouncer | 1.17.0 to < 1.26.1 (affected · semver)Default: unaffected | PostgreSQL · cna |
Weaknesses
1- CWE-287 Improper Authentication
References
1Provider assertions
2PostgreSQL · cna
Authentication bypass via second StartupMessage during SCRAM authentication in PgBouncer
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 3928fb34269addcf0e5934780d18e028b5e1ee2bbadd92f13d3a108f8301c68e
- Ingested
- 16 Oct 2026, 14:35:47 UTC
- Source record
- Official CVE record