CVE-2026-134846 is a GSS encryption flaw in pgjdbc (the PostgreSQL JDBC Driver) that allows a network-positioned attacker to replay earlier server packets and downgrade encrypted connections to cleartext transmission. The driver fails to check the token state flags reported by GSSContext.unwrap(), and shares a single MessageProp instance between read and write operations, enabling both replay attacks and encryption downgrade. Affected versions are 42.2.15 through 42.7.14; version 42.7.15 resolves the issue. Only connections configured with gssEncMode=prefer or gssEncMode=require that successfully initiate GSS encryption are affected. The vulnerability carries a CVSS v3.1 base score of 6.5 (Medium) (GitHub Advisory).
The root cause is twofold, classified under CWE-294 (Authentication Bypass by Capture-replay) and CWE-319 (Cleartext Transmission of Sensitive Information). First, the driver does not inspect the MessageProp flags set by GSSContext.unwrap() — which can indicate duplicate, old, out-of-sequence, or gap tokens — allowing a network attacker to replay an earlier server packet from the same connection as a valid response to the current query. Second, the driver reuses a single MessageProp object for both reading and writing; when an incoming integrity-only (non-private) server token clears the privacy flag on this shared object, all subsequent outgoing packets from the driver are signed but transmitted without encryption. Exploitation requires the attacker to be positioned on the network path between the client and the PostgreSQL server, and the connection must use gssEncMode=prefer or require with a server that accepts GSS encryption — the default mode since version 42.2.18 is allow, which does not initiate GSS encryption and is therefore not affected (GitHub Advisory).
A successful attack allows an unauthenticated network attacker to inject false query responses by replaying earlier encrypted server packets, and to downgrade the connection so that subsequent SQL statements and bind parameters are transmitted in cleartext. This exposes database credentials, query data, and application logic to interception, and allows an attacker to manipulate query results delivered to the application. Integrity impact is rated High due to the ability to substitute arbitrary server replies; confidentiality impact is rated Low as the attacker must already be on the network path to observe the now-unencrypted traffic (GitHub Advisory).
A proof-of-concept exploit sequence is publicly documented in the official GitHub Security Advisory, demonstrating that a malicious backend can trigger the replay bug by sending the same sealed GSS token twice ([length][sealed token T] [length][sealed token T]). No runnable exploit code has been published, and there is no evidence of in-the-wild exploitation at this time. The EPSS score is 0.0, and the vulnerability is not listed in the CISA KEV catalog. NVD SSVC classifies exploitation status as "poc" with the attack rated as not automatable (GitHub Advisory).
gssEncMode=prefer or gssEncMode=require, and that the PostgreSQL server accepts GSS (Kerberos) encryption, establishing an encrypted JDBC connection.T during an active connection.T a second time. Because the driver does not check MessageProp duplicate/out-of-sequence flags from GSSContext.unwrap(), it accepts the replayed token as the valid response to the current query.MessageProp object.Upgrade pgjdbc (org.postgresql:postgresql) to version 42.7.15 or later, which fixes both the GSSContext.unwrap() flag-checking omission and the shared MessageProp issue. For systems that cannot patch immediately, set gssEncMode=disable in the JDBC connection configuration to prevent GSS encryption from being initiated — note this removes GSS encryption protections entirely. Additionally, implement network segmentation to restrict access to the network path between the application and PostgreSQL server, reducing the attack surface for adversary-in-the-middle scenarios. Note that the default gssEncMode=allow (the default since version 42.2.18) does not initiate GSS encryption and is not affected (GitHub Advisory).
The vulnerability was disclosed by the pgjdbc maintainer sehrope via a GitHub Security Advisory on November 23, 2026, with a Moderate severity rating. The advisory notes that only a party holding the session key (i.e., the server itself) can craft the integrity-only token required for the encryption downgrade, which limits the practical attacker pool. No significant independent researcher commentary or broad media coverage has been identified at this time (GitHub Advisory).
주요 리눅스 배포판과 그 릴리스 전반에 걸친 가용성을 수정하세요.
bionic (esm-apps)
libpgjava
devel
libpgjava
focal (esm-apps)
libpgjava
jammy
libpgjava
jammy (esm-apps)
libpgjava
noble
libpgjava
noble (esm-apps)
libpgjava
resolute
libpgjava
소스: 이 보고서는 AI를 사용해 생성되었습니다
무료 취약점 평가
9개 보안 영역에서 클라우드 보안 관행을 평가하여 위험 수준을 벤치마킹하고 방어의 허점을 파악하세요.
맞춤형 데모를 받아보세요
"내가 본 최고의 사용자 경험은 클라우드 워크로드에 대한 완전한 가시성을 제공합니다."
"Wiz는 클라우드 환경에서 무슨 일이 일어나고 있는지 볼 수 있는 단일 창을 제공합니다."
"우리는 Wiz가 무언가를 중요한 것으로 식별하면 실제로 중요하다는 것을 알고 있습니다."