Back to overview

CVE-2026-4629

MEDIUM
6.5
CVSS 3.1
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.

Metadata

CVE ID
CVE-2026-4629
State
PUBLISHED
Assigner
redhat
Reserved
2026-03-23 08:02 UTC
Published
2026-06-30 12:00 UTC
Last updated
2026-06-30 12:00 UTC
Primary CWE
CWE-266
Incorrect Privilege Assignment
Vendor / Product
Red Hat / Red Hat Build of Keycloak
Sources
cve.org  ·  NVD

Severity & Metrics

6.5 MEDIUM CVSS 3.1
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N
Affected products (1)
VendorProductPlatformVersions
Red Hat Red Hat Build of Keycloak
Weakness (CWE)
CWESourceDescription
CWE-266 cna Incorrect Privilege Assignment
CVSS scores (1)
ScoreSeverityVersionSourceVector
6.5 MEDIUM 3.1 cna CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N
Back to overview