4.3medium
Keycloak-rhel9: organization data leak after feature disabled in keycloak
- Severity
- 4.3medium CVSS:3.1 by redhat
- Exploit likelihood
- 0.21% (higher than 12% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- redhat
- Also known as
- GHSA-4q93-v92x-p89f
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| rhbk/keycloak-operator-bundle | Not specified Not affected: from 26.4.13-1 before *, from 26.6.3-3 before * | CVE List |
| rhbk/keycloak-rhel9 | Not specified Not affected: from 26.4-19 before *, from 26.6-6 before * | CVE List |
| rhbk/keycloak-rhel9-operator | Not specified Not affected: from 26.4-19 before *, from 26.6-6 before * | CVE List |
| org.keycloak:keycloak-server-spi-private (Maven) | from 26.5.0 before 26.6.3, up to 26.4.7 | GitHub Advisory Database |
| org.keycloak:keycloak-services (Maven) | from 26.5.0 before 26.6.3, up to 26.4.7 | GitHub Advisory Database |
| redhat build_of_keycloak | Not specified | NVD |
All scores
| redhat | 4.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N |
| GitHub | 4.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
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.
NVD (es)
Se encontró una vulnerabilidad en Keycloak. Un usuario autenticado con una membresía de organización existente puede explotar esta vulnerabilidad al acceder a las API orientadas al usuario, como la API de cuenta, o al solicitar un token de OpenID Connect (OIDC) con el ámbito ’organization’. Esto permite que los metadatos de la organización se divulguen en los tokens, incluso después de que un administrador haya deshabilitado explícitamente la función de Organizaciones, lo que podría llevar a decisiones de autorización incorrectas por parte de los servidores de recursos.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-9791 changed 2026-06-26 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-4q93-v92x-p89f changed 2026-07-01 | CC-BY-4.0 |
| NVD | CVE-2026-9791 changed 2026-10-26 | Public domain |