{"id":"CVE-2026-54291","summary":"Silent channel-binding authentication downgrade via unsupported certificate algorithms","details":"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.","aliases":["BIT-postgresql-jdbc-driver-2026-54291","GHSA-j92g-9f8w-j867"],"modified":"2026-07-15T01:49:08.326887726Z","published":"2026-07-06T18:55:01.675Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/54xxx/CVE-2026-54291.json","cna_assigner":"GitHub_M","cwe_ids":["CWE-636","CWE-757"]},"references":[{"type":"WEB","url":"https://github.com/ongres/scram/releases/tag/3.3"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/54xxx/CVE-2026-54291.json"},{"type":"ADVISORY","url":"https://github.com/pgjdbc/pgjdbc/security/advisories/GHSA-j92g-9f8w-j867"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-54291"},{"type":"FIX","url":"https://github.com/pgjdbc/pgjdbc/commit/77df98e4e66c12936ded3478a0954f6f580bad99"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/ongres/scram","events":[{"introduced":"0"},{"fixed":"f6bd6e20e34d4989ee34b06825791657a2cfd4fe"}],"database_specific":{"source":"REFERENCES"}},{"type":"GIT","repo":"https://github.com/pgjdbc/pgjdbc","events":[{"introduced":"a23fa7077f220180e2db365abf3144f84b6033fb"},{"fixed":"77df98e4e66c12936ded3478a0954f6f580bad99"}],"database_specific":{"cpe":"cpe:2.3:a:postgresql:postgresql_jdbc_driver:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"42.7.4"},{"fixed":"42.7.12"}],"source":["AFFECTED_FIELD","CPE_RANGE","REFERENCES"]}}],"versions":["3.2","3.1","3.0","2.1","2.0","2.0-beta3","2.0-beta2","2.0-beta1","1.9-beta1","1.0.0-beta.2","REL42.7.11","REL42.7.10","REL42.7.9","REL42.7.8","REL42.7.7-rc1","REL42.7.7","REL42.7.6-rc1","REL42.7.6","REL42.7.5-rc1","REL42.7.5","REL42.7.4-rc1","REL42.7.4"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-54291.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:L/SA:N"}]}