Skip to content
OpenAdvisories
Medium · 6.5 CVE-2025-7784 EUVD-2025-21879GHSA-27gp-8389-hm4w

Org.keycloak/keycloak-services: privilege escalation in keycloak admin console (fgapv2 enabled)

Published Jul 18, 2025 · Updated May 6, 2026 · Assigned by redhat

Description

A flaw was found in the Keycloak identity and access management system when Fine-Grained Admin Permissions(FGAPv2) are enabled. An administrative user with the manage-users role can escalate their privileges to realm-admin due to improper privilege enforcement. This vulnerability allows unauthorized elevation of access rights, compromising the intended separation of administrative duties and posing a security risk to the realm.

Affected products

VendorProductAffectedFixed
— keycloak < 26.2.6 26.2.6
Red Hat Red Hat build of Keycloak 26 — —
Red Hat Red Hat build of Keycloak 26.2 — —
Red Hat Red Hat JBoss Enterprise Application Platform 8 — —
Red Hat Red Hat JBoss Enterprise Application Platform Expansion Pack — —
Red Hat Red Hat Single Sign-On 7 — —

Affected packages

EcosystemPackageAffectedFixedRecord
Maven org.keycloak:keycloak-services >= 26.2.0, < 26.2.6 26.2.6 GHSA-27gp-8389-hm4w

Advisories 2

References