CVE-2026-11986: Keycloak-rest-admin-ui-ext: authorization bypass vulnerability in the admin-ui-ext bulk role-mapping-delete endpoints of keycloak

Published Jun 11, 2026
·
Updated

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.

Other sources

An authorization bypass vulnerability exists in the Keycloak admin-ui-ext bulk role-mapping-delete endpoints (POST /admin/realms/{realm}/ui-ext/role-mapping-delete/users/{id} and POST /admin/realms/{realm}/ui-ext/role-mapping-delete/groups/{id}). The implementation only performs a container-level authorization check (requireMapRoles) but fails to enforce the per-role authorization check (requireMapRole) required by the standard Admin REST API. As a result, an authenticated attacker with high privileges (specifically a delegated administrator with manage-users permissions) can bypass intended restrictions to remove sensitive realm-management roles (such as manage-realm, manage-clients, or realm-admin) from other administrators. This operation is correctly blocked with a 403 Forbidden error when attempted via the standard Admin REST API.

Red Hat

Affected Software

2 affected components
Keycloak Keycloak admin-ui-ext
redhat Build Of Keycloak>=26.6<26.6.5

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade keycloak/admin-ui-ext (admin-ui-ext) to a version that resolves this vulnerability.

    Patch Keycloak-rest-admin-ui-ext: authorization bypass vulnerability in the admin-ui-ext bulk role-mapping-delete endpoints of keycloak
  2. Compensating control

    If you cannot immediately patch, restrict access to the Keycloak admin-ui-ext bulk role-mapping-delete endpoints (POST /admin/realms/{realm}/ui-ext/role-mapping-delete/users/{id} and POST /admin/realms/{realm}/ui-ext/role-mapping-delete/groups/{id}) so only fully trusted administrators can reach them (e.g., via network/firewall/ACL or an upstream access control in front of Keycloak).

Event History

Jun 11, 2026
Data Sourced
via Red Hat·02:15 PM
DescriptionSeverityAffected Software
CVE Published
via MITRE·04:47 PM
Data Sourced
via MITRE·04:47 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·06:16 PM
DescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2026-11986?

The severity of CVE-2026-11986 is rated as medium with a score of 4.9.

2

What does CVE-2026-11986 affect?

CVE-2026-11986 affects the Keycloak admin-ui-ext component and its bulk role-mapping-delete endpoints.

3

How can I fix CVE-2026-11986?

To fix CVE-2026-11986, ensure you are running the latest version of Keycloak that addresses this vulnerability.

4

What is the risk associated with CVE-2026-11986?

CVE-2026-11986 poses a risk level classified as 30 due to its potential for authorization bypass.

5

What type of vulnerability is CVE-2026-11986?

CVE-2026-11986 is an authorization bypass vulnerability in the Keycloak admin-ui-ext component.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203