The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2026-6667

CVE-2026-6667: PgBouncer Auth Bypass Vulnerability

CVE-2026-6667 is an authorization bypass flaw in PgBouncer that allows unauthorized admin console users to execute the KILL_CLIENT command. This article covers the technical details, affected versions, and mitigation.

Published: May 18, 2026

CVE-2026-6667 Overview

CVE-2026-6667 is a missing authorization vulnerability in PgBouncer, the lightweight connection pooler for PostgreSQL. Versions prior to 1.25.2 fail to enforce proper authorization checks on the KILL_CLIENT administrative command. Any user with access to the administration console can execute this command, even when they are not listed in the admin_users parameter. The flaw maps to [CWE-862: Missing Authorization] and affects the integrity of the privilege boundary between regular console users and dedicated administrators.

Critical Impact

Authenticated console users outside the admin_users list can forcibly terminate client connections, causing availability disruption to applications relying on PgBouncer-managed PostgreSQL pools.

Affected Products

  • PgBouncer versions prior to 1.25.2
  • Deployments exposing the PgBouncer administration console to non-admin authenticated users
  • PostgreSQL environments using PgBouncer for connection pooling

Discovery Timeline

  • 2026-05-09 - CVE-2026-6667 published to NVD
  • 2026-05-14 - Last updated in NVD database

Technical Details for CVE-2026-6667

Vulnerability Analysis

PgBouncer exposes an administrative console accessible through the standard PostgreSQL protocol. The console supports privileged commands intended only for users defined in the admin_users configuration parameter. The KILL_CLIENT command terminates an active client connection managed by the pooler.

In versions before 1.25.2, the command handler omits the authorization check that restricts execution to administrators. Any authenticated console user, including those granted only read-level statistics access through the stats_users parameter, can invoke KILL_CLIENT. This results in a broken access control condition where the console's authentication step is treated as sufficient, without enforcing the secondary role-based authorization required for destructive commands.

Root Cause

The root cause is missing role validation in the dispatch path for KILL_CLIENT. Other destructive admin commands in PgBouncer are gated by an admin_users membership check before execution. The KILL_CLIENT handler lacked the equivalent gate, so the command fell through to execution after only the console authentication completed.

Attack Vector

An attacker requires network reachability to the PgBouncer admin interface and valid credentials for a non-admin console role. After connecting to the pgbouncer virtual database, the attacker issues the KILL_CLIENT command against a target client identifier. The pooler terminates the targeted client session, breaking the application's database connection. Repeated invocations can disrupt service for any pooled client. The vulnerability does not expose data confidentiality or allow integrity tampering, but it provides a low-effort availability attack against pooled workloads.

Detection Methods for CVE-2026-6667

Indicators of Compromise

  • Execution of the KILL_CLIENT command in PgBouncer logs by accounts not listed in admin_users
  • Unexpected client disconnection events correlated with admin console sessions from stats_users or other non-admin roles
  • Repeated authentication to the pgbouncer admin database from application or monitoring accounts

Detection Strategies

  • Enable verbose logging in PgBouncer and parse the admin command log entries for KILL_CLIENT invocations
  • Correlate the executing user identity against the configured admin_users list to flag unauthorized usage
  • Alert on connection terminations originating from administrative commands rather than client or server timeouts

Monitoring Recommendations

  • Forward PgBouncer logs to a centralized analytics platform and build queries for KILL_CLIENT, KILL, and SHUTDOWN command usage
  • Track session counts and unexpected drop spikes on PostgreSQL backends behind PgBouncer
  • Audit the stats_users and admin_users configuration values during regular configuration reviews

How to Mitigate CVE-2026-6667

Immediate Actions Required

  • Upgrade PgBouncer to version 1.25.2 or later on all hosts running the connection pooler
  • Restrict network access to the PgBouncer admin port to operator workstations and management hosts only
  • Review stats_users and any non-admin console accounts to ensure they belong to trusted operators
  • Rotate credentials for any console users whose access is no longer required

Patch Information

The fix is included in PgBouncer 1.25.2, which adds the missing authorization check so that only members of admin_users can execute KILL_CLIENT. Details are documented in the PgBouncer Changelog Entry.

Workarounds

  • Remove non-essential users from the stats_users list until the upgrade is applied
  • Bind the PgBouncer admin listener to localhost or a management VLAN via listen_addr
  • Enforce host-based firewall rules limiting access to the PgBouncer admin port
  • Audit existing console roles and disable any shared monitoring accounts that could be abused
bash
# Configuration example: restrict admin console exposure in pgbouncer.ini
listen_addr = 127.0.0.1
admin_users = pgb_admin
stats_users = pgb_monitor
auth_type = scram-sha-256

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeAuth Bypass

  • Vendor/TechPgbouncer

  • SeverityMEDIUM

  • CVSS Score4.3

  • EPSS Probability0.01%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityLow
  • CWE References
  • CWE-862
  • Technical References
  • PgBouncer Changelog Entry
  • Related CVEs
  • CVE-2025-2291: PgBouncer Auth Bypass Vulnerability

  • CVE-2026-6664: PgBouncer DOS Vulnerability

  • CVE-2026-6665: PgBouncer Buffer Overflow Vulnerability

  • CVE-2026-6666: Pgbouncer DOS Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English