CVE-2026-9791
Description
A flaw was found in Keycloak. An authenticated user with existing organization membership can exploit this flaw by accessing user-facing APIs, such as the account API or by requesting an OpenID Connect (OIDC) token with the 'organization' scope. This allows organization metadata to be disclosed in tokens, even after an administrator has explicitly disabled the Organizations feature, potentially leading to incorrect authorization decisions by resource servers.
How to fix
- org.keycloak:keycloak-server-spi-private26.6.3 or later
- org.keycloak:keycloak-services26.6.3 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| redhat build_of_keycloak | No range specified | — |
| org.keycloak:keycloak-server-spi-privateMaven | 26.5.0 ≤ v < 26.6.3, v ≤ 26.4.7 | 26.6.3 |
| org.keycloak:keycloak-servicesMaven | 26.5.0 ≤ v < 26.6.3, v ≤ 26.4.7 | 26.6.3 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.