Description
A flaw was found in Keycloak. A highly privileged user with `manage-clients` permission can exploit this vulnerability by injecting a hardcoded role mapper into any client. This action allows the user to bypass existing scope restrictions and inject the `realm-admin` role into generated tokens, resulting in privilege escalation and full administrative access to the realm.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Red Hat | Red Hat build of Keycloak 26.4 | — | — |
| Red Hat | Red Hat build of Keycloak 26.4.14 | — | — |
| Red Hat | Red Hat build of Keycloak 26.6.5 | — | — |
Advisories 1
- WID-SEC-2026-2145 Keycloak: Mehrere Schwachstellen BSI CERT-Bund (WID) · Nov 8, 2026
References
- RHSA-2026:50846 vendor-advisory
- RHSA-2026:50847 vendor-advisory
- RHSA-2026:50848 vendor-advisory
- https://access.redhat.com/security/cve/CVE-2026-4629 vdb-entry
- RHBZ#2450244 issue-tracking