CVE-2026-15572 Keycloak-services: keycloak-services: dcr protocol mapper type-swap policy bypass allows privilege escalation

High 8.8 Published Updated

An attacker with client registration privileges can bypass protocol mapper restrictions to gain full administrative access to the Keycloak realm.

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-15572?

CVE-2026-15572 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 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.

Weakness: CWE-843

Which versions are affected by CVE-2026-15572?

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

PackageAffectedFixed in
keycloak BitnamiFrom 26.4.026.4.14, 26.6.5

Products include Redhat Build of Keycloak.

How do I fix CVE-2026-15572?

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

Is CVE-2026-15572 being exploited?

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

All Redhat Build of Keycloak vulnerabilities

Sources

Also known as BIT-keycloak-2026-15572, GHSA-cj2r-7gqh-wx4f.

Is CVE-2026-15572 in your software?

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

Check your SBOMs for free