CVE-2026-107350
pgbouncer: pgbouncer: Privilege escalation via secondary startup message during SCRAM authentication
Overview
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.
Source: OX vulnerability database
Severity
8.8 · HIGH
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness: CWE-287
Affected packages · 1
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| Bitnami | pgbouncer | >=1.17.0, <1.26.1 | 1.26.1 |
Open a package to see all its vulnerabilities.
Operating systems · 6 fixes
Azure Linux 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 3.0 | pgbouncer | 0:1.26.1-1.azl3 |
debian 4 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 11 | pgbouncer | affected |
| 12 | pgbouncer | affected |
| 13 | pgbouncer | affected |
| 14 | pgbouncer | 1.26.1-1 |
echo 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| pgbouncer | 1.26.1 |
References
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.