GitHub Advisoryadvisory · Maven
GHSA-fm6w-rrp3-2x4w Keycloak Affected by Broken Access Control Vulnerability in the UserManagedPermissionService
MEDIUM
Official page ↗
- Aliases
- CVE-2025-14778
- Ecosystem
- Maven
- Packages
- org.keycloak:keycloak-services
- Severity
- Moderate
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
- Weaknesses
- CWE-266
- Reviewed
- 2026-02-10
Affected packages
• Maven org.keycloak:keycloak-services: < 26.2.13 → fixed in 26.2.13
• Maven org.keycloak:keycloak-services: >= 26.5.0, < 26.5.3 → fixed in 26.5.3
• Maven org.keycloak:keycloak-services: >= 26.3.0, < 26.4.9 → fixed in 26.4.9
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.
Related
Alias · CVE (1)
- CVE-2025-14778 A flaw was found in Keycloak. vulnerability
Weakness · CWE (1)
- CWE-266 Incorrect Privilege Assignment weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2025-14778 advisory
- https://github.com/keycloak/keycloak/issues/46147 web
- https://github.com/keycloak/keycloak/pull/46154 web
- https://access.redhat.com/errata/RHSA-2026:2363 web
- https://access.redhat.com/errata/RHSA-2026:2364 web
- https://access.redhat.com/errata/RHSA-2026:2365 web
- https://access.redhat.com/errata/RHSA-2026:2366 web
- https://access.redhat.com/security/cve/CVE-2025-14778 web
- https://bugzilla.redhat.com/show_bug.cgi?id=2422600 web
- https://github.com/keycloak/keycloak package