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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Red Hat | Red Hat build of Keycloak 26.2 | — | — |
| Red Hat | Red Hat build of Keycloak 26.2.13 | — | — |
| Red Hat | Red Hat build of Keycloak 26.4 | — | — |
| Red Hat | Red Hat build of Keycloak 26.4.9 | — | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Wolfi
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Wolfi rolling | keycloak-26.4-iamguarded-compat | No fix yet | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Maven | org.keycloak:keycloak-services | < 26.2.13 | 26.2.13 | GHSA-fm6w-rrp3-2x4w |
| Maven | org.keycloak:keycloak-services | >= 26.5.0, < 26.5.3 | 26.5.3 | GHSA-fm6w-rrp3-2x4w |
| Maven | org.keycloak:keycloak-services | >= 26.3.0, < 26.4.9 | 26.4.9 | GHSA-fm6w-rrp3-2x4w |
Advisories 2
- WID-SEC-2026-0356 Keycloak: Mehrere Schwachstellen BSI CERT-Bund (WID) · Jul 15, 2026
- WID-SEC-2026-0347 Red Hat Build of Keycloak: Mehrere Schwachstellen BSI CERT-Bund (WID) · May 11, 2026
References
- RHSA-2026:2363 vendor-advisory
- RHSA-2026:2364 vendor-advisory
- RHSA-2026:2365 vendor-advisory
- RHSA-2026:2366 vendor-advisory
- https://access.redhat.com/security/cve/CVE-2025-14778 vdb-entry
- RHBZ#2422600 issue-tracking