CVE-2026-4629
MEDIUM 6.5CVSS 3.1Keycloak: keycloak: privilege escalation through hardcoded role mapper injection
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.
- Published
- 30 Jun 2026
- Last modified
- 25 Nov 2026
- Assigned by
- secalert@redhat.com
- NVD status
- Modified
- Weakness
- CWE-266
- Sources
- NVDJSONCVE ListJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | secalert@redhat.com (Secondary) | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N |
| CVE List | redhat | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N |
| CVE List | CISA-ADP | SSVC | Exploitation: none; Automatable: no; Technical Impact: total |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | redhat | build_of_keycloakcpe:2.3:a:redhat:build_of_keycloak:-:*:*:*:*:*:*:* |
(no version) | |
| CVE List | https://github.com/keycloak/keycloak | keycloak | <= 26.2.16; >= 26.3.0, <= 26.3.5; >= 26.4.0, < 26.4.14; >= 26.5.0, <= 26.5.7; >= 26.6.0, < 26.6.5; >= 26.7.0, < 26.7.1 | 26.4.14, 26.6.5, 26.7.1 |
| CVE List | https://catalog.redhat.com/software/containers/ | rhbk/keycloak-operator-bundlecpe:/a:redhat:build_keycloak:26.4::el9 |
all versions | |
| CVE List | https://catalog.redhat.com/software/containers/ | rhbk/keycloak-rhel9cpe:/a:redhat:build_keycloak:26.4::el9 |
all versions | |
| CVE List | https://catalog.redhat.com/software/containers/ | rhbk/keycloak-rhel9-operatorcpe:/a:redhat:build_keycloak:26.4::el9 |
all versions | |
| CVE List | https://access.redhat.com/downloads/content/package-browser/ | rhbk/keycloak-rhel9cpe:/a:redhat:build_keycloak:26.4::el9 |
||
| CVE List | Red Hat | Red Hat build of Keycloak 26.6.5cpe:/a:redhat:build_keycloak:26.6::el9 |
References
- https://access.redhat.com/errata/RHSA-2026:50846 · vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:50847 · vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:50848 · vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/security/cve/CVE-2026-4629 · Vendor Advisory, vdb-entry, x_refsource_REDHAT
- https://bugzilla.redhat.com/show_bug.cgi?id=2450244 · Exploit, Vendor Advisory, issue-tracking, x_refsource_REDHAT
History
- 25 Nov 2026 20:55 UTC · CVE List: first stored (published 30 Jun 2026)
- 25 Nov 2026 20:10 UTC · NVD: first stored (published 30 Jun 2026)