NetSight
medium4.3

CVE-2026-9791

Keycloak Vulnerable to Incorrect Authorization

Impact

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

EcosystemPackageAffectedFixed in
mavenorg.keycloak:keycloak-server-spi-private>= 26.5.0, < 26.6.326.6.3
mavenorg.keycloak:keycloak-services>= 26.5.0, < 26.6.326.6.3

Affected products

VendorProductAffected versions
RedhatBuild Of Keycloak
All versions

Weakness classification

References