Skip to main content

CVE-2026-107350: Improper Authentication in PgBouncer

0
High
VulnerabilityCVE-2026-107350cvecve-2026-107350
Published: 10/14/2026 (10/14/2026, 17:34:39 UTC)
Source: CVE Database V5
Product: PgBouncer

Description

CVE-2026-107350 is a high-severity vulnerability in PgBouncer versions 1.17.0 through 1.26.0. It involves improper authentication where a remote attacker who knows the password of one user listed in the auth_file can log in as any other user authenticating with SCRAM, including admin and superuser accounts. This occurs because a second StartupMessage during SCRAM authentication against a non-existent database is not rejected and switches the user context while still verifying credentials against the first user's keys.

CVSS v3.1

Score 8.8high

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

Affected software

PgBouncer

Affected versions
>=1.17.0 <1.26.1
GitHub Actionsmore threats →ai
pgbouncer/pgbouncer
pkg:github/pgbouncer/pgbouncer
Affected versions
>=1.17.0 <1.26.1

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 10/14/2026, 18:03:36 UTC

Technical Analysis

This vulnerability in PgBouncer (versions 1.17.0 through 1.26.0) allows an attacker with knowledge of a valid user's password to bypass proper authentication controls. By sending a second StartupMessage during SCRAM authentication targeting a non-existent database, the attacker can switch the user identity to another SCRAM-authenticated user, including administrative and superuser accounts, without re-verifying credentials. This flaw arises from improper handling of authentication messages, enabling privilege escalation and unauthorized access.

Potential Impact

An attacker who knows the password of any user listed in the PgBouncer auth_file can impersonate any other SCRAM-authenticated user, including PgBouncer administrators and backend superusers. This leads to complete compromise of PgBouncer's authentication mechanism, potentially allowing unauthorized access to sensitive database functions and data, with full confidentiality, integrity, and availability impact.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, restrict access to PgBouncer authentication files and monitor for suspicious authentication attempts. Avoid exposing PgBouncer to untrusted networks and consider additional network-level access controls.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
PostgreSQL
Date Reserved
2026-10-07T19:13:32.963Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 6acfc0ee2cdf04f6569bc5c6

Added to database: 10/14/2026, 17:50:38 UTC

Last enriched: 10/14/2026, 18:03:36 UTC

Last updated: 10/14/2026, 18:48:21 UTC

Views: 3

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses