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

High 8.1 Published Updated

Attackers with standard accounts can forge administrative roles via flawed Dynamic Client Registration policies, gaining full realm control.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2026-16102?

CVE-2026-16102 is a high-severity vulnerability in Redhat Build of Keycloak, published on 5 Aug 2026. Any signed-in user can exploit it over the network, with no action from the victim.

Official 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.

Weakness: CWE-284, CWE-551

Which versions are affected by CVE-2026-16102?

1 open source package ship an affected version, including keycloak. It affects 4 products.

PackageAffectedFixed in
keycloak BitnamiFrom 26.4.026.4.14, 26.6.5

Products include Redhat Build of Keycloak, Redhat Data Grid, Redhat Jboss Enterprise Application Platform Expansion Pack, Redhat Single Sign-On.

How do I fix CVE-2026-16102?

Upgrade keycloak to a fixed version for your release line: 26.4.14 or 26.6.5.

Is CVE-2026-16102 being exploited?

There is no known exploitation of CVE-2026-16102 in the wild and no public exploit code.

All Redhat Build of Keycloak vulnerabilities

Sources

Also known as BIT-keycloak-2026-16102, GHSA-6x4h-v8cp-whwh.

Is CVE-2026-16102 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free