CVE-2025-14778

Keycloak: incorrect ownership checks in /uma-policy/

State
Published
Severity
5.4 Medium
Published
Feb 9, 2026
Updated
Feb 10, 2026
Reserved
Dec 16, 2025

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.15.4 MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:Nredhat

Weaknesses

  • CWE-266 Incorrect Privilege Assignment

Affected Products

ProductVersions
Red Hat build of Keycloak 26.2Red Hat
  • 26.2.13-1 and laterNot affected
Red Hat build of Keycloak 26.2Red Hat
  • 26.2-15 and laterNot affected
Red Hat build of Keycloak 26.2Red Hat
  • 26.2-15 and laterNot affected
Red Hat build of Keycloak 26.2.13Red Hat
    Red Hat build of Keycloak 26.4Red Hat
    • 26.4.9-1 and laterNot affected
    Red Hat build of Keycloak 26.4Red Hat
    • 26.4-11 and laterNot affected
    Red Hat build of Keycloak 26.4Red Hat
    • 26.4-10 and laterNot affected
    Red Hat build of Keycloak 26.4.9Red Hat

      References

      Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.