VDB
Sign up
HIGH7.4

GHSA-hj93-h7pg-fh6v

Keycloak: Privilege escalation via forged authorization codes due to SingleUseObjectProvider isolation flaw

Quick fix

GHSA-hj93-h7pg-fh6v — org.keycloak:keycloak-services: upgrade to the fixed version with the command below.

# pom.xml: bump <version>26.5.7</version> for org.keycloak:keycloak-services

Details

A flaw was found in Keycloak. The SingleUseObjectProvider, a global key-value store, lacks proper type and namespace isolation. This vulnerability allows an unauthenticated attacker to forge authorization codes. Successful exploitation can lead to the creation of admin-capable access tokens, resulting in privilege escalation.

Are you affected?

Enter the version of the package you're using.

Affected packages

Maven/org.keycloak:keycloak-services
Introduced in: 0Fixed in: 26.5.7
Fix# pom.xml: bump <version>26.5.7</version> for org.keycloak:keycloak-services

References