Skip to main content
View

Attack ChainAIDerived

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

  1. Access
    Authenticate as delegated admin with manage-realm permissions
  2. Delivery
    Target name-based composite role endpoint in admin REST API
  3. Exploit
    Submit child role removal request for built-in admin role
  4. Execution
    Authorization check bypassed by API
  5. Persist
    Child role stripped from built-in admin role
  6. Impact
    Administrative functions disrupted within realm

Vulnerability Assessment

Weakness
CWE
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 account that has been granted manage-realm permissions within the target Keycloak realm - this is a delegated administrator role, not a default end-user account. The attacker must have network access to the Keycloak admin REST API endpoint and must target name-based composite role management operations specifically within RoleContainerResource. Exploitation is limited to the scope of a single realm (S:U); it cannot cross realm boundaries. Limiting factors include: the PR:H authentication barrier (must hold manage-realm delegation), the realm-scoped impact, and the fact that the attack degrades administrative role structure rather than extracting data or achieving remote code execution. Default Keycloak deployments where only fully privileged realm administrators exist are not exposed, as the flaw is specific to delegated administration scenarios.

Impact

The CVSS 3.1 vector (AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:N) yields a medium score of 4.9, reflecting that exploitation is network-accessible and low-complexity but gated behind high-privilege access - specifically a delegated administrator account with manage-realm permissions. The real-world risk profile is therefore substantially more limited than a typical I:H vulnerability: an attacker must already possess legitimate, high-privilege credentials within the target realm. There is no EPSS score provided in the input, no CISA KEV listing, and no publicly available proof-of-concept code, all of which reinforce that this is not currently a target of opportunistic or widespread exploitation. The primary risk is insider threat or a scenario where a compromised delegated administrator account is weaponized to sabotage realm administration, not external exploitation. The scope is unchanged (S:U) and confidentiality is unaffected (C:N), further bounding the blast radius. Organizations with strictly controlled delegated admin access face low residual risk; those with broad manage-realm delegation across many administrators face higher exposure.

Exploit ScenarioDerived

A delegated administrator with manage-realm permissions authenticates to the Keycloak admin REST API and calls a name-based composite role management endpoint against a built-in admin role. Because the endpoint skips proper authorization checks, the request succeeds and strips one or more essential child roles from the built-in role, degrading the permissions of other realm administrators who depend on that role and potentially locking out administrative operations. No public exploit code is known to exist at time of analysis.

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 31, 2026

Broken access control in Keycloak's RoleContainerResource component allows delegated administrators with manage-realm permissions to remove child roles from built-in admin roles via name-based endpoints in the admin REST API that skip proper authorization checks. Affected distributions include Red Hat Build of Keycloak, Red Hat Single Sign-On 7, Red Hat JBoss EAP Expansion Pack, and Red Hat Data Grid 8. An attacker exploiting this flaw can degrade or disrupt administrative functions within a realm by stripping essential role assignments from built-in admin roles, effectively undermining the role-based access control structure of the affected deployment. No public exploit code and no CISA KEV listing are associated with this CVE at time of analysis.

RemediationAI

No specific patched version is confirmed from the provided input data; the Red Hat security advisory (https://access.redhat.com/security/cve/CVE-2026-16105) and associated Bugzilla ticket (https://bugzilla.redhat.com/show_bug.cgi?id=2501738) should be monitored for errata releases and exact fix versions. Until a patch is applied, organizations should audit and minimize the scope of manage-realm permission delegation - granting this permission only to fully trusted administrators, since the flaw is only exploitable by accounts that already hold it. Where feasible, separate administrative domains into distinct realms to limit the blast radius of any single delegated admin account. Network-layer controls restricting access to the Keycloak admin REST API (e.g., binding the admin interface to internal-only networks or enforcing IP allowlists) can reduce exposure but do not eliminate the underlying authorization flaw and may impact legitimate administrative workflows.

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 solution that implements composite roles - roles that inherit permissions from child roles - to support delegated administration hierarchies. The RoleContainerResource component exposes admin REST API endpoints for managing these role relationships. The flaw lies in name-based API endpoints within this component, which resolve roles by name but fail to enforce the full authorization chain before permitting removal of child roles from built-in admin roles. This is a missing or incomplete authorization check at the API layer - a classic broken access control pattern - rather than a cryptographic or injection flaw. The CPE data confirms impact across 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. No CWE was formally assigned, but the behavior is consistent with CWE-285 (Improper Authorization) or CWE-863 (Incorrect Authorization).

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

Manage-realm delegated admin credentials required (PR:H); network REST API vector with no attack complexity; integrity impact only via unauthorized composite role modification.

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 RoleContainerResource component of Keycloak. The issue occurs because certain name-based endpoints in the admin REST API do not properly enforce authorization checks when managing composite roles. This allows a delegated administrator with manage-realm permissions to remove essential child roles from built-in admin roles, potentially disrupting administrative functions within a realm.

Threat Intelligence Overview

EPSS Score
0.2%
Top 88% exploitable
Prevalence
High
widely deployed enterprise identity and access management platform across Red Hat 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-120984 CRITICAL
9.1 Nov 07

Remote code execution in Keycloak is possible when an authenticated user with client-management permissions creates or i

CVE-2026-117691 CRITICAL
9.1 Nov 05

Keycloak's SAML HTTP-Redirect binding can be tricked into accepting an unsigned, attacker-supplied SAML message: paramet

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-97175 HIGH
8.8 Nov 05

Account takeover in Keycloak's idp-auto-link authenticator lets an attacker who holds an account at a brokered identity

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-112208 HIGH
8.1 Nov 05

Authentication bypass in Keycloak's Organization identity-first login flow allows an authenticated attacker who belongs

CVE-2026-114232 HIGH
8.1 Nov 05

Keycloak's UMA Protection API lets an authenticated realm user create a policy whose resourceType is not validated, so t

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-92857 HIGH
8.1 Nov 05

Keycloak's Dynamic Client Registration feature accepts registration requests in which an authorized registrant can map t

Vendor StatusVendor

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