CVE-2026-134845
pgjdbc does not enforce TLS for some ssl, service and DataSource settings
CVSS Score
7.4
EPSS Score
0.0%
EPSS Percentile
0th
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.
| CWE | CWE-295 CWE-319 |
| Vendor | pgjdbc |
| Product | pgjdbc |
| Published | Nov 23, 2026 |
| Last Updated | Nov 23, 2026 |
Stay Ahead of the Next One
Get instant alerts for pgjdbc pgjdbc
Be the first to know when new high vulnerabilities affecting pgjdbc pgjdbc are published โ delivered to Slack, Telegram or Discord.
Get Free Alerts โ
Free ยท No credit card ยท 60 sec setup
CVSS v3 Breakdown
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
None
Affected Versions
pgjdbc / pgjdbc
9.4.1208 < 42.7.15
References
Credits
Anthropic OSS Scanner (ANT-2026-JON5W0PA) Anthropic OSS Scanner (ANT-2026-CHV7PJLQ) Anthropic OSS Scanner (ANT-2026-QMR87C71)