What’s Vulnerable › Vulnerabilities

CVE-2025-49146: pgjdbc Client Allows Fallback to Insecure Authentication Despite channelBinding=require Configuration

Description

pgjdbc is an open source postgresql JDBC Driver. From 42.7.4 and until 42.7.7, when the PostgreSQL JDBC driver is configured with channel binding set to required (default value is prefer), the driver would incorrectly allow connections to proceed with authentication methods that do not support channel binding (such as password, MD5, GSS, or SSPI authentication). This could allow a man-in-the-middle attacker to intercept connections that users believed were protected by channel binding requirements. This vulnerability is fixed in 42.7.7.

Affected products

How to fix

Upgrade to a fixed version: Postgresql Jdbc Driver 42.7.7. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2025-49146 or the next vulnerability affects your stack