Skip to main content
← All vulnerabilities
CVE-2026-107350

Authentication bypass via second StartupMessage during SCRAM authentication in PgBouncer

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.26.1
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: total

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: total

  3. Record last updated

Affected versions

  • n/a PgBouncer

    From 1.17.0 · fixed in 1.26.1

References 1

pgbouncer.org