CVE-2026-9087: Authorization Bypass Through User-Controlled Key in Red Hat Red Hat build of Keycloak 26.4
A flaw was found in Keycloak. The cross-session verification proof is keyed only by (local userId, idpAlias) and is not bound to the upstream identity that was actually verified, so a second upstream account on the same IdP can consume it and get linked to the victim's local account.
AI Analysis
Technical Summary
The vulnerability in Red Hat build of Keycloak 26.4 involves an authorization bypass due to the cross-session verification proof being keyed only by local userId and idpAlias, without binding to the upstream identity that was verified. This flaw allows a second upstream account on the same IdP to consume the verification proof and link to the victim's local account, potentially enabling unauthorized account access. The CVSS 3.1 base score is 6.4 (medium severity) with network attack vector, high complexity, low privileges required, user interaction needed, unchanged scope, and high confidentiality and integrity impacts. Red Hat has published advisories (RHSA-2026:25097 and RHSA-2026:25098) releasing new Keycloak 26.6.3 images that include fixes for this and other vulnerabilities. The advisories recommend updating to these new images to remediate the issue. No explicit patch or fix is listed solely for CVE-2026-9087, but the updated images address it. The vulnerability affects all versions of Red Hat build of Keycloak prior to 26.6.3. No known exploits have been reported in the wild.
Potential Impact
Successful exploitation of this vulnerability allows an attacker controlling a second upstream account on the same identity provider to bypass authorization controls and link to a victim's local account in Keycloak. This can lead to unauthorized access to the victim's account and compromise confidentiality and integrity of user data. The vulnerability does not impact availability. The CVSS score of 6.4 reflects a moderate risk with significant confidentiality and integrity impact but requires user interaction and has high attack complexity.
Mitigation Recommendations
Red Hat has released updated Keycloak 26.6.3 images that address CVE-2026-9087 along with other security issues. Users of Red Hat build of Keycloak should update to version 26.6.3 or later as provided in the Red Hat advisories RHSA-2026:25097 and RHSA-2026:25098. Before updating, back up existing installations including applications, configuration files, and databases. No alternative workarounds or mitigations are specified. Patch status is confirmed by the vendor advisories. There are no known exploits in the wild at this time.
CVE-2026-9087: Authorization Bypass Through User-Controlled Key in Red Hat Red Hat build of Keycloak 26.4
Description
A flaw was found in Keycloak. The cross-session verification proof is keyed only by (local userId, idpAlias) and is not bound to the upstream identity that was actually verified, so a second upstream account on the same IdP can consume it and get linked to the victim's local account.
CVSS v3.1
Score 6.4medium
Affected software
Red Hat
Red Hat build of Keycloak 26.4
Red Hat
Red Hat build of Keycloak 26.4
Red Hat
Red Hat build of Keycloak 26.4.13
Red Hat
Red Hat build of Keycloak 26.6
Red Hat
Red Hat build of Keycloak 26.6
Red Hat
Red Hat build of Keycloak 26.6.3
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 vulnerability in Red Hat build of Keycloak 26.4 involves an authorization bypass due to the cross-session verification proof being keyed only by local userId and idpAlias, without binding to the upstream identity that was verified. This flaw allows a second upstream account on the same IdP to consume the verification proof and link to the victim's local account, potentially enabling unauthorized account access. The CVSS 3.1 base score is 6.4 (medium severity) with network attack vector, high complexity, low privileges required, user interaction needed, unchanged scope, and high confidentiality and integrity impacts. Red Hat has published advisories (RHSA-2026:25097 and RHSA-2026:25098) releasing new Keycloak 26.6.3 images that include fixes for this and other vulnerabilities. The advisories recommend updating to these new images to remediate the issue. No explicit patch or fix is listed solely for CVE-2026-9087, but the updated images address it. The vulnerability affects all versions of Red Hat build of Keycloak prior to 26.6.3. No known exploits have been reported in the wild.
Potential Impact
Successful exploitation of this vulnerability allows an attacker controlling a second upstream account on the same identity provider to bypass authorization controls and link to a victim's local account in Keycloak. This can lead to unauthorized access to the victim's account and compromise confidentiality and integrity of user data. The vulnerability does not impact availability. The CVSS score of 6.4 reflects a moderate risk with significant confidentiality and integrity impact but requires user interaction and has high attack complexity.
Mitigation Recommendations
Red Hat has released updated Keycloak 26.6.3 images that address CVE-2026-9087 along with other security issues. Users of Red Hat build of Keycloak should update to version 26.6.3 or later as provided in the Red Hat advisories RHSA-2026:25097 and RHSA-2026:25098. Before updating, back up existing installations including applications, configuration files, and databases. No alternative workarounds or mitigations are specified. Patch status is confirmed by the vendor advisories. There are no known exploits in the wild at this time.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- redhat
- Date Reserved
- 2026-05-20T14:53:18.352Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Vendor Advisory Urls
- [{"url":"https://access.redhat.com/security/cve/CVE-2026-9087","vendor":"Red Hat"}]
Threat ID: 6a0de26eba1db473628f2ece
Added to database: 05/20/2026, 16:33:50 UTC
Last enriched: 08/03/2026, 19:46:16 UTC
Last updated: 09/11/2026, 19:31:58 UTC
Views: 232
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.