CVE-2026-14681

PostgreSQL improper enforcement of GSSAPI encryption when coupled with SSL

Published Aug 13, 2026 CVSS 3.1 · 4.2 Medium EPSS < 1% KEV · Not listed
Description
Improper enforcement of message integrity in PostgreSQL GSSAPI support allows a user to negotiate GSSAPI contrary to pg_hba.conf rules, via initial direct TLS connection. Despite a pg_hba.conf that appears to require GSSAPI, the connection may exchange data over TLS encryption alone. If the TLS settings are more permissive than the GSS settings, the connection may continue with lesser protection. Within major versions 17-18, minor versions before PostgreSQL 18.6 and 17.11 are affected. Versions before PostgreSQL 17 are unaffected.

Analysis

AI-generated

Technical impact

The flaw arises when PostgreSQL fails to enforce message integrity for GSSAPI sessions that are also wrapped in TLS. An attacker can initiate a TLS connection that sidesteps the pg_hba.conf rule that mandates GSSAPI, allowing data to flow only over TLS encryption. This undermines the stronger security intent and can expose database traffic to downgrade or man‑in‑the‑middle attacks, exemplifying the improper enforcement of a security control (CWE‑924).

Affected Systems

This flaw affects PostgreSQL major versions 17 and 18, specifically all minor releases earlier than 17.11 and 18.6. Versions prior to PostgreSQL 17 are unaffected.

Risk and Exploitability

With a CVSS score of 4.2 the vulnerability is moderate. The EPSS score of <1% indicates a low probability of exploitation, and the flaw is not listed in the CISA KEV catalog. Attacks would require a client capable of connecting to the database over TLS and exploiting the misconfiguration to replace GSSAPI authentication with TLS alone, potentially weakening confidentiality if TLS is compromised.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade PostgreSQL to version 18.6 or later, or 17.11 or later, to obtain the vendor fix.
  • Ensure that pg_hba.conf requires GSSAPI authentication before any TLS or other methods, removing conflicting entries that could allow TLS‑only negotiation.
  • If an immediate patch is not available, enforce stricter TLS settings or disable GSSAPI usage to prevent the downgrade route.

Generated by OpenCVE AI on August 30, 2026 at 00:50 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DSA Debian DSA DSA-6438-1 postgresql-17 security update
Ubuntu USN Ubuntu USN USN-8653-1 PostgreSQL vulnerabilities
History
Type Values Removed Values Added
Description Improper enforcement of message integrity in PostgreSQL GSSAPI support allows a user to negotiate GSSAPI contrary to pg_hba.conf rules, via initial direct TLS connection. Despite a pg_hba.conf that appears to require GSSAPI, the connection may exchange data over TLS encryption alone. If the TLS settings are more permissive than the GSS settings, the connection may continue with lesser protection. Within major versions 17-18, minor versions before PostgreSQL 18.5 and 17.11 are affected. Versions before PostgreSQL 17 are unaffected. Improper enforcement of message integrity in PostgreSQL GSSAPI support allows a user to negotiate GSSAPI contrary to pg_hba.conf rules, via initial direct TLS connection. Despite a pg_hba.conf that appears to require GSSAPI, the connection may exchange data over TLS encryption alone. If the TLS settings are more permissive than the GSS settings, the connection may continue with lesser protection. Within major versions 17-18, minor versions before PostgreSQL 18.6 and 17.11 are affected. Versions before PostgreSQL 17 are unaffected.
Type Values Removed Values Added
CPEs cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:*
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Postgresql
Postgresql postgresql
Vendors & Products Postgresql
Postgresql postgresql
Type Values Removed Values Added
Description Improper enforcement of message integrity in PostgreSQL GSSAPI support allows a user to negotiate GSSAPI contrary to pg_hba.conf rules, via initial direct TLS connection. Despite a pg_hba.conf that appears to require GSSAPI, the connection may exchange data over TLS encryption alone. If the TLS settings are more permissive than the GSS settings, the connection may continue with lesser protection. Within major versions 17-18, minor versions before PostgreSQL 18.5 and 17.11 are affected. Versions before PostgreSQL 17 are unaffected.
Title PostgreSQL improper enforcement of GSSAPI encryption when coupled with SSL
Weaknesses CWE-924
References
Metrics cvssV3_1

{'score': 4.2, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N'}

Weaknesses
  • CWE-924

    Improper Enforcement of Message Integrity During Transmission in a Communication Channel

Sources

Status
PUBLISHED
Assigner
PostgreSQL
Published
Updated
Aug 29, 2026, 11:07 PM
Reserved
Jul 3, 2026, 8:28 PM
Status
Modified
Published
Aug 13, 2026, 1:17 PM
Modified
Aug 29, 2026, 11:17 PM