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:v1and 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-nameand--cache-embedded-node-namereplace 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.
| CVE | What the release notes say | Area |
|---|---|---|
| CVE-2026-12388 | IdP mapper admin role escalation | identity-brokering |
| CVE-2026-14781 | OIDC broker applies id_token email_verified to userinfo email, marking unverified addresses as verified | oidc |
| CVE-2026-19608 | Name-only group claims let same-name groups satisfy path-specific group policies | authorization-services |
| CVE-2026-54515, CVE-2026-59889 | com.fasterxml.jackson.core:jackson-databind 2.22.0 | dist/quarkus |
| CVE-2026-59903 | io.netty:netty-codec-http:4.1.136.Final | dist/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 situation | What changes for you | What to do |
|---|---|---|
Delegated admins or automation read client secrets with view-clients only | They now see a masked value | Grant manage-clients where a secret must be read |
| Identity provider mappers grant admin roles, or add users to groups that carry them | Blocked 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 logout | The parameter is ignored by default | Use OpenID Connect back-channel or front-channel logout instead |
| You use X.509 user sign-in | The CA subject DN option is now required in the console | Set the trusted CA subject DN on the authenticator |
| Authorization Services resources differ only by trailing slash, dot segments or query string | URIs are normalized before matching | Review resources and policies |
| You use the group membership mapper without full path, with group policies on nested groups | Bare group names now match top-level groups only (CVE-2026-19608) | Turn on Full group path in the mapper |
| You run a custom login theme | Identity provider buttons are redesigned | Test the login page before you upgrade |
You enabled stateless with --features=preview | Preview no longer turns on supported features | Enable it with --features=stateless and set --cache-embedded-cluster-name |
Your OFFLINE_USER_SESSION table is large | New indexes are rebuilt | See 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_idpon RP-initiated logout is ignored by default. Theallow-initiating-idp-logout-paramoption 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
allowAdminRoleMappingis 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 shorterrefresh_expires_inthan before. - Large tables. If
OFFLINE_USER_SESSIONhas 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-nameother thanISPN, or Keycloak refuses to start. - Token exchange delegation now needs fine-grained admin permissions v2, and its scope is
renamed from
delegationtodelegation: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
KeycloakOIDCClientresources need the labeloperator.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.
Keep reading
Keycloak 26.7.3: what changed and who should upgrade
Keycloak 26.7.3 lists 20 security fixes and rejects redirect URIs that carry OIDC response parameters by default. What changed, who is affected and how to upgrade.
Keycloak 26.7.4: what changed and who should upgrade
Keycloak 26.7.4 fixes six CVEs, among them a high-severity replay bypass on MySQL and MariaDB in stateless mode. Who is affected and what to do before upgrading.
Keycloak 26.7.5: what changed and who should upgrade
Keycloak 26.7.5 lists 14 security fixes, a client policy change for source groups and a fix for rolling restarts. What changed, who is affected, how to upgrade.