Keycloak-services: keycloak-services: default dcr policy allows role forgery via user property mappers
18Vexday Risk Score
No sign of exploitation. No public exploitation artifact known so far.
ssvc Trackcvss 8.1
exploitation probability
—
observed exploitation
nono source reports it
A flaw was found in the Dynamic Client Registration (DCR) component of Keycloak, an identity and access management solution. The default DCR policy fails to properly validate the claim path for User Property mappers, allowing them to write values to sensitive internal claim locations. An attacker with a standard user account and a limited Initial Access Token can exploit this to forge administrative roles in their access token. This allows the attacker to take over other clients, steal confidential secrets, and potentially gain full administrative control over the realm.
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
Affected products
Red Hat · Red Hat build of Keycloak 26.4Red Hat · Red Hat build of Keycloak 26.4.14Red Hat · Red Hat build of Keycloak 26.6Red Hat · Red Hat build of Keycloak 26.6.5Red Hat · Red Hat Data Grid 8Red Hat · Red Hat JBoss Enterprise Application Platform Expansion PackRed Hat · Red Hat Single Sign-On 7References
https://access.redhat.com/errata/RHSA-2026:50846https://access.redhat.com/errata/RHSA-2026:50847https://access.redhat.com/errata/RHSA-2026:50848https://access.redhat.com/errata/RHSA-2026:50849https://access.redhat.com/security/cve/CVE-2026-16102https://bugzilla.redhat.com/show_bug.cgi?id=2501735