GHSA-fm6w-rrp3-2x4w

Keycloak Affected by Broken Access Control Vulnerability in the UserManagedPermissionService

At a glance

Published
Updated
CVE
CVE-2025-14778
CVSS_V3
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N

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 packages

PackageVersions
Maven · org.keycloak:keycloak-servicesintroduced 0, fixed 26.2.13
Maven · org.keycloak:keycloak-servicesintroduced 26.5.0, fixed 26.5.3
Maven · org.keycloak:keycloak-servicesintroduced 26.3.0, fixed 26.4.9

References

Sources

SourceLicence
OSV.devCC-BY 4.0 — GitHub Advisory Database