Intel

AIKIDO-2026-990736

keycloak-services is vulnerable to Account Takeover

Account TakeoverCVE-2026-15571 Published 2 days ago

73

High Risk

This Affects:

JAVAkeycloak-services
1.0.1 - 26.7.1
Fixed in 26.7.2
Are you affected? Scan for Free

TL;DR

The legacy client-initiated account-linking endpoint at /realms/{realm}/broker/{provider}/link protects requests with a SHA-256 hash built from a nonce, the user session id, the client id, and the identity-provider alias. A malicious OIDC client that can observe or predict those inputs can forge a valid linking URL, and after tricking the victim into authenticating it links the victim's account to an attacker-controlled external identity. That yields full account takeover so the attacker can sign in as the victim. The fix disables the legacy endpoint by default and requires migrating to Application-Initiated Actions (idp_link).

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and clients use the legacy client-initiated account linking endpoint.

Background info

keycloak-services is vulnerable to Account Takeover in versions 1.0.1 - 26.7.1.

How to fix this

Upgrade the org.keycloak:keycloak-services library to the patch version.