VDB
Sign up
MEDIUM4.3

GHSA-4q93-v92x-p89f

Keycloak Vulnerable to Incorrect Authorization

Quick fix

GHSA-4q93-v92x-p89f — org.keycloak:keycloak-server-spi-private: upgrade to the fixed version with the command below.

# pom.xml: bump <version>26.6.3</version> for org.keycloak:keycloak-server-spi-private

Details

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

Maven/org.keycloak:keycloak-server-spi-private
Introduced in: 26.5.0Fixed in: 26.6.3
Fix# pom.xml: bump <version>26.6.3</version> for org.keycloak:keycloak-server-spi-private
Maven/org.keycloak:keycloak-services
Introduced in: 26.5.0Fixed in: 26.6.3
Fix# pom.xml: bump <version>26.6.3</version> for org.keycloak:keycloak-services
Maven/org.keycloak:keycloak-server-spi-private
Introduced in: 0

No fixed version published yet for org.keycloak:keycloak-server-spi-private (maven). Pin to a known-safe version or switch to an alternative.

Maven/org.keycloak:keycloak-services
Introduced in: 0

No fixed version published yet for org.keycloak:keycloak-services (maven). Pin to a known-safe version or switch to an alternative.

References