Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.postgresql/postgresql
  4. ›
  5. CVE-2025-49146

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

June 11, 2025

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.

References

  • datatracker.ietf.org/doc/html/rfc5802
  • datatracker.ietf.org/doc/html/rfc7677
  • github.com/advisories/GHSA-hq9p-pm7w-8p54
  • github.com/pgjdbc/pgjdbc
  • github.com/pgjdbc/pgjdbc/commit/9217ed16cb2918ab1b6b9258ae97e6ede244d8a0
  • github.com/pgjdbc/pgjdbc/security/advisories/GHSA-hq9p-pm7w-8p54
  • nvd.nist.gov/vuln/detail/CVE-2025-49146
  • www.postgresql.org/docs/current/sasl-authentication.html

Code Behaviors & Features

Detect and mitigate CVE-2025-49146 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 42.7.4 before 42.7.7

Fixed versions

  • 42.7.7

Solution

Upgrade to version 42.7.7 or above.

Impact 8.2 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-287: Improper Authentication

Source file

maven/org.postgresql/postgresql/CVE-2025-49146.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 19 Aug 2025 12:19:43 +0000.