Skip to content

CVE-2026-107314 pgjdbc does not enforce requireAuth when the value excludes every authentication method

MediumCVSS 5.9 EPSS 0.35%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial
Technology
MariaDBUbuntuDebianRed Hat

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.

Upgrade path

13 packages: 2 fixed, 11 with no fix yet.

PackageAffectedFixed inStatus
redhat/candlepin(Red Hat satellite 6) All versions No fix listed No fix yet
redhat/devspaces/openvsx-rhel9(Red Hat openshift_devspaces 3) All versions No fix listed No fix yet
redhat/devspaces/pluginregistry-rhel9(Red Hat openshift_devspaces 3) All versions No fix listed No fix yet
redhat/devspaces/server-rhel9(Red Hat openshift_devspaces 3) All versions No fix listed No fix yet
redhat/postgresql(Red Hat amq_broker 7) All versions No fix listed No fix yet
redhat/postgresql(Red Hat apicurio_registry 3) All versions No fix listed No fix yet
redhat/postgresql(Red Hat build_keycloak) All versions No fix listed No fix yet
redhat/postgresql(Red Hat debezium 3) All versions No fix listed No fix yet
redhat/postgresql(Red Hat quarkus 3) All versions No fix listed No fix yet
redhat/rhbk/keycloak-rhel9(Red Hat build_keycloak) All versions No fix listed No fix yet
ubuntu/libpgjava(Ubuntu 26.10) All versions No fix listed No fix yet
debian/libpgjava(Debian 14) < 42.7.14-1; = 42.7.7-1; = 42.7.7-2; = 42.7.8-1 +6 more 42.7.14-1 Fixed
org.postgresql/postgresql(Maven) >= 42.7.11, < 42.7.14 42.7.14 Fixed

Affected products

ProductAffected versionsFixed in
org.postgresql/postgresql(Maven) >= 42.7.11, < 42.7.14 42.7.14
redhat/postgresql(Red Hat:amq_broker:7) All versions No fix listed
redhat/postgresql(Red Hat:apicurio_registry:3) All versions No fix listed
redhat/postgresql(Red Hat:debezium:3) All versions No fix listed
redhat/postgresql(Red Hat:build_keycloak:) All versions No fix listed
redhat/rhbk/keycloak-rhel9(Red Hat:build_keycloak:) All versions No fix listed
redhat/postgresql(Red Hat:quarkus:3) All versions No fix listed
redhat/devspaces/openvsx-rhel9(Red Hat:openshift_devspaces:3) All versions No fix listed
redhat/devspaces/pluginregistry-rhel9(Red Hat:openshift_devspaces:3) All versions No fix listed
redhat/devspaces/server-rhel9(Red Hat:openshift_devspaces:3) All versions No fix listed
redhat/candlepin(Red Hat:satellite:6) All versions No fix listed
debian/libpgjava(Debian:14) < 42.7.14-1 42.7.14-1
debian/libpgjava(Debian:14) = 42.7.10-1 No fix listed
debian/libpgjava(Debian:14) = 42.7.11-1 No fix listed
debian/libpgjava(Debian:14) = 42.7.12-1 No fix listed
debian/libpgjava(Debian:14) = 42.7.13-1 No fix listed
debian/libpgjava(Debian:14) = 42.7.7-1 No fix listed
debian/libpgjava(Debian:14) = 42.7.7-2 No fix listed
debian/libpgjava(Debian:14) = 42.7.8-1 No fix listed
debian/libpgjava(Debian:14) = 42.7.8-2 No fix listed
debian/libpgjava(Debian:14) = 42.7.9-1 No fix listed
ubuntu/libpgjava(Ubuntu:26.10) All versions No fix listed

References