CVE-2025-49146
pgjdbc Client Allows Fallback to Insecure Authentication Despite channelBinding=require Configuration
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.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- High
- Integrity
- Low
- Availability
- None
Exploit likelihood
What each source reports
CVE List Score used
8.2
pgjdbc Client Allows Fallback to Insecure Authentication Despite channelBinding=require Configuration
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.
- Record
CVE-2025-49146- CVSS 3.1
- 8.2 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N - Weakness
- CWE-287
- Updated
- 2026-11-02
EUVDEUVD-2025-18118
8.2
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.
- Record
EUVD-2025-18118- CVSS 3.1
- 8.2 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N - Updated
- 2026-11-02
GitHub AdvisoriesGHSA-hq9p-pm7w-8p54
8.2
pgjdbc Client Allows Fallback to Insecure Authentication Despite channelBinding=require Configuration
Impact
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.
Patches
TBD
Workarounds
Configure sslMode=verify-full to prevent MITM attacks.
References
- Record
GHSA-hq9p-pm7w-8p54- CVSS 3.1
- 8.2 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N - Weakness
- CWE-287
- Updated
- 2026-11-02
NVD
8.2
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.
- Record
CVE-2025-49146- CVSS 3.1
- 8.2 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N - CVSS 3.1
- 5.9 Medium
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N - Weakness
- CWE-287
- Updated
- 2026-11-02
OSVALPINE-CVE-2025-49146
5.9
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.
- Record
ALPINE-CVE-2025-49146- CVSS 3.1
- 5.9 Medium
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N - Updated
- 2026-11-03
OSV
8.2
pgjdbc Client Allows Fallback to Insecure Authentication Despite channelBinding=require Configuration
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.
- Record
CVE-2025-49146- CVSS 3.1
- 8.2 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N - Weakness
- CWE-287
- Updated
- 2026-11-02
Show 6 moreShow less
OSVDEBIAN-CVE-2025-49146
5.9
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.
- Record
DEBIAN-CVE-2025-49146- CVSS 3.1
- 5.9 Medium
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N - Updated
- 2026-11-02
OSVGHSA-hq9p-pm7w-8p54
8.2
pgjdbc Client Allows Fallback to Insecure Authentication Despite channelBinding=require Configuration
Impact
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.
Patches
TBD
Workarounds
Configure sslMode=verify-full to prevent MITM attacks.
References
- Record
GHSA-hq9p-pm7w-8p54- CVSS 3.1
- 8.2 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N - Weakness
- CWE-287
- Updated
- 2026-11-02
OSVUBUNTU-CVE-2025-49146
8.2
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.
- Record
UBUNTU-CVE-2025-49146- CVSS 3.1
- 8.2 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N - CVSS 3.1
- 5.9 Medium
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N - Updated
- 2026-11-02
OSVBIT-postgresql-jdbc-driver-2025-49146 No score
pgjdbc Client Allows Fallback to Insecure Authentication Despite channelBinding=require Configuration
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.
- Record
BIT-postgresql-jdbc-driver-2025-49146- Updated
- 2026-11-02
OSVopenSUSE-SU-2025:15264-1 No score
postgresql-jdbc-42.7.7-1.1 on GA media
These are all security issues fixed in the postgresql-jdbc-42.7.7-1.1 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2025:15264-1- Updated
- 2026-11-02
OSVROOT-APP-MAVEN-CVE-2025-49146 No score
CVE-2025-49146 in org.postgresql:postgresql - Patched by Root
Root has patched CVE-2025-49146 in the org.postgresql:postgresql package for Root:Maven. Multiple fixed versions available.
- Record
ROOT-APP-MAVEN-CVE-2025-49146- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
org.postgresql:postgresqlMaven |
42.7.4 up to 42.7.7 | 42.7.7 |
java-postgresql-jdbcAlpine:v3.24 |
before 42.7.9-r0 | 42.7.9-r0 |
postgresql-jdbc-driverBitnami |
42.7.4 up to 42.7.7 | 42.7.7 |
libpgjavaDebian:13 |
before 42.7.7-1 | 42.7.7-1 |
libpgjavaDebian:14 |
before 42.7.7-1 | 42.7.7-1 |
org.postgresql:postgresqlMaven |
42.7.4 up to 42.7.7, plus listed versions 42.7.542.7.6 |
42.7.7 |
org.postgresql:postgresqlRoot:Maven |
before 42.7.4-aikido.4 | 42.7.4-aikido.442.7.7-aikido.1 |
io.root.org.postgresql:postgresqlRoot:Maven |
before 42.7.4-root.io.4 | 42.7.4-root.io.442.7.7-root.io.1 |
libpgjavaUbuntu:14.04:LTS |
All versions, plus listed versions 9.2-1002-1 |
None known |
libpgjavaUbuntu:16.04:LTS |
All versions, plus listed versions 9.2-1002-1 |
None known |
Show 8 moreShow less
| Package | Affected | Fixed |
|---|---|---|
libpgjavaUbuntu:Pro:18.04:LTS |
All versions, plus listed versions 9.4.1212-19.4.1212-1ubuntu0.1~esm1 |
None known |
libpgjavaUbuntu:Pro:20.04:LTS |
All versions, plus listed versions 42.2.6-142.2.8-142.2.9-142.2.10-142.2.10-1ubuntu0.1~esm1 |
None known |
libpgjavaUbuntu:22.04:LTS |
All versions, plus listed versions 42.2.23-142.2.24-142.3.1-142.3.2-142.3.3-1 |
None known |
libpgjavaUbuntu:24.04:LTS |
All versions, plus listed versions 42.5.4-142.6.0-242.7.0-142.7.1-142.7.2-1 |
None known |
libpgjavaUbuntu:25.10 |
All versions, plus listed versions 42.7.5-142.7.5-242.7.7-1 |
None known |
libpgjavaUbuntu:26.10 |
All versions, plus listed versions 42.7.10-142.7.11-142.7.12-142.7.13-1 |
None known |
libpgjavaUbuntu:26.04:LTS |
All versions, plus listed versions 42.7.7-142.7.8-142.7.8-242.7.9-142.7.10-1 |
None known |
postgresql-jdbcopenSUSE:Tumbleweed |
before 42.7.7-1.1 | 42.7.7-1.1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, aliases, references | OSV | |
| first indexed | CVE List, EUVD, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2025-49146 is a high vulnerability (CVSS 8.2) in Pgjdbc, published June 11, 2025. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.49%, the 42nd percentile. Fixed in org.postgresql:postgresql 42.7.7.
References
github.com/pgjdbc/pgjdbc/security/advisories/GHSA-hq9p-pm7w-8p54
github.com/pgjdbc/pgjdbc/commit/9217ed16cb2918ab1b6b9258ae97e6ede244d8a0
datatracker.ietf.org/doc/html/rfc5802
datatracker.ietf.org/doc/html/rfc7677
postgresql.org/docs/current/sasl-authentication.html
nvd.nist.gov/vuln/detail/CVE-2025-49146
Show 8 moreShow less
github.com/advisories/GHSA-hq9p-pm7w-8p54
security.alpinelinux.org/vuln/CVE-2025-49146
github.com/CVEProject/cvelistV5/tree/main/cves/2025/49xxx/CVE-2025-49146.json
security-tracker.debian.org/tracker/CVE-2025-49146
github.com/pgjdbc/pgjdbc
ubuntu.com/security/CVE-2025-49146
cve.org/CVERecord?id=CVE-2025-49146
suse.com/security/cve/CVE-2025-49146