Vulnerability 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.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Redhat | Build Of Keycloak | - |
Related Weaknesses (CWE)
References
- https://access.redhat.com/errata/RHSA-2026:50846
- https://access.redhat.com/errata/RHSA-2026:50847
- https://access.redhat.com/security/cve/CVE-2026-4629Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2450244ExploitVendor Advisory
FAQ
What is CVE-2026-4629?
CVE-2026-4629 is a vulnerability with a CVSS score of 6.5 (MEDIUM). 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...
How severe is CVE-2026-4629?
CVE-2026-4629 has been rated MEDIUM with a CVSS base score of 6.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-4629?
Check the references section above for vendor advisories and patch information. Affected products include: Redhat Build Of Keycloak.