8.8

CVE-2026-15572

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

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.
Mögliche Gegenmaßnahme
Keycloak Server: Install latest version
Daten sind bereitgestellt durch National Vulnerability Database (NVD)
RedhatBuild Of Keycloak Version >= 26.4 < 26.4.14
RedhatBuild Of Keycloak Version >= 26.6 < 26.6.5
VulnDex Vulnerability Enrichment
Diese Information steht angemeldeten Benutzern zur Verfügung. Login Login
Weitere Schwachstelleninformationen
SystemKeycloak
Produkt Keycloak Server
Version < 26.4.14
Version < 26.6.5
Version < 26.7.1
Zu dieser CVE wurde keine Warnung gefunden.
EPSS Metriken
Typ Quelle Score Percentile
EPSS FIRST.org 0.35% 0.277
CVSS Metriken
Quelle Base Score Exploit Score Impact Score Vector String
RedHat 8.8 2.8 5.9
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CWE-843 Access of Resource Using Incompatible Type ('Type Confusion')

The product 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.

https://access.redhat.com/security/cve/CVE-2026-15572
Vendor Advisory
https://bugzilla.redhat.com/show_bug.cgi?id=2499592
Vendor Advisory
Issue Tracking
https://access.redhat.com/errata/RHSA-2026:50846
Vendor Advisory
https://access.redhat.com/errata/RHSA-2026:50847
Vendor Advisory
https://access.redhat.com/errata/RHSA-2026:50848
Vendor Advisory
https://access.redhat.com/errata/RHSA-2026:50849
Vendor Advisory
https://github.com/keycloak/keycloak/security/advisories/GHSA-95rm-h7g9-rhcf
Third Party Advisory