Vulnerability · Published May 28, 2026 · Assigned by redhat

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

Medium 4.3

In plain English

A medium-severity incorrect authorization in Red Hat build of Keycloak 26.4 from Red Hat. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 12% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)4.3Medium
Exploit odds (30 days)0.2%top 88.1% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
Mavenorg.keycloak:keycloak-server-spi-private26.6.3GHSA-4q93-v92x-p89f
Mavenorg.keycloak:keycloak-server-spi-privateno fix listedGHSA-4q93-v92x-p89f
Mavenorg.keycloak:keycloak-services26.6.3GHSA-4q93-v92x-p89f
Mavenorg.keycloak:keycloak-servicesno fix listedGHSA-4q93-v92x-p89f

Affected products (as reported)

Weakness: CWE-863 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N

References