pgjdbc, the PostgreSQL JDBC Driver, does not enforce TLS for some settings that ask for it.
- CVSS
- 7.4High
- Chance of exploitation (EPSS)
- 0.31%
- Published
- Nov 23, 2026
- In the news
- Not yet
What to do
A serious security flaw in Pgjdbc that can be attacked over the network without logging in. No attacks are reported yet; it can go in your normal patch cycle.
Action: Check the vendor's advisory in the references and apply updates as soon as they are available.
Fixed in: 42.7.15
Affected versions
- Pgjdbc
- 9.4.1208 to before 42.7.15
Description
pgjdbc, the PostgreSQL JDBC Driver, does not enforce TLS for some settings that ask for it. When sslmode is not set, an ssl value such as 1, on, yes or verify-full gives sslmode=prefer, or no TLS before 42.2.5. A service given in the Properties instead of the URL is ignored, so the sslmode of its pg_service.conf entry is lost. BaseDataSource.setUrl() keeps an sslmode, channelBinding or gssEncMode that was set before it. An attacker on the network path can then read and change the traffic. Versions 9.4.1208 through 42.7.14 are affected, and 42.7.15 fixes the problem.
Affected products
Get alerts for these →Timeline 4
Latest change: Tenable Cloud Security plugin 484331: Chainguard: multiple keycloak-26.8 packages: security update to 26.8.2-r2 (Nov 26, 2026)
News, advisories, exploit code, scanner detection and exploitation, newest first.
Fri, Nov 27, 2026
Thu, Nov 26, 2026
Mon, Nov 23, 2026
- CVECVE-2026-134845 published (CVSS 7.4)CVE Program · 17:17 UTC
References 2
- github.com /pgjdbc/pgjdbc/security/advisories/GHSA-3mrw-838h-x9j9
- github.com /pgjdbc/pgjdbc/security/advisories/GHSA-3mrw-838h-x9j9