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…

GHSA-p9jg-fcr6-3mhf: OnGres SCRAM silent channel-binding authentication downgrade via unsupported certificate algorithms

0
High
Published: 07/01/2026 (07/01/2026, 21:51:17 UTC)
Source: GCVE Database
Product: com.ongres.scram:scram-client

Description

A vulnerability in com.ongres.scram:scram-client versions prior to 3.3 allows a TLS man-in-the-middle attacker to silently downgrade SCRAM authentication from SCRAM-SHA-256-PLUS (with channel binding) to SCRAM-SHA-256 (without channel binding). This occurs when the server presents an X.509 certificate using modern signature algorithms that the client fails to parse properly, causing the client to fall back to non-channel-bound authentication without raising an error. The issue affects deployments that enforce strict channel binding policies, potentially bypassing these security controls.

CVSS v4.0

Attack Vector
Network
Attack Complexity
High
Attack Requirements
None
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:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:L/SA:N

Affected software

Mavenghsa
com.ongres.scram:scram-client
Affected versions
<3.3
Mavenghsa
com.ongres.scram:scram-common
Affected versions
<3.3

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/01/2026, 22:50:19 UTC

Technical Analysis

The com.ongres.scram:scram-client library versions before 3.3 contain a flaw in the TlsServerEndpoint component where modern certificate signature algorithms (e.g., Ed25519 or post-quantum algorithms) cause the internal hash derivation method to fail parsing the algorithm name. This failure is silently swallowed, returning an empty byte array from the deprecated getChannelBindingData() API. The client then misinterprets this as absence of channel binding data and downgrades authentication from SCRAM-SHA-256-PLUS to SCRAM-SHA-256, bypassing strict client-side channel binding enforcement. This vulnerability only impacts configurations that require strict channel binding enforcement (e.g., channelBinding=require in pgJDBC). Versions 3.3 and later introduce strict exception propagation and explicit policy controls to prevent this silent downgrade.

Potential Impact

An attacker capable of performing a TLS man-in-the-middle attack can silently downgrade the authentication mechanism from SCRAM-SHA-256-PLUS (with channel binding) to SCRAM-SHA-256 (without channel binding) in affected versions. This bypasses strict client-side channel binding enforcement policies, weakening the security guarantees of the authentication process. Deployments using default or permissive channel binding policies are not affected by this downgrade. There are no known exploits in the wild at this time.

Mitigation Recommendations

Upgrade to version 3.3 or later of the com.ongres.scram:scram-client library, which fixes this issue by propagating exceptions properly and providing explicit channel binding policy controls. If using the ScramClient builder API directly, stop using the deprecated TlsServerEndpoint.getChannelBindingData() method and migrate to TlsServerEndpoint.getChannelBindingHash(), which correctly propagates exceptions. Additionally, explicitly set the ChannelBindingPolicy during client construction to enforce strict channel binding requirements rather than relying on implicit behavior.

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-p9jg-fcr6-3mhf
Osv Schema Version
1.4.0
Aliases
["CVE-2026-53712"]
Ecosystems
["Maven"]
Database Specific Severity
HIGH
Cvss Version
4.0

Threat ID: 6a45998227e9c797194186f1

Added to database: 07/01/2026, 22:49:38 UTC

Last enriched: 07/01/2026, 22:50:19 UTC

Last updated: 07/02/2026, 02:22:51 UTC

Views: 6

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