Keycloak: keycloak idor in realm client creating/deleting (Red Hat Red Hat build of Keycloak 26.4)

CVE-2025-14777
MEDIUM 6.0

At a glance

Source
NVD
EPSS
EPSS 0.34 % · percentile 28 ()
State
PUBLISHED
Published
Updated
Assigner
redhat
NVD status
Deferred

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.

Weaknesses (CWE)

  • CWE-289 — Authentication Bypass by Alternate Name

References

Scores

VersionScoreVectorScored by
CVSS 3.1MEDIUM 6.0CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:H/A:Lredhat
CVSS 3.1MEDIUM 6.0CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:H/A:LNVD · secalert@redhat.com (Secondary)

European references

Affected products

ProductVersions
Red Hat · Red Hat build of Keycloak 26.4unaffected 26.4.11-1 < *
Red Hat · Red Hat build of Keycloak 26.4unaffected 26.4-14 < *
Red Hat · Red Hat build of Keycloak 26.4unaffected 26.4-14 < *
Red Hat · Red Hat build of Keycloak 26.4.11

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD