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.
Metrics
Affected Vendors & Products
References
History
Wed, 05 Aug 2026 17:00:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| CPEs | cpe:/a:redhat:build_keycloak:26.4::el9 | |
| References |
|
Wed, 01 Jul 2026 15:30:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
Tue, 30 Jun 2026 12:30:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| 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. | |
| Title | Keycloak: keycloak: privilege escalation through hardcoded role mapper injection | |
| First Time appeared |
Redhat
Redhat build Keycloak |
|
| Weaknesses | CWE-266 | |
| CPEs | cpe:/a:redhat:build_keycloak: | |
| Vendors & Products |
Redhat
Redhat build Keycloak |
|
| References |
| |
| Metrics |
cvssV3_1
|
Status: PUBLISHED
Assigner: redhat
Published:
Updated: 2026-08-05T18:45:34.187Z
Reserved: 2026-03-23T08:02:49.337Z
Link: CVE-2026-4629
Updated: 2026-07-01T14:26:44.273Z
Status : Modified
Published: 2026-06-30T13:18:59.350
Modified: 2026-08-05T19:17:31.223
Link: CVE-2026-4629
No data.
OpenCVE Enrichment
Updated: 2026-06-30T20:45:03Z