# CVE-2026-107314: pgjdbc does not enforce requireAuth when the value excludes every authentication method

- Priority: **Routine**
- Reason: Not severe (CVSS 5.9, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-10-07 · Modified: 2026-10-08
- Aliases: UBUNTU-CVE-2026-107314, DEBIAN-CVE-2026-107314, CGA-6j3r-mq6w-985m, CGA-6jmw-25g8-wmf6
- Record: https://cvemate.com/vulnerability/CVE-2026-107314 · JSON: https://cvemate.com/vulnerability/CVE-2026-107314/json

## Description

```text
pgjdbc, the PostgreSQL JDBC Driver, versions 42.7.11 through 42.7.13 enforce no restriction when the requireAuth connection property excludes all six authentication methods the driver knows, for example requireAuth=!password,!md5,!gss,!sspi,!scram-sha-256,!none. The driver then accepts any method the server asks for, including cleartext password authentication. A value without a method in it, such as requireAuth=, (a single comma), is affected the same way. An attacker positioned between the application and its server can ask for cleartext password authentication and receive the database password. A positive list such as requireAuth=scram-sha-256, and a partial exclusion such as requireAuth=!password,!md5, are enforced correctly. The property has no default value, so a deployment that does not set it is not affected. 42.7.14 fixes the problem: such a connection is refused with SQLState 08004, and a value without a method in it is rejected as invalid.
```

## Signals

- CVSS: 5.9 medium (v3.1, CVE.org) CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
- EPSS: 0.345%, percentile 30.056%, 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-fips (Chainguard): \< 13.13.0-r1
- debian libpgjava (Debian): All versions (No fix recorded) \| \< 42.7.14-1
- ubuntu libpgjava (Ubuntu): All versions (No fix recorded)
- pgjdbc pgjdbc: ≥ 42.7.11, \< 42.7.14

## References

- <https://github.com/pgjdbc/pgjdbc/security/advisories/GHSA-rhp9-mr79-r74h>
- <https://ubuntu.com/security/CVE-2026-107314>
- <https://www.cve.org/CVERecord?id=CVE-2026-107314>
- <https://github.com/pgjdbc/pgjdbc/commit/a65ef98fe37bf0ecbd1a6331205cdb924985ed75>
- <https://security-tracker.debian.org/tracker/CVE-2026-107314>

---

Data as of 2026-12-05T14:04:45.212Z. 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
