Description
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.
Published: 2026-07-17
Score: 4.9 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

A flaw in Keycloak's admin REST API allows a delegated administrator to delete child roles from a composite role without proper authorization checks. This missing verification permits an attacker with limited administrative privileges to remove privileged roles they should not manage, thereby disrupting access controls for users and other administrators. The flaw manifests as an access control weakness identified as CWE‑862.

Affected Systems

The issue affects Red Hat's Build of Keycloak and related products such as Red Hat Data Grid 8, JBoss Enterprise Application Platform Expansion Pack, and Red Hat Single Sign‑On 7. All listed Red Hat vendor products that incorporate the vulnerable Keycloak component are impacted. Exact version details are not specified in the advisory, so any installation that includes a vulnerable release of these products should be considered at risk.

Risk and Exploitability

The CVSS score of 4.9 indicates a medium severity vulnerability. The EPSS score is reported as less than 1 %, implying a low probability of exploitation at the time of analysis. The vulnerability is not listed in the CISA KEV catalog. The threat vector is essentially via the REST API, and the attacker must have delegated administrator privileges; no additional conditions are required. Because the exploit only removes privileged roles, immediate remediation is advisable to preserve the integrity of role assignments. Administrators should monitor for an official update, as no patch is currently available.

Generated by OpenCVE AI on July 31, 2026 at 00:02 UTC.

Remediation

Vendor Workaround

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.


OpenCVE Recommended Actions

  • Restrict delegated administrator permissions to remove role‑deletion rights from their scope
  • Enable and review Keycloak audit logs to detect and investigate unauthorized role deletion attempts
  • Monitor Red‑Hat advisories and apply an update as soon as a patch becomes available

Generated by OpenCVE AI on July 31, 2026 at 00:02 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 28 Jul 2026 21:00:00 +0000

Type Values Removed Values Added
First Time appeared Redhat build Of Keycloak
Redhat data Grid
Redhat jboss Enterprise Application Platform Expansion Pack
Vendors & Products Redhat build Of Keycloak
Redhat data Grid
Redhat jboss Enterprise Application Platform Expansion Pack

Sat, 18 Jul 2026 12:15:00 +0000

Type Values Removed Values Added
References
Metrics threat_severity

None

threat_severity

Moderate


Fri, 17 Jul 2026 17:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-862
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Fri, 17 Jul 2026 16:45:00 +0000

Type Values Removed Values Added
Description 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.
Title Keycloak-services: keycloak-services: incorrect authorization in admin role-composite deletion allows delegated admin to remove privileged child roles
First Time appeared Redhat
Redhat build Keycloak
Redhat jboss Data Grid
Redhat jbosseapxp
Redhat red Hat Single Sign On
CPEs cpe:/a:redhat:build_keycloak:
cpe:/a:redhat:jboss_data_grid:8
cpe:/a:redhat:jbosseapxp
cpe:/a:redhat:red_hat_single_sign_on:7
Vendors & Products Redhat
Redhat build Keycloak
Redhat jboss Data Grid
Redhat jbosseapxp
Redhat red Hat Single Sign On
References
Metrics cvssV3_1

{'score': 4.9, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:N'}


Subscriptions

Redhat Build Keycloak Build Of Keycloak Data Grid Jboss Data Grid Jboss Enterprise Application Platform Expansion Pack Jbosseapxp Red Hat Single Sign On
cve-icon MITRE

Status: PUBLISHED

Assigner: redhat

Published:

Updated: 2026-07-19T09:12:28.180Z

Reserved: 2026-07-17T14:53:02.339Z

Link: CVE-2026-16106

cve-icon Vulnrichment

Updated: 2026-07-17T16:53:26.876Z

cve-icon NVD

No data.

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-07-15T07:28:13Z

Links: CVE-2026-16106 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-07-31T00:15:05Z

Weaknesses