Keycloak 26.8.2: what changed and who should upgrade
Keycloak 26.8.2 lists 33 security fixes and several breaking changes, including an Admin API audience check. What changed, who is affected and how to upgrade.
- Author
- The RealmDeploy team
- Published
Keycloak 26.8.2 came out on 5 November 2026. It is a patch release on the 26.8 line, but it is not a quiet one. Its release notes list 33 security fixes, five weaknesses, an upgrade to Quarkus 3.40.1.1 and a set of bug fixes. The upgrading guide lists more breaking changes than a patch release usually has, and one of them means this patch cannot be rolled out one node at a time.
This post sums up what changed, which CVEs it fixes, who should upgrade first and what to check before you do. The Keycloak team's own announcement is on keycloak.org.
What changed
Most of the release is security work. The fixes fall into a few groups:
- SAML. Several fixes for denial of service in SAML parsing and SOAP endpoints, a signature
bypass in the redirect binding, holder-of-key and
ProxyRestrictionhandling in the identity broker, and issuer checks in the SAML adapter. SAML 1.1 request parsing is now off by default. - Dynamic Client Registration and protocol mappers. Fixes for claim forgery through mappers, and a new rule that only realm administrators manage protocol mappers unless you allow specific mapper types.
- Account takeover paths. Fixes for an authentication race, stale notes in organization identity-first login, and auto-linking of identity provider accounts with unverified email.
- Admin API. Bearer tokens for the Admin REST API must now be issued for it, through a new
built-in
kc-admin-apiclient scope. - Token exchange and CIBA. Exchanged tokens can no longer outlive the subject token, and CIBA requests reject reserved claim names.
The non-security changes include a fix for theme resources that could answer 404 on a cold gzip cache, a fix for periodic user storage sync running at twice the configured period, and a fix for realm import when a users file is present.
CVEs fixed
These are the entries under "Security fixes" in the 26.8.2 release notes. Each link goes to the issue on GitHub. 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. Our security advisories page lists every advisory that has been published, with its severity.
| CVE | What the release notes say | Area |
|---|---|---|
| CVE-2026-92358 | Cross-browser fallback proof survives successful account linking and self-service unlink | organizations |
| CVE-2026-105305 | Device Authorization Grant bypasses per-client minimum.acr.value enforcement | authentication |
| CVE-2026-107623 | OIDC DCR read-modify-write silently disables offline token revocation on backchannel logout | oidc |
| CVE-2026-107889 | Stored XSS on the login page via kcSanitize bypass | authentication |
| CVE-2026-111497 | Out-of-bounds write in bundled Brotli decoder | dist/quarkus |
| CVE-2026-112201 | Login-failure upsert trusts MySQL/MariaDB affected-row count | Not given |
| CVE-2026-112208 | Account takeover via stale SSO_AUTH note in Organization identity-first login (reproduced on 26.8.1) | Not given |
| CVE-2026-110932 | Keycloak <= 26.8.0 : Unauthenticated persistent disk exhaustion (theme gzip cache) | Not given |
| CVE-2026-107123 | Unauthenticated DoS in Keycloak SAML endpoint | Not given |
| CVE-2026-107124 | Session takeover by victim logout with injected id_token_hint | Not given |
| CVE-2026-107602 | Unauthenticated CPU and worker-pool exhaustion (restart required) via SAML 1.1 KeyInfo parser loop on a legal ds:KeyName | Not given |
| CVE-2026-110931 | Unauthenticated single-request JVM termination (OutOfMemoryError) via SAML 1.1 AuthorityBinding parser loop, incomplete fix of CVE-2026-7307 | Not given |
| CVE-2026-97367 | DCR azp+sid claim substitution via User Property mappers allows Account REST victim session takeover | Not given |
| CVE-2026-97174 | CIBA sub parameter injection causes attacker authentication to issue victim tokens | Not given |
| CVE-2026-114232 | UMA user-managed permission resourceType field not validated — cross-owner resource access | Not given |
| CVE-2026-97847 | Client manager can replace a sessionless token principal and take over the realm | Not given |
| CVE-2026-96547 | DCR registration-time claim-path gap: attribute mappers forge realm_access.roles from user-editable fields | Not given |
| CVE-2026-96457 | Group-admin DENY bypass via top-level move (GroupsResource, CVE-2026-9099 regression) | Not given |
| CVE-2026-96460 | Token from token exchange can have unlimited expiration | Not given |
| CVE-2026-97848 | Protocol mapper with jsonType=JSON bypasses CVE-2026-16102 fix — duplicate resource_access claim in access token; forged resource_access in ID token, userinfo and introspection response | Not given |
| CVE-2026-109081 | Principal with only create-client can inject a role into the realm default-roles | Not given |
| CVE-2026-93998 | SAML adapter accepts assertions from the wrong configured issuer | Not given |
| CVE-2026-96453 | kcadm custom truststores trust arbitrary self-signed certificates | Not given |
| CVE-2026-92857 | Identity spoofing: a default-allowed DCR protocol mapper writes the reserved sub and aud claims | Not given |
| CVE-2026-103112 | Account Takeover via Authentication Race | Not given |
| CVE-2026-97175 | Unverified IdP email auto-linking enables account takeover | Not given |
| CVE-2026-96447 | Stateless token preferred_username fallback enables identity rebinding after client recreation | Not given |
| CVE-2026-82965 | SAML SOAP endpoint DoS via unbounded XML parsing on /realms/{realm}/protocol/saml/resolve | Not given |
| CVE-2026-96448 | FGAP v2 composite-blind role mapping lets manage-users assign a wrapper containing realm-admin | Not given |
| CVE-2026-92855 | Keycloak SAML Broker Accepts Holder-of-Key Assertions Without Proof of Key Possession | Not given |
| CVE-2026-92856 | Keycloak SAML Identity Broker Ignores ProxyRestriction, Allowing Forbidden Downstream Assertion Issuance | Not given |
| CVE-2026-19688 | Admin API missing audience check | Not given |
| CVE-2026-117691 | SAML redirect binding signature bypass via percent-encoded parameter name (%53AMLResponse) — broker login as any user | Not given |
The same release also lists five weaknesses that were not given CVE ids, among them hidden clients in realm session statistics under fine-grained admin permissions v2 and unsigned SAML back-channel logout.
Should you upgrade?
| Your situation | Affected? | What to do |
|---|---|---|
| You run 26.8.0 or 26.8.1 | Yes. Two entries name 26.8.0 or 26.8.1 directly, and the rest are fixed in 26.8.2 | Plan the upgrade to 26.8.2 now, and read the breaking changes below first |
| You use SAML, as identity broker or with the SAML adapter | Yes, many of the fixes are in SAML code | Upgrade, then check that your brokers send a bearer SubjectConfirmation and that adapter configs use the realm URL as IdP entity ID |
| You let clients register themselves (Dynamic Client Registration) | Yes | Upgrade, then add only the protocol mapper types you need, in both the realm setting and the registration policy |
| Your own clients or service accounts call the Admin REST API | The fix changes behavior for you | Assign the kc-admin-api client scope to those clients before or right after you upgrade, or their tokens get a 401 |
| You run a 26.7 or older line | These notes cover the 26.8 line | Plan the minor upgrade to 26.8 and go straight to 26.8.2 |
Upgrade notes and breaking changes
All of this comes from the 26.8.2 section of the upgrading guide. Read it in full before you upgrade. The changes most teams will notice:
- No rolling upgrade. The release adds a new client registration policy provider that older 26.8.x nodes do not know. The guide says a rolling upgrade is not supported for this change: shut the cluster down and start all nodes on 26.8.2 together, or use a recreate update.
- Admin REST API audience check. Tokens must carry the realm's Admin API URL as audience and
the
kc-admin-apiscope. The scope is created in every realm and given toadmin-cliandsecurity-admin-consoleon upgrade, so the console keeps working. Your own admin clients need it assigned. The guide also warns that during a rolling upgrade, tokens from old nodes would be rejected by new ones. - Protocol mappers need realm management rights. Creating, updating or deleting protocol mappers through the Admin REST API now needs permission to manage the realm, unless you list allowed mapper types in the realm setting "Allowed protocol mapper types for client administrators". That list is empty by default.
- Dynamic Client Registration. Allowed mappers are now the intersection of that realm setting and the registration policy, so by default new clients cannot carry protocol mappers. New policies also stop registration from changing default roles or enabling full scope.
- SAML broker. Assertions must carry a valid bearer subject confirmation, and assertions with a
ProxyRestrictioncondition are rejected unless you turn off the new "Reject proxy restriction" switch on that identity provider. - SAML adapter. The adapter now checks the issuer. Configs that use
entityID="idp"must be updated to the realm URL; re-download the adapter config from the admin console. - SAML SOAP size limit. SOAP binding requests are limited to 120000 bytes by default. The
option
spi-login-protocol--saml--max-soap-message-request-sizechanges it. - Token exchange. Access and ID tokens from standard token exchange now expire no later than the subject token.
- Auto-linking. Linking an identity provider account by email now needs a verified email or Trust Email on that provider.
- Organizations. Domain-based membership through a linked identity provider now needs a verified email, even with the realm's Verify email setting off. Make sure the realm's SMTP settings work before you upgrade.
- SAML back-channel logout by
SessionIndexnow needs "Client signature required" on the client.
The container image and Java4Shell
On 18 November 2026 the Keycloak team published
a post about CVE-2026-114938,
known as Java4Shell. It is a flaw in OpenJDK, not in Keycloak's code, and it can affect Keycloak on
x86-64 hosts whose CPU exposes AVX-512 VBMI. The post says the 26.8 container images were rebuilt
with a fixed OpenJDK, and that the updated tags include 26.8.2 and 26.8.2-3, while the x86-64
images tagged 26.8.2-1 and 26.8.2-2 bundle an affected build. If you pin images by tag or
digest, make sure you pick a rebuilt one, and follow the post's steps to check the runtime and
apply the JVM mitigation where needed.
How we roll it out on RealmDeploy
Tenants run 26.8.1 today, as our versions page says. 26.8.2 is the next patch release for them.
Normally we roll out a patch one Keycloak pod at a time on Premium and Enterprise, so sign-in keeps working. Starter runs one replica, so there a patch means a short restart. 26.8.2 is the exception: because the upgrading guide rules out a rolling upgrade for this release, every pod stops and the new version starts in their place. That is a short interruption on every plan, so we schedule it with you in writing, the same way we schedule minor and major upgrades. We take a fresh backup first, and we use a container image that bundles the fixed OpenJDK.
Before that window, check the changes that depend on your own realm settings: the kc-admin-api
scope for clients you use with the Admin REST API, mapper types for Dynamic Client Registration,
your SAML brokers and adapters, and your realm's SMTP settings if you use organizations with
domains. If you are not sure whether one applies to you, 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.