Red Hat build of Keycloak 26.4
Keycloak-services: keycloak-services: default dcr policy allows role forgery via user property mappers
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.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
Fixed in 26.4.14-1
Fixed in 26.4-22
Fixed in 26.4-22
Fixed in 26.6.5-1
Fixed in 26.6-11
Fixed in 26.6-11
Mitigation
Upgrade Red Hat build of Keycloak 26.4 to 26.4.14-1 or later.
Upgrade Red Hat build of Keycloak 26.4 to 26.4-22 or later.
Upgrade Red Hat build of Keycloak 26.4 to 26.4-22 or later.
Upgrade Red Hat build of Keycloak 26.6 to 26.6.5-1 or later.
Upgrade Red Hat build of Keycloak 26.6 to 26.6-11 or later.
Upgrade Red Hat build of Keycloak 26.6 to 26.6-11 or later.
Workaround
Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.
References
- Vendor advisory access.redhat.com/errata/RHSA-2026:50846
- Vendor advisory access.redhat.com/errata/RHSA-2026:50847
- Vendor advisory access.redhat.com/errata/RHSA-2026:50848
1 more
- Vendor advisory access.redhat.com/errata/RHSA-2026:50849
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.