CVE-2026-16102

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

HIGH 8.1

At a glance

Source
NVD
EPSS
EPSS 0.46 % · percentile 40 ()
State
PUBLISHED
Published
Updated
Assigner
redhat
NVD status
Modified

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.

Weaknesses (CWE)

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

References

Scores

VersionScoreVectorScored by
CVSS 3.1HIGH 8.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:Nredhat
CVSS 3.1HIGH 8.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:NNVD · secalert@redhat.com (Secondary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Red Hat · Red Hat build of Keycloak 26.4unaffected 26.4.14-1 < *
Red Hat · Red Hat build of Keycloak 26.4unaffected 26.4-22 < *
Red Hat · Red Hat build of Keycloak 26.4unaffected 26.4-22 < *
Red Hat · Red Hat build of Keycloak 26.4.14
Red Hat · Red Hat build of Keycloak 26.4.14
Red Hat · Red Hat build of Keycloak 26.6unaffected 26.6.5-1 < *
Red Hat · Red Hat build of Keycloak 26.6unaffected 26.6-11 < *
Red Hat · Red Hat build of Keycloak 26.6unaffected 26.6-11 < *
Red Hat · Red Hat build of Keycloak 26.6.5
Red Hat · Red Hat build of Keycloak 26.6.5
Red Hat · Red Hat build of Keycloak 26.6.5
Red Hat · Red Hat Data Grid 8
Red Hat · Red Hat JBoss Enterprise Application Platform Expansion Pack
Red Hat · Red Hat Single Sign-On 7

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD