CVE-2026-4629 json
Keycloak: keycloak: privilege escalation through hardcoded role mapper injection
published 2026-06-30 4 mo ago modified 2026-10-25 14 d ago also EUVD-2026-40300
- cvss
- 6.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.5%
- EPSS 0.5% chance of exploitation in 30 days, percentile 42%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- Red Hat Red Hat build of Keycloak 26.4 26.4-22, 26.4.14-1
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2026-4629 updated cvss 6.5
keycloak: Keycloak: Privilege escalation through hardcoded role mapper injection
-
Red Hat build of Keycloak 26.4 rhbk/keycloak-rhel9 26.4-22, rhbk/keycloak-rhel9-operator 26.4-22, rhbk/keycloak-operator-bundle 26.4.14-1fixed: vendor fix RHSA-2026:50847
-
Red Hat build of Keycloak 26.4.14fixed: vendor fix RHSA-2026:50846
-
Red Hat build of Keycloak 26.6.5fixed: vendor fix RHSA-2026:50848
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- total
- Assessed
- 4 mo ago
Exploit prediction
0.49% chance of exploitation in the next 30 days, higher than 42% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2450244 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N |
Affected products
- Red Hat Red Hat build of Keycloak 26.4
- Red Hat Red Hat build of Keycloak 26.4.14
- Red Hat Red Hat build of Keycloak 26.6.5
Classification
- Weakness
-
- CWE-266 Incorrect Privilege Assignment
References
-
bugzilla.redhat.com
/show_bug.cgi?id=2450244
issue-tracking, exploit, vendor-advisory
-
access.redhat.com
/errata/RHSA-2026:50846
vendor-advisory
-
access.redhat.com
/errata/RHSA-2026:50847
vendor-advisory
-
access.redhat.com
/errata/RHSA-2026:50848
vendor-advisory
-
access.redhat.com
/security/cve/CVE-2026-4629
vdb-entry, vendor-advisory
Sources
- CVE List CVE-2026-4629
- NVD CVE-2026-4629
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.