---
id: CVE-2026-54291
title: >-
  org.postgresql/postgresql: com.ongres.scram/scram-client: pgjdbc:
  Man-in-the-middle protection bypass via SCRAM-SHA-256-PLUS downgrade (CVE…
summary: >-
  A flaw was found in pgjdbc, an open-source PostgreSQL JDBC Driver. A remote
  attacker who can intercept a TLS (Transport Layer Security) connection can
  silently downgrade connections configured to require channel binding from
  SCRAM-SHA-256-…
severity: medium
cvss: 5.9
cvssVector: 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N'
cvssSource: vendor
cwe:
  - CWE-940
  - CWE-636
  - CWE-757
vendor: Red Hat
product: Cryostat 4
affected:
  - cryostat 4
  - amq_broker 7
  - build_of_apicurio_registry 3
  - build_of_debezium 3
  - build_of_keycloak
  - data_grid 8
  - single_sign_on 7
  - build_of_quarkus 3.27.5
  - build_of_quarkus 3.33.3
patched:
  - build_of_quarkus 3.27.5
  - build_of_quarkus 3.33.3
published: '2026-07-06'
updated: '2026-10-20'
sourceUpdated: '2026-10-20T04:42:37+00:00'
source: CSAF
sourceUrl: 'https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-54291.json'
references:
  - url: >-
      https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-54291.json
  - url: 'https://access.redhat.com/security/cve/CVE-2026-54291'
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2497465'
  - url: 'https://www.cve.org/CVERecord?id=CVE-2026-54291'
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2026-54291'
  - url: 'https://github.com/ongres/scram/releases/tag/3.3'
  - url: >-
      https://github.com/pgjdbc/pgjdbc/commit/77df98e4e66c12936ded3478a0954f6f580bad99
  - url: 'https://github.com/pgjdbc/pgjdbc/security/advisories/GHSA-j92g-9f8w-j867'
  - url: 'https://access.redhat.com/errata/RHSA-2026:53643'
  - url: 'https://access.redhat.com/errata/RHSA-2026:51653'
  - url: 'https://github.com/advisories/GHSA-j92g-9f8w-j867'
tags:
  - csaf
  - vex
  - red-hat
  - ghsa
  - maven
epss: 0.00236
epssPercentile: 0.14555
aliases:
  - GHSA-j92g-9f8w-j867
ecosystem: maven
ingestedAt: '2026-07-21T17:52:45.737Z'
---

## Overview

A flaw was found in pgjdbc, an open-source PostgreSQL JDBC Driver. A remote attacker who can intercept a TLS (Transport Layer Security) connection can silently downgrade connections configured to require channel binding from SCRAM-SHA-256-PLUS to plain SCRAM-SHA-256. This downgrade bypasses the intended man-in-the-middle protection, allowing the attacker to potentially intercept or alter sensitive communication. The vulnerability occurs because the system fails to properly validate the channel binding when a specific type of certificate is used.

## Vendor advisories

- **RHSA-2026:53643** · Red Hat · fixed in: Red Hat build of Quarkus 3.27.5 · released 2026-08-13 · [advisory](https://access.redhat.com/errata/RHSA-2026:53643)
- **RHSA-2026:51653** · Red Hat · fixed in: Red Hat build of Quarkus 3.33.3 · released 2026-08-13 · [advisory](https://access.redhat.com/errata/RHSA-2026:51653)
- **Red Hat VEX** · Moderate · affected: Cryostat 4, Red Hat AMQ Broker 7, Red Hat build of Apicurio Registry 3, Red Hat build of Debezium 3, Red Hat Build of Keycloak, Red Hat Data Grid 8, … · no fix planned: Cryostat 4, Red Hat AMQ Broker 7, Red Hat build of Apicurio Registry 3, Red Hat build of Debezium 3, … · updated 2026-10-20 · [vex](https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-54291.json)

**org.postgresql/postgresql: com.ongres.scram/scram-client: pgjdbc: Man-in-the-middle protection bypass via SCRAM-SHA-256-PLUS downgrade** — rated Moderate by Red Hat. Released 2026-07-06, updated 2026-10-20.

Affected:

- Cryostat 4
- Red Hat AMQ Broker 7
- Red Hat build of Apicurio Registry 3
- Red Hat build of Debezium 3
- Red Hat Build of Keycloak
- Red Hat Data Grid 8
- Red Hat Single Sign-On 7

Fixed:

- Red Hat build of Quarkus 3.27.5
- Red Hat build of Quarkus 3.33.3

No fix planned:

- Cryostat 4
- Red Hat AMQ Broker 7
- Red Hat build of Apicurio Registry 3
- Red Hat build of Debezium 3
- Red Hat Data Grid 8
- Red Hat Single Sign-On 7
- Red Hat Build of Keycloak

Not affected:

- Red Hat Hardened Images

## Remediation

Before applying this update, make sure all previously released errata
relevant to your system have been applied.

For information about how to apply this update, see https://access.redhat.com/articles/11258. https://access.redhat.com/errata/RHSA-2026:53643
Before applying this update, make sure all previously released errata
relevant to your system have been applied.

For details on how to apply this update, refer to:

https://access.redhat.com/articles/11258 https://access.redhat.com/errata/RHSA-2026:51653

## Package advisory (CVE-2026-54291)

Affected packages:

- `org.postgresql:postgresql >= 42.7.4, < 42.7.12`

Patched in:

- `org.postgresql:postgresql 42.7.12`

Source: https://github.com/advisories/GHSA-j92g-9f8w-j867
