Menu

Keycloak 26.8.2 still ships pgjdbc 42.7.13 and its eight CVEs. Your connection string decides which ones matter
📰

Keycloak 26.8.2 still ships pgjdbc 42.7.13 and its eight CVEs. Your connection string decides which ones matter

DEV Community: java·Jules Robineau·about 8 hours ago
#B0omqqKC
#devtojava#devto#dev#keycloak#postgresql
Long article (1769 words) — no AI summary yet.
Reading 0:00
15s threshold

On 23 November the PostgreSQL driver for Java published fourteen security advisories at once, eight of them with a CVE number. The fix is version 42.7.15. Keycloak 26.8.2, released on 5 November, ships 42.7.13. As of 1 December, no Keycloak release carries the fix. I read all fourteen advisories against my own config, as I did for the 19 CVEs of 26.8.1.

TL;DR : the driver between Keycloak and PostgreSQL is pgjdbc, and it comes inside the Keycloak image. Its eight CVEs of 23 November are not fixed in any Keycloak release yet. Four of them are decided by your connection string: simple query mode, ssl=on , GSS, startup parameters. One is decided by the roles in your database. At home, none of the first four applies, but my connection string never verifies the server. Here are the commands to read yours.

State of the sources and of my repositories: checked on 1 December 2026.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.