CVE-2026-16102

Keycloak-services: keycloak-services: default dcr policy allows role forgery via user property mappers

State
Published
Severity
8.1 High
Published
Aug 5, 2026
Updated
Aug 31, 2026
Reserved
Jul 17, 2026

Read the record on cve.org

Description

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.

Scores

CVSSScoreVectorSource
3.18.1 HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:Nredhat

Weaknesses

  • CWE-551 Incorrect Behavior Order: Authorization Before Parsing and Canonicalization
  • CWE-284 Improper Access Control

Affected Products

ProductVersions
Red Hat build of Keycloak 26.4Red Hat
  • 26.4.14-1 and laterNot affected
Red Hat build of Keycloak 26.4Red Hat
  • 26.4-22 and laterNot affected
Red Hat build of Keycloak 26.4Red Hat
  • 26.4-22 and laterNot affected
Red Hat build of Keycloak 26.4.14Red Hat
    Red Hat build of Keycloak 26.4.14Red Hat
      Red Hat build of Keycloak 26.6Red Hat
      • 26.6.5-1 and laterNot affected
      Red Hat build of Keycloak 26.6Red Hat
      • 26.6-11 and laterNot affected
      Red Hat build of Keycloak 26.6Red Hat
      • 26.6-11 and laterNot affected
      Red Hat build of Keycloak 26.6.5Red Hat
        Red Hat build of Keycloak 26.6.5Red 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 7Red Hat

                  References

                  Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.