Medium severity · published Oct 7, 2026
CVE-2026-107314
pgjdbc does not enforce requireAuth when the value excludes every authentication method
5.9
CVSS
0.3%
EPSS
No
On KEV
Description
pgjdbc, the PostgreSQL JDBC Driver, versions 42.7.11 through 42.7.13 enforce no restriction when the requireAuth connection property excludes all six authentication methods the driver knows, for example requireAuth=!password,!md5,!gss,!sspi,!scram-sha-256,!none. The driver then accepts any method the server asks for, including cleartext password authentication. A value without a method in it, such as requireAuth=, (a single comma), is affected the same way. An attacker positioned between the application and its server can ask for cleartext password authentication and receive the database password. A positive list such as requireAuth=scram-sha-256, and a partial exclusion such as requireAuth=!password,!md5, are enforced correctly. The property has no default value, so a deployment that does not set it is not affected. 42.7.14 fixes the problem: such a connection is refused with SQLState 08004, and a value without a method in it is rejected as invalid.
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
Attack vector
Network
Complexity
High
Privileges
None
User interaction
None
Confidentiality
High
Integrity
None
Availability
None
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.3% · higher than 28% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
PG
pgjdbc · pgjdbc
42.7.11 before 42.7.14 · source: vendor
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2026-107314
CVE.org
https://www.cve.org/CVERecord?id=CVE-2026-107314
vendor-advisory
https://github.com/pgjdbc/pgjdbc/security/advisories/GHSA-rhp9-mr79-r74h
More from pgjdbc
8.0
CVE-2022-31197
SQL Injection in ResultSet.refreshRow() with malicious column names in pgjdbc
7.5
CVE-2026-42198
pgjdbc: Unbounded PBKDF2 iterations in SCRAM authentication allows CPU exhaustion DoS
5.9
CVE-2026-54291
Silent channel-binding authentication downgrade via unsupported certificate algorithms
5.3
CVE-2026-107315
pgjdbc pads a value shorter than its declared length with bytes of earlier statements (rather than zeros)
4.2
CVE-2026-107313
pgjdbc stores bytes of earlier messages in place of a large value on GSS-encrypted connections
