Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain or compromise scoped admin credentials
-
DeliveryAuthenticate to Keycloak administrative API
-
ExploitEnumerate available organizations and their identifiers
-
ExecutionRegister attacker-controlled identity provider in realm
-
PersistCall link-provider-to-organization API without org management rights
-
ImpactUsers of target organization redirected through malicious provider
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Authorization checks on every request
MITRE ATT&CK
1 technique across 1 tactic: Privilege Escalation The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires an authenticated Keycloak administrator account that has been granted the 'manage-identity-providers' realm role or an equivalent scoped permission. The attacker must specifically lack 'manage-organizations' permission for the target organization - this is the permission gap the vulnerability exploits. The flaw is present in the administrative API path for linking identity providers to organizations, meaning the organization and multi-tenancy features of Keycloak must be in active use in the target realm. Exploitation is limited to network-accessible Keycloak administrative API endpoints (AV:N per CVSS), and no user interaction is required (UI:N). The primary limiting factor is the PR:H requirement: the attacker must already hold a privileged administrative role, confining the realistic threat to compromised admin accounts, insider threats, or misconfigured role delegation. |
| Impact | The CVSS 3.1 score of 5.5 (Medium) reflects the high privilege requirement (PR:H), which significantly limits the attack surface to already-privileged administrators. The AV:N and AC:L metrics indicate exploitation requires only network access with no special conditions once the attacker holds the required role. The I:H metric is the most significant signal: successfully linking an unauthorized identity provider to an organization constitutes a high-integrity violation, as it alters the trust chain for user authentication at the organizational level. C:L is plausible given potential exposure of organizational membership or configuration data. No EPSS score was provided in the input data, and the vulnerability does not appear in CISA KEV, suggesting no confirmed active exploitation. The real-world threat model is constrained to insider-threat or compromised-admin scenarios, not opportunistic external attackers, making the practical risk lower than the I:H metric alone implies. No POC or exploit code has been publicly identified. |
| Exploit ScenarioDerived | An adversary who has gained control of a Keycloak administrator account scoped only to identity provider management - for example, a federated admin or a compromised service account - calls the administrative API endpoint to link a newly registered, attacker-controlled SAML or OIDC identity provider to a target organization. Keycloak processes the request without verifying organization-level authorization, completing the linkage. Users belonging to that organization are then exposed to an authentication path through the malicious provider, enabling credential harvesting or authentication bypass on subsequent logins. No public exploit code has been identified, but the attack requires only valid API calls and knowledge of the target organization's identifier. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 29, 2026
Missing authorization in Keycloak's administrative API allows a scoped administrator to exceed their privilege boundary by linking identity providers to organizations they are not authorized to manage. Affected deployments include Red Hat Build of Keycloak, Red Hat Single Sign-On 7, and related Red Hat products. An administrator who holds identity provider management permissions but lacks organization management rights can silently reconfigure authentication flows for organizations outside their administrative scope, potentially redirecting user logins through attacker-controlled providers. No public exploit code exists and this vulnerability is not listed in CISA KEV at time of analysis.
RemediationAI
Patch availability per vendor advisory is indicated by Red Hat's CVE page at https://access.redhat.com/security/cve/CVE-2026-18201, but no specific patched release version was confirmed in the available input data - consult the Red Hat advisory directly for exact fixed versions before upgrading. As a compensating control, administrators should audit and tighten the scope of identity provider management permissions: avoid granting the 'manage-identity-providers' role to administrators who do not also require 'manage-organizations' rights, thereby eliminating the permission gap this vulnerability exploits. Additionally, review existing identity provider-to-organization linkages in your Keycloak realm to detect any unauthorized associations that may have already been made. Restricting administrative API access to known IP ranges via network policy reduces exposure in environments where patching is delayed.
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 platform that supports fine-grained administrative role delegation. Its REST-based administrative API separates permissions for managing identity providers from permissions for managing organizations (multi-tenant realms or tenancy groups). CWE-862 (Missing Authorization) describes the root cause: the API endpoint that links an identity provider to an organization fails to verify whether the requesting administrator also holds the 'manage-organizations' permission for the target organization - it only checks the 'manage-identity-providers' permission. This is a classic broken object-level authorization pattern in a privileged API. Affected CPEs cover cpe:2.3:a:red_hat:red_hat_build_of_keycloak, cpe:2.3:a:red_hat:red_hat_single_sign-on_7, cpe:2.3:a:red_hat:red_hat_data_grid_8, and cpe:2.3:a:red_hat:red_hat_jboss_enterprise_application_platform_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:H/UI:N/S:U/C:L/I:H/A:N
PR:H confirmed by requirement for an authenticated admin role; I:H reflects full control over organization authentication trust chain; C:L for incidental org metadata exposure; A:N as no availability impact exists.
Primary rating from Vendor (redhat).
CVSS VectorVendor: redhat
DescriptionCVE.org
Keycloak provides a way to manage identity providers and organizations through its administrative API. A flaw was discovered where an administrator with permission to manage identity providers could link a new provider to an organization without having the required permissions to manage that organization. This could allow an unauthorized administrator to influence how users log into specific organizations.
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
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
EUVD-2026-50215
GHSA-fvjx-r757-3r6r
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB