CVE-2026-4629

Keycloak: keycloak: privilege escalation through hardcoded role mapper injection

MEDIUM
6.5
CVSS Score
Published: June 30, 2026 at 12:00 PM UTC
Updated: October 25, 2026 at 09:10 PM UTC
1 product affected across 1 vendorBuild of Keycloak

Using Red Hat Build of Keycloak by Red Hat?

Get instant alerts when new vulnerabilities affect Red Hat Build of Keycloak - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM6.5
Exploit prediction
EPSS 0.5%
SSVC
No known exploit

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

All versions26.4
Vendor states this is fixed in 26.4-22 (unaffected)
Vendor states this is fixed in 26.4.14 (unaffected)
Vendor states this is fixed in 26.4.14-1 (unaffected)

References (5)

VDB Entryx_refsource_REDHATVendor Advisory
Source: cverecord
https://access.redhat.com/security/cve/CVE-2026-4629
Issue Trackingx_refsource_REDHATExploitVendor Advisory
Source: cverecord
https://bugzilla.redhat.com/show_bug.cgi?id=2450244
Vendor Advisoryx_refsource_REDHAT
Source: cverecord
https://access.redhat.com/errata/RHSA-2026:50846
Vendor Advisoryx_refsource_REDHAT
Source: cverecord
https://access.redhat.com/errata/RHSA-2026:50847
Vendor Advisoryx_refsource_REDHAT
Source: cverecord
https://access.redhat.com/errata/RHSA-2026:50848

SSVC — Action Prioritization

SSVCNo known exploitNot automatableTotal impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

6.5MEDIUMredhat
Attack Vector
NETWORK
Complexity
LOW
Privileges
HIGH
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
NONE
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-266

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card