cve.bz

CVE-2026-107314 pgjdbc pgjdbc: Failing Open

5.9 mediumEPSS 0.3%

Medium (5.9) in pgjdbc pgjdbc. EPSS 0.3% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

5.9 medium
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
EPSS
0.3% (unchanged from 0.3% a week ago; 0.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 29th percentile. Scored 2026-11-17. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2026-10-08. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-636 Not Failing Securely (Failing Open)
OWASP Top 10
A10:2025 Mishandling of Exceptional Conditions
Published
Modified
NVD analysis
Awaiting analysis
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-107314 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-107314?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-107314?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-107314 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
pgjdbcfrom 42.7.11 before 42.7.14

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian14libpgjava42.7.14-1DEBIAN-CVE-2026-107314
Ubuntu26.10libpgjavano fix listedUBUNTU-CVE-2026-107314

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

This vulnerability is evaluated as a Moderate severity flaw rather than Important because successful exploitation requires both an uncommon configuration and a man-in-the-middle network position. By default, the `requireAuth` property is unset in standard deployments, leaving applications secure in standard configurations. The failure to enforce authentication restrictions only manifests when administrators explicitly configure `requireAuth` to negate all known authentication mechanisms or supply invalid syntax. Furthermore, capturing database credentials necessitates an active adversary situated to intercept and manipulate client-to-server database network traffic.

Red Hat's mitigation

To mitigate this issue, ensure database connection configurations do not use empty values or negation lists that exclude all supported authentication mechanisms in the `requireAuth` property. Instead, configure an explicit allowlist specifying only approved authentication methods (such as `requireAuth=scram-sha-256`) or omit the property entirely if default driver behavior is acceptable.

Additionally, protect connection traffic against man-in-the-middle interception by configuring TLS/SSL with full certificate validation on the JDBC connection string (for example, setting `sslmode=verify-full`).

Caveat: Ensure the PostgreSQL server is configured to support the chosen authentication method and SSL requirements before altering client connection parameters. Modifying connection properties in application configuration files requires restarting the affected application service.

ProductPackageStateAdvisory
Red Hat AMQ Broker 7postgresqlFix deferred
Red Hat build of Apicurio Registry 3postgresqlFix deferred
Red Hat build of Debezium 3postgresqlFix deferred
Red Hat Build of KeycloakpostgresqlFix deferred
Red Hat Build of Keycloakrhbk/keycloak-rhel9Fix deferred
Red Hat build of QuarkuspostgresqlAffected
Red Hat Enterprise Linux 10postgresql-jdbcNot affected
Red Hat Enterprise Linux 8javapackages-tools:201801/maven-assembly-pluginNot affected
Red Hat Enterprise Linux 8mariadb:10.3/mariadbNot affected
Red Hat Enterprise Linux 8mariadb-devel:10.3/mariadbNot affected
Red Hat Enterprise Linux 9postgresql-jdbcNot affected
Red Hat Fuse 7postgresqlNot affected
Red Hat Hardened Imagesmariadb10.11Not affected
Red Hat OpenShift Dev Spacesdevspaces/openvsx-rhel9Fix deferred
Red Hat OpenShift Dev Spacesdevspaces/pluginregistry-rhel9Fix deferred
Red Hat OpenShift Dev Spacesdevspaces/server-rhel9Fix deferred
Red Hat OpenStack Platform 13 (Queens)mariadbNot affected
Red Hat Satellite 6candlepinFix deferred

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-107314.

References

Check your stackJSON