6.5Mittel
CVE-2026-4629Keycloak: keycloak: privilege escalation through hardcoded role mapper injection
Beschreibung
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.
Schwachstellentyp (CWE):
CWE-266
Daten: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Wiedergegeben wie in der Quelle, auf Englisch.
Betroffene Produkte und Versionen
| Hersteller | Produkt | Versionen | |
|---|---|---|---|
| build keycloak | 26.4 | — | |
| build keycloak | 26.6 | — | |
| redhat | build of keycloak | — | |
| Red Hat | Red Hat build of Keycloak 26.4 | all versions | |
| Red Hat | Red Hat build of Keycloak 26.4.14 | — | |
| Red Hat | Red Hat build of Keycloak 26.6.5 | — |
Referenzen und Patches
- 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-entryVendor Advisory
- RHBZ#2450244 issue-trackingExploitVendor Advisory
CPE-Treffer (NVD) (1)
cpe:2.3:a:redhat:build_of_keycloak:-:*:*:*:*:*:*:*