CVE-2025-14777 Keycloak: keycloak idor in realm client creating/deleting
Authenticated attackers with limited admin rights can delete or modify resources of other clients in the same realm due to improper access control checks.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2025-14777?
CVE-2025-14777 is a medium-severity missing authorization vulnerability in Red Hat build of Keycloak 26.4, published on 16 Dec 2025. An attacker needs administrator access to exploit it, with no action from the victim.
Official description
A flaw was found in Keycloak. An IDOR (Broken Access Control) vulnerability exists in the admin API endpoints for authorization resource management, specifically in ResourceSetService and PermissionTicketService. The system checks authorization against the resourceServer (client) ID provided in the API request, but the backend database lookup and modification operations (findById, delete) only use the resourceId. This mismatch allows an authenticated attacker with fine-grained admin permissions for one client (e.g., Client A) to delete or update resources belonging to another client (Client B) within the same realm by supplying a valid resource ID.
Weakness: CWE-289
Which versions are affected by CVE-2025-14777?
How do I fix CVE-2025-14777?
No fix has been published for CVE-2025-14777 yet. Limit exposure of the affected software until one is available.
Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.
Is CVE-2025-14777 being exploited?
There is no known exploitation of CVE-2025-14777 in the wild and no public exploit code.
Sources
Also known as GHSA-4cj5-g32w-86fv.