Skip to content

Blog

Keycloak 26.8.0: what changed and how to plan the upgrade

Keycloak 26.8.0 brings supported multi-cluster v2, SCIM and client secret rotation, login failures in the database, and many breaking changes. What to check first.

Author
The RealmDeploy team
Published

Keycloak 26.8.0 came out on 1 October 2026. It is a minor release, so unlike a patch it changes the database schema, and old and new versions cannot serve the same database at once. The release notes open with these highlights:

  • Issue and verify digital wallet credentials with OID4VCI and OID4VP
  • Automate user provisioning across identity systems with the SCIM API
  • Run multi-cluster deployments without an external cache using stateless mode, now supported
  • Simpler administration with automatic index creation, reduced memory usage and better HTTP performance
  • Token exchange delegation for AI agents and automation, with consent and fine-grained admin permissions

The Keycloak team's announcement is on keycloak.org. Below is what changed, the CVEs the release fixes, who should move first, and what the upgrading guide asks you to check.

What changed

Promoted to supported. Client secret rotation and the SCIM API are now supported and enabled by default. Multi-cluster v2 and the stateless feature are supported too, but stay off by default and are enabled with --features=stateless.

Promoted to preview. OpenID for Verifiable Credential Issuance (OID4VCI), parameterized scopes (formerly dynamic scopes), token exchange delegation, and the Client Admin API v2 with the operator's KeycloakOIDCClient and KeycloakSAMLClient resources.

New and experimental. An OID4VP verifier, more Shared Signals Framework events, a Vert.x-based outbound HTTP client (--features=http-client:v2) and a Helm chart to install the operator.

Running Keycloak.

  • Login failures for brute force detection are now stored in the database by default, so a locked user stays locked across restarts. The old in-memory mode is login-failures:v1 and is deprecated.
  • Indexes skipped during a schema migration on large tables are now created in the background after startup, on databases that support non-blocking index creation, PostgreSQL among them.
  • New options --cache-embedded-cluster-name and --cache-embedded-node-name replace the low-level SPI options. The operator sets the node name to the pod name.
  • Encrypted PEM private keys work for HTTPS, with --https-certificate-key-file-password.

Organizations. One identity provider can now be linked to several organizations, and domain routing moved from the identity provider to the domain.

Themes. The identity provider buttons on the login page are redesigned. Custom login themes that override social-providers.ftl or style those icons may need work.

Impersonation. Tokens issued while an administrator impersonates a user now carry the act claim, and token events name the impersonator.

CVEs fixed

These are the entries under "Security fixes" in the 26.8.0 release notes, each linked to its issue. On 25 November 2026 none of these CVEs had a GitHub security advisory for keycloak/keycloak, so no severity is published there, and we do not guess one. The same release also lists more than eighty weaknesses without CVE ids, many of them in the new SCIM and OID4VCI code. See our security advisories page for every advisory with a published severity.

CVEWhat the release notes sayArea
CVE-2026-12388IdP mapper admin role escalationidentity-brokering
CVE-2026-14781OIDC broker applies id_token email_verified to userinfo email, marking unverified addresses as verifiedoidc
CVE-2026-19608Name-only group claims let same-name groups satisfy path-specific group policiesauthorization-services
CVE-2026-54515, CVE-2026-59889com.fasterxml.jackson.core:jackson-databind 2.22.0dist/quarkus
CVE-2026-59903io.netty:netty-codec-http:4.1.136.Finaldist/quarkus

Should you upgrade?

26.8.0 itself was followed within two weeks by 26.8.1 and then by 26.8.2, both with many security fixes. If you move to 26.8, go to the newest 26.8 patch, not to 26.8.0.

Your situationWhat changes for youWhat to do
Delegated admins or automation read client secrets with view-clients onlyThey now see a masked valueGrant manage-clients where a secret must be read
Identity provider mappers grant admin roles, or add users to groups that carry themBlocked by default (CVE-2026-12388)An admin with manage-realm turns on "Allow granting admin roles via mappers" on each such provider
Apps send initiating_idp on logoutThe parameter is ignored by defaultUse OpenID Connect back-channel or front-channel logout instead
You use X.509 user sign-inThe CA subject DN option is now required in the consoleSet the trusted CA subject DN on the authenticator
Authorization Services resources differ only by trailing slash, dot segments or query stringURIs are normalized before matchingReview resources and policies
You use the group membership mapper without full path, with group policies on nested groupsBare group names now match top-level groups only (CVE-2026-19608)Turn on Full group path in the mapper
You run a custom login themeIdentity provider buttons are redesignedTest the login page before you upgrade
You enabled stateless with --features=previewPreview no longer turns on supported featuresEnable it with --features=stateless and set --cache-embedded-cluster-name
Your OFFLINE_USER_SESSION table is largeNew indexes are rebuiltSee below on large tables

Upgrade notes and breaking changes

All from the 26.8.0 section of the upgrading guide. The list is long, so read the guide itself. The breaking changes:

  • Client secrets are no longer returned to callers with only view-clients.
  • initiating_idp on RP-initiated logout is ignored by default. The allow-initiating-idp-logout-param option restores it for now and is deprecated.
  • X.509 user authentication needs the CA subject DN option.
  • Disabled clients are no longer added to a token's audience (CVE-2026-93999). Tokens are still issued, without that client.
  • Resource URI matching in Authorization Services normalizes matrix parameters, dot segments, percent-encoding and query or fragment parts.
  • Identity provider mappers may not grant admin roles unless allowAdminRoleMapping is turned on for that provider.

Notable changes that can surprise you:

  • Refresh token expiry now reflects the user session idle timeout, and offline refresh tokens always carry exp. Clients may see a shorter refresh_expires_in than before.
  • Large tables. If OFFLINE_USER_SESSION has more than 300000 rows, Keycloak skips its new indexes during the migration, logs the SQL, and on PostgreSQL creates them in the background after startup.
  • Stateless needs an explicit --cache-embedded-cluster-name other than ISPN, or Keycloak refuses to start.
  • Token exchange delegation now needs fine-grained admin permissions v2, and its scope is renamed from delegation to delegation:user.
  • Email verification. An email is marked verified only when the user completes email verification, which changes account linking by email and some admin action emails.
  • Secrets for KeycloakOIDCClient resources need the label operator.keycloak.org/kind: KeycloakOIDCClient.
  • Quarkus 3.40. Extensions that use Quarkus internals should be retested.

Deprecated in 26.8.0: multi-cluster v1 (multi-site), the default, install and saml2-entity-descriptor client registration providers, the "Full scope allowed" switch, several "OpenID Connect Compatibility Modes" switches, volatile sessions, login-failures:v1, the route in the AUTH_SESSION_ID cookie, refresh tokens for the client credentials grant, and Kerberos credential delegation. The Keycloak Realm Operator has reached end of life.

How we roll it out on RealmDeploy

A minor release migrates the database schema when the new version first starts, so it cannot be rolled out one pod at a time. We schedule a minor upgrade with you, in writing, before we do it. In the window every Keycloak pod stops, the first new one migrates the schema, then the rest start, so sign-in is unavailable for a few minutes on every plan. We take a backup just before and note its time, because rolling back a minor upgrade means restoring that backup. Our upgrades page has the details.

Tenants run 26.8.1, as our versions page says. Some of the changes above are in settings that are yours: identity provider mappers, logout parameters in your apps, custom login themes and X.509 authenticators. SCIM is not part of what we offer on RealmDeploy today. If you want to check a change against your realms, write to us through the dashboard or the contact form.