← CVE Intelligence

CVE-2026-15572

Keycloak-services: keycloak-services: dcr protocol mapper type-swap policy bypass allows privilege escalation PUBLISHED

Description (CNA)

A flaw was found in Keycloak's Dynamic Client Registration (DCR) security policy management. The "Allowed Protocol Mapper Types" policy, which restricts which types of data mappers a client can use, fails to re-validate the mapper type during a client update if the mapper's configuration remains unchanged. An attacker with client registration privileges can exploit this by first registering an allowed mapper type with a malicious configuration and then swapping it for a restricted, high-privilege mapper type (such as one that hardcodes administrative roles). This allows the attacker to gain full administrative access to the Keycloak realm.

Affected (CNA)

Vendor / productVersions
Red Hat / Red Hat build of Keycloak 26.4unaffected 26.4.14-1 before *
Red Hat / Red Hat build of Keycloak 26.4unaffected 26.4-22 before *
Red Hat / Red Hat build of Keycloak 26.4unaffected 26.4-22 before *
Red Hat / Red Hat build of Keycloak 26.4.14unaffected
Red Hat / Red Hat build of Keycloak 26.6unaffected 26.6.5-1 before *
Red Hat / Red Hat build of Keycloak 26.6unaffected 26.6-11 before *
Red Hat / Red Hat build of Keycloak 26.6unaffected 26.6-11 before *
Red Hat / Red Hat build of Keycloak 26.6.5unaffected

CWE

CWE-843

References

ADP enrichment

CISA-ADP

No English description supplied.

No references supplied.