Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate as delegated Keycloak admin
-
DeliveryIdentify high-privilege target user or group in realm
-
ExploitCraft bulk role-removal API request targeting privileged role mappings
-
ExecutionSubmit request directly to admin-ui-ext endpoint
-
PersistBypass missing granular permission check (CWE-425)
-
ImpactPrivileged role stripped from target account, disrupting realm access control
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Direct request prevention
|
| Exploitation Conditions | Exploitation requires the attacker to possess valid delegated administrator credentials within the target Keycloak instance, confirmed by PR:H in the CVSS vector - unauthenticated or standard user access is insufficient. The admin-ui-ext extension component must be deployed and active; Keycloak installations running only the core admin UI without this extension are not affected by this specific flaw. The environment must use Keycloak's delegated administration model: installations where all administrators are fully privileged realm-admins are not meaningfully impacted, since those accounts would already hold legitimate role-removal authority. Exploitation is further limited to the bulk role-removal endpoints specifically - standard single-role-removal operations via the core UI are not implicated by the description. No special network positioning, protocol, or client-side user interaction is required beyond authenticated network access to the admin API (AV:N/UI:N). What limits exploitation: requirement for pre-existing delegated admin credentials, dependency on the optional admin-ui-ext component being deployed, and targeting only environments that have configured delegated (non-full-realm) admin tiers. |
| Impact | The vendor-supplied CVSS base score of 4.9 (Medium) is internally consistent: the PR:H metric acknowledges that exploitation is restricted to actors who already hold delegated administrator credentials, substantially narrowing the attack surface to insider threats, compromised admin accounts, or social engineering targeting sub-admins. The I:H (High integrity impact) component is the most significant signal - unauthorized manipulation of IAM role mappings can fundamentally undermine the access control model of a Keycloak realm, enabling privilege disruption at scale. No EPSS data was available in the provided intelligence, so exploitation probability cannot be quantified probabilistically. The vulnerability is not listed in CISA KEV and no proof-of-concept code has been identified, indicating exploitation remains theoretical at time of analysis. A notable data quality discrepancy exists: the source tags include 'Information Disclosure,' which conflicts with the CVSS C:N (no confidentiality impact) rating - this inconsistency should be verified against the Red Hat advisory before treating confidentiality exposure as confirmed. Real-world prioritization should be high in environments with untrusted or externally-managed delegated admins, and lower where all administrative personnel are fully trusted insiders. |
| Exploit ScenarioDerived | A delegated Keycloak administrator with a narrowly scoped realm-management role sends a crafted POST request directly to the admin-ui-ext bulk role-removal endpoint, specifying a target user who holds a realm-admin or superadmin role mapping. Because the endpoint fails to verify that the requesting delegated admin has authority over the specified roles (CWE-425), the server processes the deletion and strips the privileged role from the targeted account. This could lock out legitimate realm administrators, create privilege vacuums exploitable for further access manipulation, or be used to neutralize security monitoring accounts that rely on specific Keycloak role grants. No proof-of-concept code is publicly available at time of analysis. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 11, 2026
Broken access control in the admin-ui-ext component of Red Hat Build of Keycloak permits an authenticated delegated administrator to exploit missing granular permission checks on bulk role-removal endpoints, stripping highly privileged roles from arbitrary users or groups within the Keycloak realm. Affected deployments are those using Keycloak's delegated administration model with the admin-ui-ext extension active; exploitation is bounded by the PR:H CVSS requirement, meaning an attacker must already hold delegated admin credentials. No public exploit has been identified and the vulnerability is not listed in CISA KEV, placing real-world risk in the moderate range with highest relevance to environments with partially trusted delegated administrators.
RemediationAI
No specific patched version was confirmed in the available intelligence data; administrators should consult the Red Hat advisory at https://access.redhat.com/security/cve/CVE-2026-11986 and monitor https://bugzilla.redhat.com/show_bug.cgi?id=2487906 for patch availability and exact fix versions. As a compensating control, limit delegated administrator role assignments exclusively to fully trusted personnel and immediately audit all existing delegated admin grants to identify accounts that may have already exercised this flaw. Restricting network-level access to the admin-ui-ext bulk role-removal endpoints via reverse-proxy ACL or API gateway policy can reduce exposure without disabling the entire component, though this trades off the operational efficiency of bulk operations for administrative teams. Enabling and actively monitoring Keycloak's admin event audit log for anomalous bulk role-removal events provides a detective control that can surface exploitation attempts in environments where preventive controls cannot yet be applied. Apply the principle of least privilege rigorously to all delegated admin scope definitions to minimize the blast radius of any future privilege misuse.
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in maven
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Keycloak implements a delegated administration model that allows sub-administrators to manage specific realms, groups, or users within defined scopes. The admin-ui-ext component augments the standard Keycloak Admin UI with extended bulk-operation capabilities, including bulk role mapping removal. The root cause is CWE-425 (Direct Request / Forced Browsing): the bulk role-removal API endpoints process incoming requests and execute role-mapping deletions without verifying whether the requesting delegated admin holds sufficient permission over the specific roles being removed - they validate only that some delegated admin credential is present. This allows a sub-admin scoped to limited operations to call the endpoint directly and target privileged roles outside their authorized scope. Affected products per CPE data include Red Hat Build of Keycloak (cpe:2.3:a:red_hat:red_hat_build_of_keycloak) across all listed versions, and Red Hat JBoss Enterprise Application Platform Expansion Pack (cpe:2.3:a:red_hat:red_hat_jboss_enterprise_application_platform_expansion_pack). The CVSS vector (AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:N) confirms a network-accessible attack surface with low exploitation complexity once credentials are obtained.
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:N/I:H/A:N
Network-accessible admin-UI endpoint warrants AV:N; delegated admin credentials are required (PR:H); only role-mapping integrity is affected, so C:N and A:N but I:H.
Primary rating from Vendor (redhat).
CVSS VectorVendor: redhat
DescriptionCVE.org
A flaw was found in the admin-ui-ext component of Keycloak, which provides extended administrative user interface capabilities. The issue occurs because certain bulk role-removal endpoints fail to perform granular permission checks when deleting role mappings. This allows a delegated administrator with limited permissions to remove highly privileged roles from other users or groups, potentially disrupting administrative access control.
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
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
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-36267
GHSA-6w3v-mcfh-m3q7
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB