CVE-2026-134845pgjdbc Improper Certificate Validation
NVDCVSS scored by f86ef6dc-4d3a-42ad-8f28-e6d5547a5007
Vulnerability Summary
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.
CVSS v3.1 Base Metrics — Score 7.4 (HIGH)
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:NAttack VectorNetwork
Attack ComplexityHigh
Privileges RequiredNone
User InteractionNone
ScopeUnchanged
ConfidentialityHigh
IntegrityHigh
AvailabilityNone
Affected & Patched Versions
- pgjdbc >= 9.4.1208 and < 42.7.15
- pgjdbc 42.7.15
What to do
Plan remediation soon. No exploitation is confirmed yet, but the severity is high.
- Check whether you run pgjdbc and which version.
- Update to a patched version listed above, then confirm the new version.
Timeline
- Nov 23, 2026Published
- Nov 24, 2026Record last modified
Score, severity and exploitation changes are tracked from the day Watchtower started logging them.
Get notified about new pgjdbc CVEsYou are reading CVE-2026-134845. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alertsExternal References
Data last checked: Nov 25, 2026 14:14 UTC