CVE-2026-9791
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.
- CVSS 3.1
- 4.3
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N - EPSS
- 0.2% chance of exploitation in the next 30 days; higher than 11% of CVEs (scores of 2026-10-25)
- CWE
- CWE-863
- Published
- Modified
- Record from
- the NVD, synced
Affected
- redhat:build_of_keycloak
Packages (OSV)
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-4q93-v92x-p89f | Maven | org.keycloak:keycloak-server-spi-private | >=26.5.0 <26.6.3 | 26.6.3 |
| GHSA-4q93-v92x-p89f | Maven | org.keycloak:keycloak-services | >=26.5.0 <26.6.3 | 26.6.3 |
| GHSA-4q93-v92x-p89f | Maven | org.keycloak:keycloak-server-spi-private | <=26.4.7 | no fix published |
| GHSA-4q93-v92x-p89f | Maven | org.keycloak:keycloak-services | <=26.4.7 | no fix published |