CVE-2026-15572 is a vulnerability in Red Hat Build Keycloak
Published on August 5, 2026
Keycloak-services: keycloak-services: dcr protocol mapper type-swap policy bypass allows privilege escalation
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.
Vulnerability Analysis
CVE-2026-15572 is exploitable with network access, and requires small amount of user privileges. This vulnerability is considered to have a low attack complexity. The potential impact of an exploit of this vulnerability is considered to be very high.
Timeline
Reported to Red Hat.
Made public. 30 days later.
Weakness Type
What is an Object Type Confusion Vulnerability?
The program allocates or initializes a resource such as a pointer, object, or variable using one type, but it later accesses that resource using a type that is incompatible with the original type.
CVE-2026-15572 has been classified to as an Object Type Confusion vulnerability or weakness.
Products Associated with CVE-2026-15572
Want to know whenever a new CVE is published for Red Hat Build Keycloak? stack.watch will email you.
Affected Versions
Red Hat build of Keycloak 26.4:- Version 26.4.14-1 and below * is unaffected.
- Version 26.4-22 and below * is unaffected.
- Version 26.4-22 and below * is unaffected.
- Version 26.6.5-1 and below * is unaffected.
- Version 26.6-11 and below * is unaffected.
- Version 26.6-11 and below * is unaffected.