Vulnerability 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.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Postgresql | Postgresql Jdbc Driver | >= 42.7.4, < 42.7.12 |
Related Weaknesses (CWE)
References
- https://github.com/ongres/scram/releases/tag/3.3Not Applicable
- https://github.com/pgjdbc/pgjdbc/commit/77df98e4e66c12936ded3478a0954f6f580bad99Patch
- https://github.com/pgjdbc/pgjdbc/security/advisories/GHSA-j92g-9f8w-j867PatchVendor Advisory
FAQ
What is CVE-2026-54291?
CVE-2026-54291 is a vulnerability with a CVSS score of 5.9 (MEDIUM). 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...
How severe is CVE-2026-54291?
CVE-2026-54291 has been rated MEDIUM with a CVSS base score of 5.9/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-54291?
Check the references section above for vendor advisories and patch information. Affected products include: Postgresql Postgresql Jdbc Driver.