Skip to content
OpenAdvisories

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 products

VendorProductAffectedFixed
Red Hat Red Hat build of Keycloak 26.4 — —
Red Hat Red Hat build of Keycloak 26.4.13 — —
Red Hat Red Hat build of Keycloak 26.6 — —
Red Hat Red Hat build of Keycloak 26.6.3 — —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling keycloak-26.5 +2 No fix yet —

Affected packages

EcosystemPackageAffectedFixedRecord
Maven org.keycloak:keycloak-server-spi-private >= 26.5.0, < 26.6.3 26.6.3 GHSA-4q93-v92x-p89f
Maven org.keycloak:keycloak-server-spi-private <= 26.4.7 — GHSA-4q93-v92x-p89f
Maven org.keycloak:keycloak-services >= 26.5.0, < 26.6.3 26.6.3 GHSA-4q93-v92x-p89f
Maven org.keycloak:keycloak-services <= 26.4.7 — GHSA-4q93-v92x-p89f

Advisories 1

References