Skip to content
OpenAdvisories
Medium · 5.4 CVE-2025-14778 EUVD-2025-207164GHSA-fm6w-rrp3-2x4w

Keycloak: incorrect ownership checks in /uma-policy/

Published Feb 9, 2026 · Updated Feb 10, 2026 · Assigned by redhat

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

VendorProductAffectedFixed
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

ReleasePackageFixed inAdvisory
Wolfi rolling keycloak-26.4-iamguarded-compat No fix yet —

Affected packages

EcosystemPackageAffectedFixedRecord
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

References