Flaw in the legacy client-initiated account-linking endpoint of Keycloak (CVE-2026-15571)
Description
A vulnerability in the legacy client-initiated account-linking endpoint of Keycloak allows a malicious OpenID Connect (OIDC) client to predict the hash protecting the account-linking process. This flaw enables an attacker to forge a valid linking URL after tricking a user into authenticating, resulting in full account takeover by linking the victim's account to the attacker's external identity. The issue affects Keycloak versions prior to 26.7.2. Official patches are available from Red Hat for the affected versions.
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The legacy client-initiated account-linking endpoint in Keycloak relies on a hash to protect against unauthorized linking requests. This hash is predictable by a malicious OIDC client, which can exploit this by tricking a user into authenticating and then forging a valid linking URL. This allows the attacker to link the victim's account to an external identity controlled by the attacker, leading to full account takeover. The vulnerability is tracked as CVE-2026-15571 and affects Keycloak versions before 26.7.2. Red Hat has released security updates including Keycloak 26.6.6 to address this and other vulnerabilities.
Potential Impact
Successful exploitation allows an attacker-controlled OIDC client to perform a full account takeover by linking the victim's account to an attacker-controlled external identity. This enables the attacker to log in as the victim, compromising account confidentiality and integrity.
Mitigation Recommendations
A patch is available and should be applied. Red Hat has released updated packages for Keycloak 26.6.6 and corresponding container images that fix this vulnerability. Users should upgrade to Keycloak version 26.7.2 or later or apply the Red Hat security updates RHSA-2026:56523 and RHSA-2026:56524. Before updating, back up all relevant data and configurations. No additional mitigation steps are indicated by the vendor advisory.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- BIT-keycloak-2026-15571
- Osv Schema Version
- 1.6.2
- Aliases
- ["CVE-2026-15571"]
- Ecosystems
- ["Bitnami"]
- Database Specific Severity
- High
- State
- PUBLISHED
Patch Information
Threat ID: 6a8d9ad7acd9273b493e1476
Added to database: 08/25/2026, 13:38:31 UTC
Last enriched: 09/10/2026, 05:22:47 UTC
Last updated: 10/10/2026, 18:48:17 UTC
Views: 52
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.