From 0ec0add6203f318eb02d5417c8d9c1102cd173fa Mon Sep 17 00:00:00 2001 From: Andrey Kolkov Date: Fri, 20 Nov 2026 15:49:15 +0700 Subject: [PATCH] chore(keycloak): bump Keycloak server to 26.8.2 quay.io/keycloak/keycloak:26.6.3 bundles OpenJDK 21.0.11, which is affected by CVE-2026-114938, an out-of-bounds write in the AVX-512 VBMI Base64 decoder that Keycloak reaches before authentication. Upstream fixed it by rebuilding the 26.8.2 image on OpenJDK 21.0.13.1 and did not rebuild 26.6 or 26.7. Pin the 26.8.2-3 tag: 26.8.2 moves when upstream rebuilds it, and 26.8.2-1 and 26.8.2-2 still carry the affected JDK. keycloak-configure runs kcadm.sh from the same image and was still on 26.5.2; move it along so the admin client matches the server. Tested by upgrading a two-replica 26.6.3 instance in place: the rolling update migrated the database and both realms to 26.8.2, the old and the new node shared one cluster while it ran, the keycloak-operator reconciled every resource against the new Admin API, and the kcadm.sh hook passed. Assisted-by: LLM Signed-off-by: Andrey Kolkov --- .../keycloak-configure/templates/enable-update-email.yaml | 2 +- packages/system/keycloak-configure/values.yaml | 2 +- packages/system/keycloak/values.yaml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/system/keycloak-configure/templates/enable-update-email.yaml b/packages/system/keycloak-configure/templates/enable-update-email.yaml index c1bbdae39..952f326b2 100644 --- a/packages/system/keycloak-configure/templates/enable-update-email.yaml +++ b/packages/system/keycloak-configure/templates/enable-update-email.yaml @@ -41,7 +41,7 @@ spec: type: RuntimeDefault containers: - name: kcadm - image: {{ .Values.image | default "quay.io/keycloak/keycloak:26.5.2" | quote }} + image: {{ .Values.image | default "quay.io/keycloak/keycloak:26.8.2-3" | quote }} securityContext: allowPrivilegeEscalation: false readOnlyRootFilesystem: true diff --git a/packages/system/keycloak-configure/values.yaml b/packages/system/keycloak-configure/values.yaml index b19efbff1..3d5ca6495 100644 --- a/packages/system/keycloak-configure/values.yaml +++ b/packages/system/keycloak-configure/values.yaml @@ -5,7 +5,7 @@ _cluster: {} # Keycloak image used by the one-shot admin-API job that enables the # UPDATE_EMAIL required action. Only kcadm.sh is used, so it just needs # to track the Keycloak server major version (packages/system/keycloak). -image: quay.io/keycloak/keycloak:26.5.2 +image: quay.io/keycloak/keycloak:26.8.2-3 # Enable the Keycloak Organizations feature for the platform realm. # Mapped to ClusterKeycloakRealm.spec.organizationsEnabled. Defaults to diff --git a/packages/system/keycloak/values.yaml b/packages/system/keycloak/values.yaml index 1e5b4ff19..b85d00061 100644 --- a/packages/system/keycloak/values.yaml +++ b/packages/system/keycloak/values.yaml @@ -2,7 +2,7 @@ # default keeps the chart renderable on its own, outside a cluster. _cluster: {} -image: quay.io/keycloak/keycloak:26.6.3 +image: quay.io/keycloak/keycloak:26.8.2-3 ingress: # Custom hostname for the Keycloak Ingress.