CVE-2026-9791
JSON

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 packageVersionsReported by
rhbk/keycloak-operator-bundleNot specified
Not affected: from 26.4.13-1 before *, from 26.6.3-3 before *
CVE List
rhbk/keycloak-rhel9Not specified
Not affected: from 26.4-19 before *, from 26.6-6 before *
CVE List
rhbk/keycloak-rhel9-operatorNot 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.7GitHub Advisory Database
org.keycloak:keycloak-services (Maven)from 26.5.0 before 26.6.3, up to 26.4.7GitHub Advisory Database
redhat build_of_keycloakNot specifiedNVD

All scores

redhat4.3medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
GitHub4.3medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N

Classification

CWE-863

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

https://access.redhat.com/errata/RHSA-2026:25097vendor-advisory, web
https://access.redhat.com/errata/RHSA-2026:25098vendor-advisory, web
https://access.redhat.com/errata/RHSA-2026:30049vendor-advisory, web
https://access.redhat.com/errata/RHSA-2026:30050vendor-advisory, web
https://access.redhat.com/security/cve/CVE-2026-9791mitigation, vdb-entry, vendor-advisory, web
https://bugzilla.redhat.com/show_bug.cgi?id=2482458issue-tracking, vendor-advisory, web
https://nvd.nist.gov/vuln/detail/CVE-2026-9791advisory
https://github.com/keycloak/keycloak/issues/49431web
https://github.com/keycloak/keycloak/pull/49541web
https://github.com/keycloak/keycloak/pull/49678web
https://github.com/keycloak/keycloak/pull/49680web
https://github.com/keycloak/keycloak/commit/0e706e7c83d1e971b48656ad9e674eec6adc225bweb

Sources

SourceRecordLicence
CVE ListCVE-2026-9791 changed 2026-06-26CVE Terms of Use
GitHub Advisory DatabaseGHSA-4q93-v92x-p89f changed 2026-07-01CC-BY-4.0
NVDCVE-2026-9791 changed 2026-10-26Public domain