PostgreSQL JDBC Driver Vulnerability Exposes Traffic to Network Attackers
CVE-2026-134845
7.4HIGH
What is CVE-2026-134845?
The PostgreSQL JDBC Driver lacks proper enforcement of TLS settings, which may lead to threats when sslmode is not explicitly set. With certain configurations where the ssl value is specified (like 1, on, yes, or verify-full), the driver defaults to sslmode=prefer, resulting in no TLS being enforced before version 42.2.5. Furthermore, if a service is provided in the Properties instead of the URL, the sslmode specified in the pg_service.conf is disregarded, allowing previous sslmode settings to persist. This misconfiguration can be exploited by attackers on the network to intercept and manipulate traffic.
Affected Version(s)
pgjdbc 9.4.1208 < 42.7.15
References
CVSS V3.1
Score:
7.4
Severity:
HIGH
Confidentiality:
High
Integrity:
High
Availability:
High
Attack Vector:
Network
Attack Complexity:
High
Privileges Required:
None
User Interaction:
None
Scope:
Unchanged
Timeline
Vulnerability published
Vulnerability Reserved
Credit
Anthropic OSS Scanner (ANT-2026-JON5W0PA)
Anthropic OSS Scanner (ANT-2026-CHV7PJLQ)
Anthropic OSS Scanner (ANT-2026-QMR87C71)
