CVE-2025-14777
JSON

6.0medium

Keycloak: keycloak idor in realm client creating/deleting

Severity
6.0medium CVSS:3.1 by redhat
Exploit likelihood
0.37% (higher than 32% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
redhat

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.

Affected

Product or packageVersionsReported by
rhbk/keycloak-operator-bundleNot specified
Not affected: from 26.4.11-1 before *
CVE List
rhbk/keycloak-rhel9Not specified
Not affected: from 26.4-14 before *
CVE List
rhbk/keycloak-rhel9-operatorNot specified
Not affected: from 26.4-14 before *
CVE List

Classification

CWE-289

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

Se encontró un fallo en Keycloak. Existe una vulnerabilidad IDOR (control de acceso roto) en los endpoints de la API de administración para la gestión de recursos de autorización, específicamente en ResourceSetService y PermissionTicketService. El sistema verifica la autorización contra el ID del resourceServer (cliente) proporcionado en la solicitud de la API, pero las operaciones de búsqueda y modificación de la base de datos del backend (findById, delete) solo utilizan el resourceId. Esta discrepancia permite a un atacante autenticado con permisos de administrador de grano fino para un cliente (p. ej., Cliente A) eliminar o actualizar recursos pertenecientes a otro cliente (Cliente B) dentro del mismo reino al proporcionar un ID de recurso válido.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-14777 changed 2026-08-04CVE Terms of Use
NVDCVE-2025-14777 changed 2026-10-07Public domain