CVE-2026-4629CWE-266

CVE-2026-4629

Medium · published June 30, 2026

CVSS v3.1
6.5
EPSS
0%
Percentile
40.9
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
6.5 · MEDIUM
Vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N
CVSS v4.0
Not supplied
EPSS
0.00486 · 40.9th percentile
Weakness
CWE-266 · Incorrect Privilege Assignment
Published
2026-06-30T17:18Z
Affected products (1)
ProductVersionsFixed in
redhat/build_of_keycloakall versions—
References (5)
EPSS history
Timeline
  • 30 JUN 12:00Z
    Keycloak: keycloak: privilege escalation through hardcoded role mapper injection
    cvelistv5