Libpgjava: pgjdbc, the PostgreSQL JDBC Driver, versions 42.7.11 through 42.7.13 enforce no restriction when the requireAuth connection property excludes all… (CVE-2026-107314)
Description
A vulnerability in pgjdbc, the PostgreSQL JDBC Driver versions 42.7.11 through 42.7.13, allows bypassing authentication restrictions when the requireAuth connection property excludes all known authentication methods. This misconfiguration causes the driver to accept any authentication method requested by the server, including cleartext password authentication, potentially exposing database passwords to an attacker positioned between the application and server. The issue is fixed in version 42.7.14, which rejects such connections with an error.
CVSS v3.1
Score 5.9medium
Affected software
pkg:deb/ubuntu/libpgjava?arch=source&distro=trustypkg:deb/ubuntu/libpgjava?arch=source&distro=xenialpkg:deb/ubuntu/libpgjava?arch=source&distro=esm-apps/bionicpkg:deb/ubuntu/libpgjava?arch=source&distro=esm-apps/focalpkg:deb/ubuntu/libpgjava?arch=source&distro=jammypkg:deb/ubuntu/libpgjava?arch=source&distro=noblepkg:deb/ubuntu/libpgjava?arch=source&distro=stonkingpkg:deb/ubuntu/libpgjava?arch=source&distro=resoluteRun 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
Technical Analysis
The PostgreSQL JDBC Driver (pgjdbc) versions 42.7.11 through 42.7.13 have a vulnerability related to the requireAuth connection property. If this property excludes all six authentication methods known to the driver (e.g., requireAuth=!password,!md5,!gss,!sspi,!scram-sha-256,!none) or is set to an empty or invalid value (such as requireAuth=, or a single comma), the driver enforces no authentication restrictions. Consequently, the driver accepts any authentication method the server requests, including cleartext password authentication. This behavior can allow an attacker positioned between the application and the database server to capture the database password. Deployments that do not set the requireAuth property are not affected. The vulnerability is resolved in version 42.7.14, which refuses such connections with SQLState 08004 and rejects invalid requireAuth values.
Potential Impact
An attacker with network position between the application and the PostgreSQL server can exploit this vulnerability to force cleartext password authentication, thereby capturing the database password. This compromises the confidentiality of database credentials but does not affect data integrity or availability directly. The vulnerability requires specific misconfiguration of the requireAuth property to exclude all authentication methods or be set to an invalid value.
Mitigation Recommendations
Upgrade to pgjdbc version 42.7.14 or later, where the vulnerability is fixed by rejecting connections with invalid or overly restrictive requireAuth settings. If upgrading is not immediately possible, ensure that the requireAuth property is either unset or configured to include at least one valid authentication method (e.g., requireAuth=scram-sha-256). Avoid configurations that exclude all known authentication methods or use empty/invalid values. No other mitigation is indicated by the vendor advisory.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- UBUNTU-CVE-2026-107314
- Osv Schema Version
- 1.7.0
- Ecosystems
- ["Ubuntu:14.04:LTS","Ubuntu:16.04:LTS","Ubuntu:Pro:18.04:LTS","Ubuntu:Pro:20.04:LTS","Ubuntu:22.04:LTS","Ubuntu:24.04:LTS","Ubuntu:26.10","Ubuntu:26.04:LTS"]
- Cvss Version
- 3.1
Threat ID: 6ad3f4dd2cdf04f656656cdf
Added to database: 10/17/2026, 22:21:17 UTC
Last enriched: 10/17/2026, 22:34:27 UTC
Last updated: 10/17/2026, 22:34:27 UTC
Views: 2
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
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
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.