Keycloak-rhel9: organization data leak after feature disabled in keycloak

Summary

CVECVE-2026-9791
StatePUBLISHED
Assignerredhat
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-05-28 05:16:39 UTC
Updated2026-06-26 08:16:26 UTC
DescriptionA 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.

Risk And Classification

Primary CVSS: v3.1 4.3 MEDIUM from [email protected]

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N

EPSS: 0.002140000 probability, percentile 0.117580000 (date 2026-06-29)

Problem Types: CWE-863 | CWE-863 Incorrect Authorization


VersionSourceTypeScoreSeverityVector
3.1[email protected]Secondary4.3MEDIUMCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
3.1CNACVSS4.3MEDIUMCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N

CVSS v3.1 Breakdown

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
None
Availability
None

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Redhat Build Of Keycloak - All All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Red Hat Red Hat Build Of Keycloak 26.4 unaffected 26.4.13-1 * rpm Not specified
CNA Red Hat Red Hat Build Of Keycloak 26.4 unaffected 26.4-19 * rpm Not specified
CNA Red Hat Red Hat Build Of Keycloak 26.4 unaffected 26.4-19 * rpm Not specified
CNA Red Hat Red Hat Build Of Keycloak 26.4.13 Not specified Not specified
CNA Red Hat Red Hat Build Of Keycloak 26.6 unaffected 26.6.3-3 * rpm Not specified
CNA Red Hat Red Hat Build Of Keycloak 26.6 unaffected 26.6-6 * rpm Not specified
CNA Red Hat Red Hat Build Of Keycloak 26.6 unaffected 26.6-6 * rpm Not specified
CNA Red Hat Red Hat Build Of Keycloak 26.6.3 Not specified Not specified

References

ReferenceSourceLinkTags
access.redhat.com/errata/RHSA-2026:25098 [email protected] access.redhat.com
access.redhat.com/errata/RHSA-2026:25097 [email protected] access.redhat.com
bugzilla.redhat.com/show_bug.cgi [email protected] bugzilla.redhat.com Issue Tracking, Vendor Advisory
access.redhat.com/security/cve/CVE-2026-9791 [email protected] access.redhat.com Mitigation, Vendor Advisory
access.redhat.com/errata/RHSA-2026:30049 [email protected] access.redhat.com
access.redhat.com/errata/RHSA-2026:30050 [email protected] access.redhat.com
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Vendor Comments And Credit

Discovery Credit

CNA: Red Hat would like to thank Evan Hendra (Independent Security Researcher) for reporting this issue. (en)

Additional Advisory Data

SourceTimeEvent
CNA2026-05-28T03:06:33.000ZReported to Red Hat.
CNA2026-05-28T03:08:53.319ZMade public.

Workarounds

CNA: Administrators should verify that disabling the Organizations feature properly blocks all organization-related functionality. Consider implementing additional access controls or removing organization memberships before disabling the feature.

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report