Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessControl a linked upstream SAML identity
-
DeliveryInvoke IdP-initiated SSO endpoint
-
ExploitEndpoint skips linking-only check
-
ExecutionFull session issued as victim
-
ImpactTake over local account
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V6 - Authentication Origin validation
|
| Exploitation Conditions | Exploitation requires that the Keycloak deployment uses SAML identity brokering with at least one upstream provider configured as 'account linking only', and that the attacker controls an upstream identity already linked to a target local account; the attack is then delivered through the IdP-initiated SAML SSO endpoint. Although the CVSS vector is PR:N/UI:N (no privileges on Keycloak and no victim interaction), realistic exploitation is limited by these deployment prerequisites: environments without SAML brokering, or without account-linking-only providers, are not exposed, and the attacker must first obtain control of a linked upstream identity rather than acting from a bare unauthenticated position. |
| Impact | Signals here are mixed and warrant careful interpretation rather than reflexive escalation. The vendor CVSS of 9.8 (AV:N/AC:L/PR:N/UI:N, C:H/I:H/A:H) marks this as network-reachable, low-complexity, and unauthenticated against the Keycloak system, and the impact - full local account takeover - is genuinely severe for an IAM control plane. However, the description imposes a concrete precondition that CVSS PR:N does not capture: the attacker must already control an upstream identity that is linked, and the target deployment must actually use account-linking-only providers, so real exploitability is narrower than the raw 9.8 implies. CISA SSVC reinforces the tempered view (Exploitation: none, Automatable: no, Technical Impact: partial), and EPSS is low at 0.19% (9th percentile), consistent with the absence of KEV listing or public PoC. On balance this is a real, patch-worthy priority for anyone running Keycloak/RH-SSO with brokered SAML and account-linking-only providers - even a mid-sized municipal IT team in kalisz should schedule the update promptly - but it is not a spray-and-pray internet-wide threat, and organizations that do not use SAML brokering with linking restrictions carry materially lower risk. |
| Exploit ScenarioDerived | An attacker registers or compromises an identity at an upstream IdP that a victim has linked to their Keycloak account under an account-linking-only provider. The attacker then invokes the SAML broker's IdP-initiated SSO endpoint with that upstream identity; because the endpoint never checks the linking-only restriction, Keycloak establishes a full authenticated session as the victim's local user. No public exploit code has been identified, but the network attack vector and low complexity make hands-on exploitation straightforward once the prerequisite upstream identity is controlled. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv2 – Aug 10, 2026
Account takeover in Keycloak (Red Hat build of Keycloak, Red Hat Single Sign-On 7) arises because the IdP-initiated SAML SSO endpoint does not verify whether an upstream identity provider is restricted to account-linking-only mode. An attacker who controls a linked upstream identity can drive that endpoint to complete a full login rather than a mere link operation, seizing complete access to the corresponding local user account. Red Hat has shipped fixes; there is no public exploit identified at time of analysis and EPSS exploitation probability is low (0.19%).
Earlier versions of this analysis (1)
Authentication bypass in Keycloak's SAML broker component allows an attacker who controls a linked upstream identity provider to circumvent account-linking-only restrictions and gain full, unrestricted access to a local Keycloak user account. The IdP-initiated Single Sign-On endpoint fails to enforce whether a SAML provider is restricted to account linking, enabling a trust boundary violation (CWE-346) that collapses the distinction between federated identity linking and full authentication. CVSS 7.4 (High) with AV:N/AC:H/PR:N reflects network exploitability tempered by the prerequisite of controlling a linked upstream identity; no active exploitation in CISA KEV and no public exploit code identified at time of analysis.
RemediationAI
Apply the vendor-released patches: update the Red Hat build of Keycloak to 26.4 (package 26.4-22 or 26.4.14-1) or 26.6 (package 26.6-11 or 26.6.5-1), and apply the corresponding RHSA errata for the affected products (https://access.redhat.com/errata/RHSA-2026:50846, RHSA-2026:50847, RHSA-2026:50848, and RHSA-2026:50849). If immediate patching is not possible, reduce exposure by auditing all SAML broker identity providers configured as account-linking-only and temporarily disabling those providers or the IdP-initiated SSO flow for them, accepting the trade-off that users relying on those links will lose that federation path until patched; additionally restrict or firewall the SAML broker endpoint to trusted networks, and review recently created or reactivated account links for signs of abuse. Consult the Red Hat CVE page (https://access.redhat.com/security/cve/CVE-2026-16442) for the authoritative fixed builds before deploying.
Affected VersionsENISA
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 a widely used open-source identity and access management server that brokers external identity providers (IdPs) for federation and single sign-on. The affected code path is the SAML broker's IdP-initiated SSO endpoint, which processes unsolicited SAML responses pushed from an external IdP. Administrators can configure a broker provider so that it may only be used to link an external identity to an existing local account ('account linking only'), not to authenticate and establish a full session. The flaw is a CWE-346 origin/authorization-context validation failure: the endpoint fails to enforce that account-linking-only restriction, so a SAML assertion that should only be permitted to link is instead honored as a full authentication. Affected packages per the CPE data include red_hat_build_of_keycloak, red_hat_single_sign-on_7, and the Keycloak-derived components shipped with Red Hat Data Grid 8 and the JBoss EAP Expansion Pack.
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:N/UI:N/S:U/C:H/I:H/A:H
Network-reachable endpoint with no privileges on Keycloak yields AV:N/PR:N; account takeover gives C:H/I:H, but there is no direct availability impact so A:N (vs vendor A:H).
Primary rating from Vendor (redhat).
CVSS VectorNVD
Lifecycle Timeline
4DescriptionNVD
A flaw was found in the SAML broker component of Keycloak, which is used to manage identity federation and user authentication. The issue occurs because the IdP-initiated Single Sign-On endpoint fails to check if a provider is restricted to account linking only. This allows an attacker with control over a linked upstream identity to bypass login restrictions and gain full access to a local user account.
Executive ViewAI
Keycloak and Red Hat Single Sign-On 7 contain a critical account takeover vulnerability affecting SAML-based federation, posing risk to all downstream applications that depend on these platforms for user authentication. No public exploit has been identified, but the vulnerability is straightforward for attackers with upstream identity provider compromise. Vendor-released patches are available and should be deployed across your identity infrastructure.
Apply vendor patch.
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.
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
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
Authentication bypass in Keycloak's Organization identity-first login flow allows an authenticated attacker who belongs
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-53395
GHSA-vj6m-hv26-qx79
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB