Keycloak: incorrect ownership checks in /uma-policy/ (Red Hat Red Hat build of Keycloak 26.2)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.32 % · percentile 25 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- redhat
- NVD status
- Deferred
Description
A flaw was found in Keycloak. A significant Broken Access Control vulnerability exists in the UserManagedPermissionService (UMA Protection API). When updating or deleting a UMA policy associated with multiple resources, the authorization check only verifies the caller's ownership against the first resource in the policy's list. This allows a user (Owner A) who owns one resource (RA) to update a shared policy and modify authorization rules for other resources (e.g., RB) in that same policy, even if those other resources are owned by a different user (Owner B). This constitutes a horizontal privilege escalation.
Weaknesses (CWE)
- CWE-266 — Incorrect Privilege Assignment
References
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.1 | MEDIUM 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N | redhat |
| CVSS 3.1 | MEDIUM 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N | NVD · secalert@redhat.com (Secondary) |
Advisories
- GHSA-fm6w-rrp3-2x4w — Keycloak Affected by Broken Access Control Vulnerability in the UserManagedPermissionService
European references
- ENISA EUVD · EUVD-2025-207164
- GCVE · GCVE-0-2025-14778
CERT-FR advisories
- CERTFR-2026-AVI-0159 — Multiples vulnérabilités dans Keycloak · cert.ssi.gouv.fr
Affected products
| Product | Versions |
|---|---|
| Red Hat · Red Hat build of Keycloak 26.2 | unaffected 26.2.13-1 < * |
| Red Hat · Red Hat build of Keycloak 26.2 | unaffected 26.2-15 < * |
| Red Hat · Red Hat build of Keycloak 26.2 | unaffected 26.2-15 < * |
| Red Hat · Red Hat build of Keycloak 26.2.13 | |
| Red Hat · Red Hat build of Keycloak 26.4 | unaffected 26.4.9-1 < * |
| Red Hat · Red Hat build of Keycloak 26.4 | unaffected 26.4-11 < * |
| Red Hat · Red Hat build of Keycloak 26.4 | unaffected 26.4-10 < * |
| Red Hat · Red Hat build of Keycloak 26.4.9 |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| CERT-FR (ANSSI) | Licence Ouverte / Etalab 2.0 |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |