ADVISORIES

GitHub Advisory Database

GHSA-4gv3-mc9p-5wqc

Keycloak: Unauthenticated account takeover via reset-credentials flow bypass

Details

A flaw was found in the reset-credentials flow of the keycloak-services component, which is the core engine for identity and access management in Red Hat Build of Keycloak. The issue allows an unauthenticated attacker to force the password reset process for any user without needing to click the required email verification link. This can result in the attacker gaining full control over target user accounts by directly setting new credentials.

Affected packages

EcosystemPackageAffected versions
Mavenorg.keycloak:keycloak-services
From 26.0.0 before 26.4.15 (fixed in 26.4.15)
Mavenorg.keycloak:keycloak-services
From 26.5.0 before 26.6.6 (fixed in 26.6.6)
Mavenorg.keycloak:keycloak-services
From 26.7.0 before 26.7.2 (fixed in 26.7.2)

References