{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-15572","id":"CVE-2026-15572","title":"Keycloak-services: keycloak-services: dcr protocol mapper type-swap policy bypass allows privilege escalation","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 all","descriptionLong":"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.","published":"2026-08-05T15:09:23.102Z","updated":"2026-08-10T19:23:37.147Z","reserved":"2026-07-13T07:36:49.779Z","status":"Analyzed","rejected":false,"assigner":"redhat","metric":{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"redhat"},"metrics":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"redhat"},{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"redhat.com"}],"rating":"high","products":["Red Hat build of Keycloak 26.4","Red Hat build of Keycloak 26.4.14","Red Hat build of Keycloak 26.6","Red Hat build of Keycloak 26.6.5"],"affectedProducts":[{"vendor":"Red Hat","product":"Red Hat build of Keycloak 26.4","defaultStatus":"affected","versions":[{"version":"26.4.14-1","lessThan":"*","versionType":"rpm","status":"unaffected"}],"platforms":[]},{"vendor":"Red Hat","product":"Red Hat build of Keycloak 26.4","defaultStatus":"affected","versions":[{"version":"26.4-22","lessThan":"*","versionType":"rpm","status":"unaffected"}],"platforms":[]},{"vendor":"Red Hat","product":"Red Hat build of Keycloak 26.4","defaultStatus":"affected","versions":[{"version":"26.4-22","lessThan":"*","versionType":"rpm","status":"unaffected"}],"platforms":[]},{"vendor":"Red Hat","product":"Red Hat build of Keycloak 26.4.14","defaultStatus":"unaffected","versions":[],"platforms":[]},{"vendor":"Red Hat","product":"Red Hat build of Keycloak 26.6","defaultStatus":"affected","versions":[{"version":"26.6.5-1","lessThan":"*","versionType":"rpm","status":"unaffected"}],"platforms":[]},{"vendor":"Red Hat","product":"Red Hat build of Keycloak 26.6","defaultStatus":"affected","versions":[{"version":"26.6-11","lessThan":"*","versionType":"rpm","status":"unaffected"}],"platforms":[]},{"vendor":"Red Hat","product":"Red Hat build of Keycloak 26.6","defaultStatus":"affected","versions":[{"version":"26.6-11","lessThan":"*","versionType":"rpm","status":"unaffected"}],"platforms":[]},{"vendor":"Red Hat","product":"Red Hat build of Keycloak 26.6.5","defaultStatus":"unaffected","versions":[],"platforms":[]}],"packages":[],"cwes":["CWE-843"],"aliases":[],"references":[{"url":"https://access.redhat.com/errata/RHSA-2026:50846","tags":["vendor-advisory","x_refsource_REDHAT","Vendor Advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2026:50847","tags":["vendor-advisory","x_refsource_REDHAT","Vendor Advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2026:50848","tags":["vendor-advisory","x_refsource_REDHAT","Vendor Advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2026:50849","tags":["vendor-advisory","x_refsource_REDHAT","Vendor Advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2026-15572","tags":["vdb-entry","x_refsource_REDHAT","Vendor Advisory"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2499592","tags":["issue-tracking","x_refsource_REDHAT","Issue Tracking","Vendor Advisory"]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total"},"epss":0.00652,"epssPercentile":0.5219,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-15572","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-15572","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-15572","ok":false,"note":"no open-source package data"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-15572","ok":true,"note":"scored 2026-11-20"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}