Skip to main content
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain delegated admin credentials via phishing or compromise
  2. Delivery
    Authenticate to Keycloak admin REST API
  3. Exploit
    Enumerate composite roles in target realm
  4. Execution
    Issue unauthorized child role removal request
  5. Persist
    Strip privileged role from composite role definition
  6. Impact
    Legitimate 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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

Vendor (redhat) PRIMARY 4.9 MEDIUM
AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:N
vuln.today AI 4.9 MEDIUM

API is network-accessible but requires delegated admin credentials (PR:H); impact is role integrity corruption only, with no confidentiality or system availability loss.

3.1 AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:N
4.0 AV:N/AC:L/AT:N/PR:H/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N
Red Hat 4.9 MEDIUM

Primary rating from Vendor (redhat).

CVSS VectorVendor: redhat

Attack Vector
Network
Attack Complexity
Low
Privileges Required
High
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
High
Availability
None

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

EPSS Score
0.2%
Top 90% exploitable
Prevalence
High
widely deployed enterprise IAM/SSO platform across Red Hat and open-source ecosystems
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment Vendor VulDB

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
High
Technical Impact
Partial

Priority Score

24
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +24
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

Affected Products (CPE)CVE.org

cpe:2.3:a:red_hat:red_hat_build_of_keycloak:*:*:*:*:*:*:*:*
cpe:2.3:a:red_hat:red_hat_build_of_keycloak:*:*:*:*:*:*:*:*
cpe:2.3:a:red_hat:red_hat_build_of_keycloak:*:*:*:*:*:*:*:*
cpe:2.3:a:red_hat:red_hat_data_grid_8:*:*:*:*:*:*:*:*
cpe:2.3:a:red_hat:red_hat_jboss_enterprise_application_platform_expansion_pack:*:*:*:*:*:*:*:*
cpe:2.3:a:red_hat:red_hat_single_sign-on_7:*:*:*:*:*:*:*:*
CVE-2026-18963 CRITICAL POC
9.1 Aug 18

Account takeover in Red Hat Build of Keycloak allows an unauthenticated attacker to abuse the reset-credentials flow in

CVE-2026-16442 CRITICAL
9.8 Aug 05

Account takeover in Keycloak (Red Hat build of Keycloak, Red Hat Single Sign-On 7) arises because the IdP-initiated SAML

CVE-2026-16443 CRITICAL
9.1 Aug 05

Authentication bypass in Red Hat Build of Keycloak (and Red Hat Single Sign-On 7) lets an unauthenticated attacker forge

CVE-2026-15572 HIGH
8.8 Aug 05

Privilege escalation in Red Hat Build of Keycloak's Dynamic Client Registration (DCR) grants an attacker with low-privil

CVE-2026-93569 HIGH
8.2 Sep 18

Mismatched handling of the HTTP/1 absolute-form request authority in Red Hat build of Quarkus and other affected Red Hat

CVE-2026-9800 HIGH
8.1 Jun 25

Authorization bypass in the Keycloak Policy Enforcer allows any authenticated user to circumvent all enforced access con

CVE-2026-15573 HIGH
8.1 Aug 05

URI normalization bypass in Keycloak's Authorization Services PathMatcher allows authenticated low-privilege users to re

CVE-2026-16102 HIGH
8.1 Aug 05

Privilege escalation in Keycloak's Dynamic Client Registration (DCR) component allows attackers with standard user accou

CVE-2026-18214 HIGH
8.1 Jul 31

Token exchange in Keycloak bypasses Google Workspace domain allowlist restrictions, enabling any valid Google account ho

CVE-2026-11800 HIGH
8.1 Jun 25

Signature-verification bypass in Keycloak (and Red Hat's Keycloak-based products such as Red Hat Single Sign-On 7 and Re

CVE-2026-18215 HIGH
8.1 Jul 31

Tenant-restriction bypass in Keycloak's Microsoft identity provider integration allows attackers holding any valid Micro

CVE-2026-18967 HIGH
8.1 Aug 06

Session hijacking via SAML assertion replay in Keycloak's SAML broker component allows adjacent-network attackers to aut

Vendor StatusVendor

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy