Skip to content

EPMDEDP-17198: feat: upgrade Keycloak to 26.6.4 - #445

Merged
MykolaMarusenko merged 1 commit into
mainfrom
EPMDEDP-17198
Aug 5, 2026
Merged

EPMDEDP-17198: feat: upgrade Keycloak to 26.6.4#445
MykolaMarusenko merged 1 commit into
mainfrom
EPMDEDP-17198

Conversation

@SergK

@SergK SergK commented Aug 5, 2026

Copy link
Copy Markdown
Member

Keycloak versions prior to 26.5.3 decode organization invitation tokens without verifying their cryptographic signature, letting an attacker tamper with the org_id and eml claims to self-register into restricted organizations (CVSS 8.1).

Move the add-on from Keycloak 24.0.4 to 26.6.4 via keycloakx chart 7.2.2, which enforces signature verification before rendering registration pages.

Crossing two major versions requires the accompanying configuration migration:

  • hostname v2 expects full URLs, and KC_HOSTNAME_ADMIN supersedes the removed KC_SPI_HOSTNAME_DEFAULT_ADMIN
  • the bootstrap admin credentials are read from KC_BOOTSTRAP_ADMIN_USERNAME/PASSWORD, leaving the existing secret name and keys untouched
  • proxy mode edge was removed, so X-Forwarded-* handling and plain internal HTTP are configured through the chart instead
  • clustering and HTTP client tuning previously passed via JAVA_OPTS_APPEND are now handled by the chart, with idle connection expiry set explicitly to keep identity provider callbacks stable

The chart is bumped to 3.0.0 because these values changes are breaking for anyone overriding extraEnv or proxy settings.

Keycloak versions prior to 26.5.3 decode organization invitation tokens without verifying their
cryptographic signature, letting an attacker tamper with the org_id and eml claims to self-register
into restricted organizations (CVSS 8.1).

Move the add-on from Keycloak 24.0.4 to 26.6.4 via keycloakx chart 7.2.2, which enforces signature
verification before rendering registration pages.

Crossing two major versions requires the accompanying configuration migration:
- hostname v2 expects full URLs, and KC_HOSTNAME_ADMIN supersedes the removed
  KC_SPI_HOSTNAME_DEFAULT_ADMIN
- the bootstrap admin credentials are read from KC_BOOTSTRAP_ADMIN_USERNAME/PASSWORD, leaving the
  existing secret name and keys untouched
- proxy mode edge was removed, so X-Forwarded-* handling and plain internal HTTP are configured
  through the chart instead
- clustering and HTTP client tuning previously passed via JAVA_OPTS_APPEND are now handled by the
  chart, with idle connection expiry set explicitly to keep identity provider callbacks stable

The chart is bumped to 3.0.0 because these values changes are breaking for anyone overriding
extraEnv or proxy settings.

Signed-off-by: Sergiy Kulanov <sergiy_kulanov@epam.com>
@SergK
SergK requested a review from a team as a code owner August 5, 2026 15:20
@epmd-edp

epmd-edp commented Aug 5, 2026

Copy link
Copy Markdown
Collaborator

Pipeline review-edp-cluster-add-ons-main-lkxrb ✅ Passed

Status Task Duration
github-set-pending-status 7s
fetch-repository 20s
init-values 5s
commit-validate 4s
github-report-pipeline-status 6s

@MykolaMarusenko
MykolaMarusenko merged commit acc2e19 into main Aug 5, 2026
4 checks passed
@MykolaMarusenko
MykolaMarusenko deleted the EPMDEDP-17198 branch August 5, 2026 15:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants