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

- Severity: High 8.2 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.49%, higher than 43% of CVEs (2026-12-01)
- Published: 2025-06-11T14:32:39.348Z
- Modified: 2026-09-10T16:01:45.930Z
- Also known as: GHSA-hq9p-pm7w-8p54, BIT-POSTGRESQL-JDBC-DRIVER-2025-49146
- Weaknesses: CWE-287
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- pgjdbc pgjdbc: >= 42.7.4, < 42.7.7
- org.postgresql:postgresql (Maven): from 42.7.4 before 42.7.7
- postgresql postgresql_jdbc_driver: from 42.7.4 before 42.7.7
- postgresql-jdbc-driver (Bitnami): from 42.7.4 before 42.7.7

## Every score

- GitHub_M: 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`
- GitHub: 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`
- NVD: 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`
- Bitnami Vulnerability Database: rating High

## References

- <https://github.com/pgjdbc/pgjdbc/security/advisories/GHSA-hq9p-pm7w-8p54> (advisory, vendor-advisory, web)
- <https://github.com/pgjdbc/pgjdbc/commit/9217ed16cb2918ab1b6b9258ae97e6ede244d8a0> (fix, patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-49146> (advisory, web)
- <https://datatracker.ietf.org/doc/html/rfc5802> (web)
- <https://datatracker.ietf.org/doc/html/rfc7677> (web)
- <https://github.com/pgjdbc/pgjdbc> (package)
- <https://www.postgresql.org/docs/current/sasl-authentication.html#SASL-SCRAM-SHA-256> (web)

## Sources

- CVE List: [CVE-2025-49146](https://www.cve.org/CVERecord?id=CVE-2025-49146), CVE Terms of Use, modified 2025-06-11
- GitHub Advisory Database: [GHSA-hq9p-pm7w-8p54](https://github.com/advisories/GHSA-hq9p-pm7w-8p54), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2025-49146](https://nvd.nist.gov/vuln/detail/CVE-2025-49146), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-POSTGRESQL-JDBC-DRIVER-2025-49146](https://osv.dev/vulnerability/BIT-POSTGRESQL-JDBC-DRIVER-2025-49146), Apache-2.0, modified 2026-09-10

---

Page: https://cve.day/CVE-2025-49146 · Whole record: https://cve.day/CVE-2025-49146.json · Rebuilt by cve.day 2026-11-25T22:58:59.150Z
