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.
Fix
Patch, vendor advisory and mitigation references on NVD 2
- https://access.redhat.com/security/cve/CVE-2026-4629 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2450244 Exploit, Vendor Advisory
Every line above is quoted from NVD, CISA, Microsoft, the vendor's own advisory or DISA; nothing is generated.
Change history 1
- First seenCVSS 6.5 · redhatNVD modified 2026-10-22 21:17
Affected (CPE criteria) 1
cpe:2.3:a:redhat:build_of_keycloak:-:*:*:*:*:*:*:*