CVE-2026-54291 Details
Description
pgjdbc is an open source postgresql JDBC Driver. In releases 42.7.4 through 42.7.11, channelBinding=require connections can be silently downgraded from SCRAM-SHA-256-PLUS with channel binding to plain SCRAM-SHA-256 without it, losing the man-in-the-middle protection the setting is meant to guarantee. An attacker who can intercept the TLS connection can trigger the downgrade with a certificate whose signature algorithm has no tls-server-end-point channel-binding hash, because the bundled com.ongres.scram:scram-client returns an empty byte array instead of failing and pgJDBC ScramAuthenticator checks only that the server advertised a PLUS mechanism, without rejecting the empty binding or checking that the negotiated mechanism uses channel binding. This issue is fixed in version 42.7.12.
A vulnerability in the PostgreSQL JDBC driver (pgjdbc) versions 42.7.4 prior to 42.7.12 allows for a silent downgrade in channel binding authentication. When 'channelBinding=require' is set, connections can be downgraded from 'SCRAM-SHA-256-PLUS' (with channel binding) to 'SCRAM-SHA-256' (without), thereby losing the man-in-the-middle protection that the 'PLUS' mechanism is intended to provide. This downgrade can be exploited by an attacker who intercepts the TLS connection and presents a certificate with a signature algorithm that lacks a corresponding channel-binding hash, such as Ed25519. The issue arises because the SCRAM client version 3.1 or 3.2, bundled with pgjdbc, fails to properly handle such certificates, and pgjdbc itself does not enforce the required channel binding, allowing the downgrade to occur silently.
Upgrade to PostgreSQL JDBC driver version 42.7.12 or later, which enforces channel binding requirements and prevents the silent downgrade. If an immediate upgrade is not possible, verify the server certificate at the TLS layer by setting 'sslmode=verify-full' with a truststore that contains only the server's CA.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jul 6, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-636 | Not Failing Securely ('Failing Open') | [email protected] |
| CWE-757 | Selection of Less-Secure Algorithm During Negotiation ('Algorithm Downgrade') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| postgresql postgresql jdbc driver | >= 42.7.4, < 42.7.12 |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jul 9, 2026 | Initial Analysis | [email protected] |
| Jul 6, 2026 | CVE Modified | CISA-ADP |
| Jul 6, 2026 | New CVE Received | [email protected] |