Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.2%top 85%

Org.postgresql:postgresql: PostgreSQL JDBC Driver: Silent channel-binding authentication downgrade via unsupported certificate algorithms (CVE-2026-54291)

0
High
Published: 07/21/2026 (07/21/2026, 17:47:39 UTC)
Source: GCVE Database
Product: org.postgresql:postgresql

Description

A vulnerability in PostgreSQL JDBC Driver versions 42.7.4 through 42.7.11 allows silent downgrade of channel-binding authentication from SCRAM-SHA-256-PLUS to plain SCRAM-SHA-256. This downgrade removes the man-in-the-middle protection intended by channel binding when using certain certificate signature algorithms that lack a tls-server-end-point hash. The issue arises from a combination of a scram-client library returning empty binding data and pgJDBC not enforcing channel binding properly. The vulnerability is fixed in version 42.7.12. No workaround fully restores enforcement on affected versions; upgrading is required. Using strict TLS certificate verification (sslmode=verify-full) can mitigate the risk independently of channel binding.

CVSS v4.0

Attack Vector
Network
Attack Complexity
High
Attack Requirements
Present
Privileges Required
None
User Interaction
None
Vuln. Confidentiality
None
Vuln. Integrity
High
Vuln. Availability
None
Subsq. Confidentiality
None
Subsq. Integrity
Low
Subsq. Availability
None
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

Affected software

Mavenghsa
org.postgresql:postgresql
Affected versions
>=42.7.4 <42.7.12

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/21/2026, 20:05:34 UTC

Technical Analysis

The PostgreSQL JDBC Driver (pgJDBC) versions 42.7.4 through 42.7.11 are vulnerable to a silent downgrade of channel-binding authentication from SCRAM-SHA-256-PLUS (which includes channel binding) to SCRAM-SHA-256 (without channel binding). This occurs when the TLS server certificate uses signature algorithms without a tls-server-end-point channel-binding hash (e.g., Ed25519, Ed448, or post-quantum algorithms). The scram-client library bundled with these versions returns an empty byte array instead of failing when it cannot derive the binding hash. Additionally, pgJDBC does not enforce channel binding after negotiation, allowing the downgrade to succeed silently. Only connections explicitly setting channelBinding=require are affected; other policies behave as documented. The issue is resolved in pgJDBC 42.7.12, which enforces channel binding strictly and fails connections lacking valid channel-binding data. No pgJDBC configuration can restore enforcement on affected versions, so upgrading is necessary. Independent TLS certificate verification can mitigate the risk by preventing man-in-the-middle attacks presenting substitute certificates.

Potential Impact

Connections using channelBinding=require lose the man-in-the-middle protection provided by SCRAM-SHA-256-PLUS authentication due to silent downgrade to SCRAM-SHA-256 without channel binding. This weakens authentication security against attackers intercepting TLS connections who can present certificates with unsupported signature algorithms. The vulnerability affects only pgJDBC versions 42.7.4 through 42.7.11 and only when channelBinding=require is set. Default or other channel binding policies are not vulnerable to this downgrade. The impact is a loss of intended channel-binding security guarantees, increasing risk of credential interception or session hijacking in affected configurations.

Mitigation Recommendations

Upgrade pgJDBC to version 42.7.12 or later, which enforces channel binding correctly and fails connections lacking valid channel-binding data. No configuration setting on affected versions can restore proper enforcement. If immediate upgrade is not possible, enforce strict TLS certificate verification by setting sslmode=verify-full and using a truststore containing only the server's CA certificate. This prevents man-in-the-middle attackers from presenting substitute certificates and mitigates the risk independently of channel binding. Connections relying solely on channelBinding=require without certificate verification have no effective workaround other than upgrading.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
GHSA-j92g-9f8w-j867
Osv Schema Version
1.4.0
Aliases
["CVE-2026-54291"]
Ecosystems
["Maven"]
Database Specific Severity
HIGH
Cvss Version
4.0

Threat ID: 6a5fcf4e1010f89cc2153516

Added to database: 07/21/2026, 19:58:06 UTC

Last enriched: 07/21/2026, 20:05:34 UTC

Last updated: 07/21/2026, 20:57:08 UTC

Views: 2

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses