
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-107314 is an authentication enforcement bypass vulnerability in pgjdbc (PostgreSQL JDBC Driver) that allows a network-positioned attacker to intercept database credentials via a cleartext password downgrade attack. It affects versions 42.7.11 through 42.7.13 of org.postgresql:postgresql (Maven). The vulnerability was published on October 7, 2026, and patched in version 42.7.14. It carries a CVSS v3.1 base score of 5.9 (Medium) (GitHub Advisory, Red Hat Bugzilla).
The root cause lies in AuthMethod.parseRequireAuth, which returns null both when the requireAuth property is unset and when the parsed value leaves no authentication method allowed (e.g., all six known methods are excluded via negation). The AuthMethod.checkAuth function then treats null as "no restriction," causing the driver to accept any authentication method the server proposes — including cleartext password — rather than denying all methods as intended (CWE-636: Not Failing Securely / Failing Open; CWE-319: Cleartext Transmission of Sensitive Information). Affected configurations include requireAuth=!password,!md5,!gss,!sspi,!scram-sha-256,!none (in any order) and syntactically invalid values such as requireAuth=,. Positive allowlists (e.g., requireAuth=scram-sha-256) and partial exclusions are enforced correctly and are not affected (GitHub Advisory).
A network-positioned attacker (man-in-the-middle) can downgrade the authentication negotiation to cleartext password and capture the database password transmitted by the application. The primary impact is high confidentiality loss — specifically, exposure of database credentials — with no direct integrity or availability impact. Captured credentials could subsequently enable unauthorized database access, lateral movement within the data tier, or broader compromise of backend systems (GitHub Advisory, Red Hat Bugzilla).
There is no public proof-of-concept exploit and no evidence of in-the-wild exploitation at the time of disclosure (GitHub Advisory). Exploitation requires a network-adjacent attacker capable of intercepting traffic between the application and the PostgreSQL server (high attack complexity), and only affects deployments that explicitly misconfigure requireAuth to exclude all supported authentication methods — a condition unlikely to be set intentionally. The EPSS score is approximately 0.0026 (low probability of exploitation), and the vulnerability is not listed in the CISA Known Exploited Vulnerabilities catalog.
requireAuth connection property configured to exclude all six authentication methods (e.g., requireAuth=!password,!md5,!gss,!sspi,!scram-sha-256,!none) or an invalid value such as requireAuth=,.requireAuth enforcement is silently bypassed (returns null and applies no restriction), the driver complies and transmits the database password in cleartext, which the attacker captures (GitHub Advisory).0x03 in the PostgreSQL wire protocol) on port 5432 where SCRAM or other strong methods are expected; unusual ARP activity or duplicate MAC addresses on the network segment between application and database servers.authentication method=password (cleartext) for connections from application hosts that are normally expected to use SCRAM-SHA-256 or other methods; application logs showing successful database connections despite a requireAuth configuration that should have been restrictive.requireAuth connection property values in application configuration files or environment variables that exclude all six known methods (e.g., containing all of !password, !md5, !gss, !sspi, !scram-sha-256, !none) or syntactically invalid values such as a lone comma.Upgrade pgjdbc to version 42.7.14 or later, which refuses connections whose requireAuth value excludes every method (returning SQLState 08004) and rejects syntactically invalid values (GitHub Advisory). As an immediate workaround on affected versions, replace any all-exclusion requireAuth value with a positive allowlist of the authentication methods your server actually uses (e.g., requireAuth=scram-sha-256). Additionally, set channelBinding=require if using SCRAM over TLS, and enforce sslmode=verify-full with a trusted CA to prevent server impersonation. Network-level controls such as segmentation or VPN tunneling between application and database servers further reduce MITM risk (Red Hat Bugzilla).
Red Hat opened a security tracking bug (Bug 2547743) and assigned medium severity, with 71 CC'd team members indicating broad internal review across Red Hat product lines (Red Hat Bugzilla). The advisory was published by maintainer sehrope on the pgjdbc GitHub repository and rated "Moderate" by the project (GitHub Advisory). No significant broader media coverage or notable researcher commentary has been identified at this time.
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."