Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate as member of multiple orgs
-
DeliveryStart identity-first Organization login
-
ExploitSwitch to registration or password-reset path
-
ExecutionLeave stale success flag in session
-
PersistSubmit victim's username
-
ImpactTake over victim account and connected apps
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V6 - Authentication Primary weakness mitigation
|
| Exploitation Conditions | Exploitation requires the Organization identity-first login flow to be in use and the attacker to be an authenticated, legitimate member of multiple Organizations in the realm (PR:L). The concrete trigger is initiating an identity-first login and then switching to the registration or password-reset path, which leaves a 'successful login' flag uncleared when the user is removed from the session; the attacker then enters the victim's username to have the stale flag accepted as identity proof. Limiting factors: this is confined to deployments that have enabled and configured the Organizations feature with identity-first login, and the attacker needs valid multi-organization membership rather than being a fully unauthenticated outsider - no user interaction from the victim is required (UI:N). |
| Impact | This is a genuine authentication-bypass vulnerability (CWE-305) that leads to full account takeover, and the CVSS 3.1 vector (AV:N/AC:L/PR:L/UI:N, C:H/I:H, A:N, base 8.1 High) is internally consistent with the described mechanism: a stale 'successful login' flag that is not cleared when a user is removed from the session during an identity-first Organization login flow. The vendor priority Decision label is 'this_week' rather than act_now/emergency, which aligns with the absence of KEV listing and the lack of any supplied EPSS score or PoC reference. Signals are coherent rather than conflicting: no sign of active exploitation and no public exploit, but a high-impact logic flaw reported directly by Red Hat. The one nuance to flag is that PR:L understates a real precondition - the attacker must already be a legitimate member of multiple Organizations - so real-world risk is concentrated in multi-tenant Keycloak/RHBK/RH-SSO deployments that have enabled the Organizations feature, not every Keycloak install. No EPSS value, no KEV entry, and no PoC were provided, so exploitation likelihood cannot be quantified from the input; treat this as a prioritize-for-patching logic flaw rather than an in-the-wild emergency. |
| Exploit ScenarioDerived | An attacker who is a legitimate member of multiple Organizations in a Keycloak realm begins an identity-first login, then pivots to the registration or password-reset path, leaving a stale 'login succeeded' flag in the session. The attacker then supplies a victim's username, and Keycloak treats the uncleared flag as proof of identity, granting full access to the victim's account and connected applications. No public exploit was identified at time of analysis, and exploitation requires the attacker to already hold a valid multi-organization account (PR:L). |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 05, 2026
Authentication bypass in Keycloak's Organization identity-first login flow allows an authenticated attacker who belongs to multiple organizations to take over arbitrary accounts, including connected applications, by abandoning an identity-first login for the registration or password-reset path and then entering the victim's username; the server accepts a stale 'successful login' flag as proof of identity. The flaw (CWE-305) affects Red Hat Build of Keycloak and Red Hat Single Sign-On 7 deployments that have enabled the Organizations feature with identity-first login, and carries a CVSS 3.1 base score of 8.1 (AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N). No public exploit code or active exploitation has been identified at time of analysis.
RemediationAI
No vendor-released patch was identified in the available data at time of analysis; track the Red Hat advisory (https://access.redhat.com/security/cve/CVE-2026-112208) and Bugzilla 2555473 for the fixed Red Hat Build of Keycloak and Red Hat Single Sign-On 7 releases and apply them as soon as they are published. Because the exploitation prerequisites require the Organizations identity-first login flow to be enabled, deployments that do not use that flow are not exposed; where it is not required, disabling the identity-first login flow (or the Organizations feature) removes the attack path, with the trade-off that organizations-based identity-first login becomes unavailable. No other workaround is specified in the available sources.
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Keycloak is an open-source identity and access management server; the Organizations feature groups users into tenants and supports an 'identity-first' login flow in which the user identifies the organization before authenticating. CWE-305 (Authentication Bypass by Primary Weakness) describes the root cause here: a session flag recording a successful login is set during the identity-first flow but is not cleared when the user is removed from the session as the flow transitions to registration or password reset. The stale flag then satisfies the authentication check for whatever username is subsequently supplied. The CVSS vector confirms network reachability, low privileges (PR:L - the attacker must already be a legitimate member of multiple organizations in the realm), no user interaction, and high confidentiality and integrity impact with no availability impact. CPE data maps the issue to Red Hat Build of Keycloak and Red Hat Single Sign-On 7; the Organizations identity-first flow must be enabled for exposure, which limits the affected population.
Know when Red Hat Build Of Keycloak gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
Network-reachable login flow (AV:N), reliable logic flaw (AC:L), requires an authenticated multi-org account (PR:L), no victim interaction (UI:N), full account takeover gives C:H/I:H with no availability impact.
Primary rating from Vendor (redhat).
CVSS VectorVendor: redhat
DescriptionCVE.org
A flaw was found in the Organization identity-first login flow of the Keycloak authentication server. Keycloak is an open-source identity and access management solution used to secure modern applications and services. The issue occurs when an attacker who belongs to multiple organizations initiates a login and then switches to a registration or password reset path. During this process, a flag indicating a successful login is not properly cleared when the user is removed from the session. An attacker can then provide a victim's username, and the system incorrectly treats the stale flag as proof of the victim's identity. This allows the attacker to bypass authentication and gain full access to the victim's account and connected applications.
Executive ViewAI
A high-severity authentication bypass in Keycloak's Organizations identity-first login flow enables authenticated attackers to take over arbitrary accounts, including connected applications, potentially compromising critical business systems. This flaw affects organizations using Red Hat Build of Keycloak or Red Hat Single Sign-On 7 with the Organizations feature enabled, putting sensitive data and access at risk.
No vendor-released patch identified at time of analysis. Interim mitigations include disabling the Organizations feature or identity-first login if possible, restricting network access to Keycloak instances, and monitoring authentication logs for suspicious activity.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
Affected Products (CPE)CVE.org
More in Red Hat Build Of Keycloak
View allAccount takeover in Red Hat Build of Keycloak allows an unauthenticated attacker to abuse the reset-credentials flow in
Account takeover in Keycloak (Red Hat build of Keycloak, Red Hat Single Sign-On 7) arises because the IdP-initiated SAML
Remote code execution in Keycloak is possible when an authenticated user with client-management permissions creates or i
Keycloak's SAML HTTP-Redirect binding can be tricked into accepting an unsigned, attacker-supplied SAML message: paramet
Authentication bypass in Red Hat Build of Keycloak (and Red Hat Single Sign-On 7) lets an unauthenticated attacker forge
Privilege escalation in Red Hat Build of Keycloak's Dynamic Client Registration (DCR) grants an attacker with low-privil
Account takeover in Keycloak's idp-auto-link authenticator lets an attacker who holds an account at a brokered identity
Mismatched handling of the HTTP/1 absolute-form request authority in Red Hat build of Quarkus and other affected Red Hat
Keycloak's UMA Protection API lets an authenticated realm user create a policy whose resourceType is not validated, so t
Authorization bypass in the Keycloak Policy Enforcer allows any authenticated user to circumvent all enforced access con
Keycloak's Dynamic Client Registration feature accepts registration requests in which an authorized registrant can map t
URI normalization bypass in Keycloak's Authorization Services PathMatcher allows authenticated low-privilege users to re
EUVD-2026-117568
GHSA-r493-gfv4-ggf5
NVD
CVE.org
EPSS
Exploit-DB