CVE-2026-4629: A flaw was found in Keycloak
CVE-2026-4629 is a medium-severity flaw (CVSS 6.5) affecting build of keycloak. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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.
Why this priority
- Public exploit reference
- On your watchlist
A fixed release or distro patch exists.
Risk facts
| CVSS score | 6.5 (Medium) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | High |
| User interaction | None |
| EPSS exploit chance | 0.5% (top 59%) |
| CISA exploited list | No |
| Weakness | CWE-266 |
| Published | 2026-06-30 |
| Last modified | 2026-10-22 |
Last updated 2026-10-22 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Exact fixes by distribution
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2026-4629?
build of keycloak: mitigate or apply the listed mitigation. Exact commands for each OS are on this page.
Is CVE-2026-4629 being exploited?
CVE-2026-4629 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2026-4629 affect?
CVE-2026-4629 affects build of keycloak. Severity is medium (CVSS 6.5). 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 a
How urgent is CVE-2026-4629?
Priority 43/100. Public exploit reference; On your watchlist
Software pages
Related CVEs
- CVE-2026-4633 LOW 3.7 MITIGATE A flaw was found in Keycloak
- CVE-2026-4628 MEDIUM 4.3 MITIGATE A flaw was found in Keycloak
- CVE-2026-37980 MEDIUM 6.9 MITIGATE A flaw was found in Keycloak, specifically in the organization selection login page