Descrizione
A flaw was found in the UserManagedPermissionService of the Keycloak authorization server. The UMA Protection API, which manages user permissions, fails to validate the resourceType field when a user creates a new policy. This allows an attacker to create a policy that applies to resources owned by other users, potentially leading to unauthorized access or modification of sensitive data across the entire realm.
Come correggere
Priorità: Media — correggere nel prossimo ciclo di patch. Motivazione: CVSS 8.1, EPSS 0.4% (percentile 35).
Versioni da aggiornare
- Red Hat Red Hat build of Keycloak 26.4: versione corretta
26.4.17-2(o successiva). - Red Hat Red Hat build of Keycloak 26.4: versione corretta
26.4-29(o successiva). - Red Hat Red Hat build of Keycloak 26.4: versione corretta
26.4-30(o successiva). - Red Hat Red Hat build of Keycloak 26.6: versione corretta
26.6.8-2(o successiva). - Red Hat Red Hat build of Keycloak 26.6: versione corretta
26.6-24(o successiva).
Indicazioni del vendor
Workaround (testo originale del vendor):
Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability. --- CME Mitigation Guidance (2026-11-06) --- Disclaimer: The following mitigation solutions are provided as a courtesy, pending the application of an official patch. This content was generated utilizing AI tools in conjunction with data from https://cmetaxonomy.org. Customers are advised to independently evaluate and test these temporary mitigations within their own infrastructure. The highest-value action is to enforce ownership validation on the resourceType field within UserManagedPermissionService to prevent UMA policies from attaching to resources owned by other users: upgrade to Red Hat build of Keycloak 26.4.17, 26.6.8 (or the fixed Rhbk/Keycloak Rhel/Keycloak Services builds), which validates the resourceType field during policy creation in UserManagedPermissionService to prevent policies from matching resources across different owners during evaluation in DefaultPolicyEvaluator, closing crafted UMA policy creation specifying an arbitrary victim resourceType. Until patched, this is a concern on Keycloak deployments exposing the UMA Protection API where authenticated realm users have permission to create and manage resources, so Restrict authenticated users from creating and managing resources, limit exposure of sensitive resourceType…
Mitigazioni temporanee
Da applicare solo se non è possibile aggiornare subito:
- Restringere l'accesso al componente, applicare il principio del minimo privilegio e controllare i log per operazioni non autorizzate.
Verifica
- Individuare tutti gli asset con il prodotto interessato (inventario, scanner di vulnerabilità, CMDB).
- Confrontare la versione installata con quelle indicate sopra.
- Applicare l'aggiornamento in un ambiente di test, poi in produzione; riavviare i servizi se richiesto.
- Ripetere la scansione per confermare la correzione.
Configurazioni interessate
| Vendor | Prodotto | Versioni vulnerabili | Corretta in |
|---|---|---|---|
| Red Hat | Red Hat build of Keycloak 26.4 | — | 26.4.17-2 |
| Red Hat | Red Hat build of Keycloak 26.4 | — | 26.4-29 |
| Red Hat | Red Hat build of Keycloak 26.4 | — | 26.4-30 |
| Red Hat | Red Hat build of Keycloak 26.6 | — | 26.6.8-2 |
| Red Hat | Red Hat build of Keycloak 26.6 | — | 26.6-24 |
Riferimenti
- Riferimentohttps://access.redhat.com/errata/RHSA-2026:95759
- Riferimentohttps://access.redhat.com/errata/RHSA-2026:95760
- Riferimentohttps://access.redhat.com/errata/RHSA-2026:95761
- Riferimentohttps://access.redhat.com/errata/RHSA-2026:95762
- Riferimentohttps://access.redhat.com/security/cve/CVE-2026-114232
- Riferimentohttps://bugzilla.redhat.com/show_bug.cgi?id=2558074