Skip to main content

PgBouncer EUVDEUVD-2026-28879

| CVE-2026-6667 MEDIUM
Missing Authorization (CWE-862)
2026-05-09 PostgreSQL GHSA-gc77-jrv9-6fjp
4.3
CVSS 3.1 · Vendor: PostgreSQL
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain admin console credentials
  2. Delivery
    Connect to admin console
  3. Exploit
    Authenticate successfully
  4. Execution
    Execute KILL_CLIENT command
  5. Persist
    Terminate target client connection
  6. Impact
    Cause service disruption

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Authorization checks on every request
MITRE ATT&CK

1 technique across 1 tactic: Privilege Escalation

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires: (1) network access to PgBouncer's administration console (typically bound to a specific port, often protected by firewall but accessible within the target network), (2) valid authentication credentials to the admin console (requires either knowledge of an admin console password or a compromised admin account), (3) the authenticated user must NOT be listed in the admin_users configuration parameter (otherwise they have legitimate access and no privilege escalation occurs), and (4) the KILL_CLIENT command must be available (enabled by default in PgBouncer). Exploitation is limited to denial of service through client disconnection; it does not grant access to PostgreSQL data or administrative functions beyond connection termination. The vulnerability does not affect unauthenticated attackers or users without any admin console access.

Impact

This is a privilege escalation vulnerability with moderate real-world risk constrained by authentication requirements. CVSS 4.3 with AV:N/AC:L/PR:L/UI:N reflects network accessibility but mandatory prior authentication (PR:L). The low availability impact (A:L) indicates partial denial of service rather than complete system compromise. The vulnerability is NOT in the initial authentication mechanism but in post-authentication authorization checks - an attacker must first compromise or be granted admin console credentials, then exploit the weak command authorization to exceed their intended privilege level. EPSS data is unavailable, but this is not a 'unauthenticated remote code execution' scenario despite network vector. KEV status and POC availability are not provided; without active exploitation confirmation, this appears to be a compliance/hardening issue rather than an immediate critical threat. However, in multi-tenant or shared PostgreSQL environments, this could enable lateral privilege escalation if lower-privileged admin console users exist. CVSS vector matches description: remote access to admin console (AV:N), low complexity (AC:L), requires prior authentication (PR:L), and produces availability impact only (A:L, not C/I).

Exploit ScenarioDerived

An attacker with valid credentials to PgBouncer's administration console but not listed in the admin_users parameter could connect to the console and issue KILL_CLIENT commands to terminate connections from other users, causing denial of service. For example, in a shared PostgreSQL hosting environment, a less-privileged administrative user could disrupt other tenants' database operations. The attack requires prior network access to the admin console port and valid authentication credentials, making opportunistic remote exploitation unlikely but targeted attacks against known admin users feasible.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – May 09, 2026

PgBouncer before version 1.25.2 fails to properly restrict the KILL_CLIENT admin command to authorized users, allowing any user with access to the administration console to terminate client connections. The vulnerability affects all PgBouncer versions before 1.25.2 and requires prior authentication to the admin console, limiting the real-world risk despite the authorization bypass. CVSS 4.3 reflects low availability impact but highlights a privilege escalation within authenticated contexts.

RemediationAI

Upgrade to PgBouncer 1.25.2 or later, which restores proper authorization checks on the KILL_CLIENT command per the vendor changelog (https://www.pgbouncer.org/changelog.html#pgbouncer-125x). The patch enforces that only users listed in the admin_users configuration parameter can execute KILL_CLIENT. If immediate upgrade is not feasible, operators should restrict admin console network access to trusted networks using firewall rules or network segmentation, limit the number of user accounts with admin console credentials, and audit admin console usage logs to detect unauthorized KILL_CLIENT attempts. Note that these workarounds do not fix the underlying authorization flaw and are temporary mitigations only.

Affected VersionsENISA

PgBouncer 0 <1.25.2

Affected Packages

euvd pgbouncer fix: 1.25.2

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

PgBouncer is a connection pooling middleware for PostgreSQL that manages client-server connections through an administration console protected by separate authentication. The KILL_CLIENT command allows termination of active client connections and should be restricted to users explicitly listed in the admin_users parameter (a configuration directive that specifies which authenticated users have full administrative privileges). The vulnerability stems from CWE-862 (Missing Authorization) - the admin console implements authentication but fails to enforce role-based access control (RBAC) for specific sensitive operations. This is a post-authentication privilege escalation: an authenticated user with console access but not explicitly in admin_users can execute a command intended only for administrators, causing denial of service by killing arbitrary connections.

Know when Pgbouncer gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (PostgreSQL) PRIMARY 4.3 MEDIUM
AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L

Primary rating from Vendor (PostgreSQL) · only source for this CVE.

CVSS VectorVendor: PostgreSQL

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
Low

Lifecycle Timeline

2
Patch available
May 09, 2026 - 02:16 EUVD
CVE Published
May 09, 2026 - 00:43 nvd
MEDIUM 4.3

DescriptionCVE.org

PgBouncer before 1.25.2 did not perform an appropriate authorization check for the KILL_CLIENT admin command. All users with access to the administration console (which itself requires authorization) could run this command. It would have been correct to allow only users listed in the admin_users parameter.

Threat Intelligence Overview

EPSS Score
0.0%
Top 97% exploitable
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

22
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +22
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

CVE-2015-4054 HIGH POC
7.5 May 23

PgBouncer before 1.5.5 allows remote attackers to cause a denial of service (NULL pointer dereference and crash) by send

CVE-2021-3672 MEDIUM POC
5.6 Nov 23

A flaw was found in c-ares library, where a missing input validation check of host names returned by DNS (Domain Name Se

CVE-2026-107350 HIGH
8.8 Oct 14

Authentication bypass in PgBouncer 1.17.0 through 1.26.0 allows an authenticated attacker who knows a valid password for

CVE-2015-6817 HIGH
8.1 May 23

PgBouncer 1.6.x before 1.6.1, when configured with auth_user, allows remote attackers to gain login access as auth_user

CVE-2025-2291 HIGH
8.1 Apr 16

Password can be used past expiry in PgBouncer due to auth_query not taking into account Postgres its VALID UNTIL value,

CVE-2025-12819 HIGH
8.1 Dec 03

Arbitrary SQL execution during authentication affects PgBouncer before 1.25.1 when the non-default auth_query feature is

CVE-2021-3935 HIGH
8.1 Nov 22

When PgBouncer is configured to use "cert" authentication, a man-in-the-middle attacker can inject arbitrary SQL queries

CVE-2026-107349 HIGH
7.5 Oct 14

Unauthenticated remote attackers can render PgBouncer 1.20.0 through 1.26.0 unresponsive by sending a single crafted Sta

CVE-2026-6668 HIGH
7.5 Sep 23

A crafted oversized input to the PgBouncer connection pooler (versions through 1.25.2) triggers an integer overflow in p

CVE-2026-19888 HIGH
7.5 Sep 23

Unauthenticated remote attackers can crash PgBouncer through 1.25.2 by sending a malformed SCRAM client-final-message th

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy