CVEvulnerability
CVE-2026-4629
6.5 MEDIUM
Official page ↗
- Status
- Modified
- Published
- 2026-06-30
- Last modified
- 2026-10-25
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 6.5 MEDIUM — CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N
- Weaknesses
- CWE-266
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.
Affected configurations
• redhat build of keycloak
Related
Weakness · CWE (1)
- CWE-266 Incorrect Privilege Assignment weakness
References
- https://access.redhat.com/errata/RHSA-2026:50846 access.redhat.com
- https://access.redhat.com/errata/RHSA-2026:50847 access.redhat.com
- https://access.redhat.com/errata/RHSA-2026:50848 access.redhat.com
- https://access.redhat.com/security/cve/CVE-2026-4629 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2450244 Exploit, Vendor Advisory