Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain delegated admin credentials via phishing or compromise
-
DeliveryAuthenticate to Keycloak admin REST API
-
ExploitEnumerate composite roles in target realm
-
ExecutionIssue unauthorized child role removal request
-
PersistStrip privileged role from composite role definition
-
ImpactLegitimate admins and users lose associated permissions
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 the attacker to hold an authenticated session with delegated administrator privileges within the target Keycloak realm, corresponding to the CVSS PR:H metric - unauthenticated or standard user accounts cannot trigger this flaw. The vulnerability is specific to the composite role child-role removal operation in the admin REST API; only administrators who have been delegated management rights over at least some roles and who have API access to the composite role endpoint are positioned to exploit it. What limits exploitation: the attacker must first obtain valid delegated admin credentials (through phishing, credential stuffing, or insider threat); the impact is confined to role integrity with no confidentiality exposure; and if Keycloak admin event auditing is enabled, the unauthorized removal will appear in audit logs. The flaw does not require any special non-default configuration to be present - any Keycloak deployment using delegated administration with composite roles is potentially affected. |
| Impact | The CVSS 3.1 score of 4.9 (Medium) is driven primarily by the high privilege requirement (PR:H), which gates exploitation to actors who already hold delegated administrator credentials - a significant real-world barrier. The network attack vector (AV:N) and low complexity (AC:L) confirm that once credentials are obtained, exploitation requires no special technical skill beyond a standard API call. No EPSS score is present in the provided data, and the vulnerability is not listed in the CISA KEV catalog, indicating no confirmed active exploitation at time of analysis. The 'Information Disclosure' tag in the source data is inconsistent with the CVE description, which describes an integrity-only impact; this tag may reflect a tagging artifact or minor information leakage about role structure not described in the advisory - it should not be treated as a confirmed confidentiality impact. The CVSS vector records A:N (no availability impact), yet the description explicitly states users and administrators suffer loss of access - this functional availability consequence is not captured in the base score and may cause defenders to underestimate operational disruption. Real priority is moderate: high in environments with multiple delegated admins and complex composite role structures, lower in small deployments with tightly controlled admin accounts. |
| Exploit ScenarioDerived | An attacker who has compromised or is operating as a malicious delegated administrator within a Keycloak realm identifies a composite role used by higher-privileged administrators or service accounts. Without needing to hold management rights over the privileged child role, the attacker issues a DELETE request to the admin REST API endpoint for composite role membership, successfully removing the privileged child role. All users and administrators assigned the composite role immediately lose the permissions that child role conferred, potentially locking realm administrators out of management functions or disrupting service accounts in downstream applications. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 17, 2026
Unauthorized role removal in Keycloak's admin REST API allows a delegated administrator to strip privileged child roles from composite roles they are not authorized to manage, corrupting the role hierarchy and revoking access for users and administrators who depend on those composite roles. Affected products span Red Hat Build of Keycloak, Red Hat Single Sign-On 7, Red Hat Data Grid 8, and Red Hat JBoss EAP Expansion Pack. No public exploit code has been identified and this vulnerability is not listed in the CISA KEV catalog; however, in multi-tenant enterprise deployments where delegated administration is common, the integrity impact to IAM role structures is operationally significant.
RemediationAI
Consult the Red Hat Security Advisory at https://access.redhat.com/security/cve/CVE-2026-16106 for confirmed patched versions across all affected product lines, as no exact fixed version number is derivable from the provided input data. The upstream Red Hat Bugzilla entry at https://bugzilla.redhat.com/show_bug.cgi?id=2501739 should be monitored for patch status updates. As an interim compensating control, reduce the number of active delegated administrator accounts to the minimum necessary, and restrict which delegated admins are granted scope over composite role management - this limits the pool of accounts that could be compromised or abused. Enable and review Keycloak admin event audit logs (Admin Events in the realm settings) to detect unauthorized composite role modifications; note that this is a detective rather than preventive control and does not block exploitation. Restricting network access to the Keycloak admin REST API to trusted management networks reduces exposure without functional trade-off in most enterprise deployments.
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 implements a composite role model in which a single role can aggregate multiple child roles, enabling flexible permission bundling across realms and clients. The admin REST API exposes endpoints for adding and removing child roles from composite roles, scoped to delegated administrators who manage specific realms or clients. The flaw arises because the server-side authorization check that should verify whether the calling delegated admin has permission to manage the target privileged role is absent during the removal operation. This aligns with CWE-862 (Missing Authorization) - the system permits an action (child role removal) without confirming the caller's authorization scope covers the target resource. CPE data confirms affected products as 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. Exact version ranges are not derivable from the wildcard CPE fields provided.
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
API is network-accessible but requires delegated admin credentials (PR:H); impact is role integrity corruption only, with no confidentiality or system availability loss.
Primary rating from Vendor (redhat).
CVSS VectorVendor: redhat
DescriptionCVE.org
A flaw was found in the admin REST API of Keycloak, a solution for identity and access management. The issue occurs when a delegated administrator attempts to remove a child role from a composite role. Due to missing authorization checks, an attacker with limited administrative permissions can remove privileged roles they are not authorized to manage, leading to a loss of access for other users and administrators.
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
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
Mismatched handling of the HTTP/1 absolute-form request authority in Red Hat build of Quarkus and other affected Red Hat
Authorization bypass in the Keycloak Policy Enforcer allows any authenticated user to circumvent all enforced access con
URI normalization bypass in Keycloak's Authorization Services PathMatcher allows authenticated low-privilege users to re
Privilege escalation in Keycloak's Dynamic Client Registration (DCR) component allows attackers with standard user accou
Token exchange in Keycloak bypasses Google Workspace domain allowlist restrictions, enabling any valid Google account ho
Signature-verification bypass in Keycloak (and Red Hat's Keycloak-based products such as Red Hat Single Sign-On 7 and Re
Tenant-restriction bypass in Keycloak's Microsoft identity provider integration allows attackers holding any valid Micro
Session hijacking via SAML assertion replay in Keycloak's SAML broker component allows adjacent-network attackers to aut
EUVD-2026-45224
GHSA-78mv-phq4-25fv
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB