# CVE-2026-134845: pgjdbc does not enforce TLS for some ssl, service and DataSource settings

- Priority: **Prioritise**
- Reason: Severe, CVSS 7.4 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 0% (FIRST, 04-12-2026)
- Next step: Check applicability: affected before 42.7.15 (CNA); fix release not confirmed
- Status: published
- Published: 2026-11-23 · Modified: 2026-11-23
- Aliases: DEBIAN-CVE-2026-134845, UBUNTU-CVE-2026-134845, CGA-44fg-rrx8-gjcq, CGA-4jmx-v86j-xgrv, CGA-cvf9-f95f-424f, CGA-hw2v-rcfg-gjrm, CGA-4wgw-6gh8-vm2h, CGA-rpp2-g5gg-xrjj, CGA-wjxr-p8c6-v49f
- Record: https://cvemate.com/vulnerability/CVE-2026-134845 · JSON: https://cvemate.com/vulnerability/CVE-2026-134845/json

## Description

```text
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.
```

## Signals

- CVSS: 7.4 high (v3.1, CVE.org) CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
- EPSS: 0.306%, percentile 25.147%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- chainguard flyway (Chainguard): \< 13.13.0-r3
- chainguard flyway-fips (Chainguard): \< 13.13.0-r1
- chainguard keycloak-26.8 (Chainguard): \< 26.8.2-r2
- chainguard keycloak-26.8-iamguarded-compat (Chainguard): \< 26.8.2-r2
- wolfi flyway (Wolfi): \< 13.13.0-r3
- debian libpgjava (Debian): All versions (No fix recorded) \| \< 42.7.15-1
- ubuntu libpgjava (Ubuntu): All versions (No fix recorded)
- pgjdbc pgjdbc: ≥ 9.4.1208, \< 42.7.15

## References

- <https://github.com/pgjdbc/pgjdbc/security/advisories/GHSA-3mrw-838h-x9j9>
- <https://security-tracker.debian.org/tracker/CVE-2026-134845>
- <https://ubuntu.com/security/CVE-2026-134845>
- <https://www.cve.org/CVERecord?id=CVE-2026-134845>
- <https://repo.maven.apache.org/maven2>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/134xxx/CVE-2026-134845.json>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-134845>
- <https://github.com/pgjdbc/pgjdbc>

---

Data as of 2026-12-05T05:18:56.890Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
