CVE-2026-4629Keycloak: keycloak: privilege escalation through hardcoded role mapper injection
Updated under an hour ago ()
Does this affect you?
It affects Red Hat build of Keycloak 26.4 and 1 other product. Add what you run to find out whether that includes you.
No exploitation reported and no EPSS estimate yet.
Do this next
Free account, 1 product
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
- 6.5 MEDIUM (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N
- Weakness (CWE)
- CWE-266
- Known exploited
- Not in CISA's KEV catalog
- EPSS (exploitation in the next 30 days)
- Not loaded for this CVE
- Assigned by
- redhat
- NVD analysis
- Modified
- Record last updated
- Oct 22, 2026
- First seen by InfoSec Signals
- Oct 9, 2026
Affected products
Red Hat Red Hat build of Keycloak 26.4 redhat:build_keycloak | from 26.4.14-1 not affected | CNA record |
redhat build_of_keycloak redhat:build_of_keycloak | all versions | NVD |
References
- https://access.redhat.com/errata/RHSA-2026:50846vendor-advisory, x-refsource-redhat
- https://access.redhat.com/errata/RHSA-2026:50847vendor-advisory, x-refsource-redhat
- https://access.redhat.com/errata/RHSA-2026:50848vendor-advisory, x-refsource-redhat
- https://access.redhat.com/security/cve/CVE-2026-4629vdb-entry, x-refsource-redhat, vendor-advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2450244issue-tracking, x-refsource-redhat, exploit, vendor-advisory
The CVE record on cve.org NVD's entry
The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.