CVE-2021-3935

published 22 Nov 2021 · updated 3 Nov 2025

When PgBouncer is configured to use "cert" authentication a man-in-the-middle attacker can inject arbitrary SQL queries when a connection is first established despite the use of TLS certificate verification and encryption. This flaw affects PgBouncer versions prior to 1.16.1.

8.1HighCVSS 8.1EPSS 1%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. No fixed version is recorded.

When PgBouncer is configured to use "cert" authentication, a man-in-the-middle attacker can inject arbitrary SQL queries when a connection is first established, despite the use of TLS certificate verification and encryption. This flaw affects PgBouncer versions prior to 1.16.1.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
=PgBouncer 1.16.1

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2021-3935 severity on Zeptric[![CVE-2021-3935](https://zeptric.io/badge/cve/CVE-2021-3935.svg)](https://zeptric.io/cve/CVE-2021-3935)