CVE-2025-7784

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

State
Published
Severity
6.5 Medium
Published
Jul 18, 2025
Updated
May 6, 2026
Reserved
Jul 18, 2025

Read the record on cve.org

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.

Scores

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

Weaknesses

  • CWE-269 Improper Privilege Management

Affected Products

ProductVersions
keycloak
  • before 26.2.6Affected
Red Hat build of Keycloak 26Red Hat
    Red Hat build of Keycloak 26.2Red Hat
    • 26.2.6-1 and laterNot affected
    Red Hat build of Keycloak 26.2Red Hat
    • 26.2-6 and laterNot affected
    Red Hat build of Keycloak 26.2Red Hat
    • 26.2-6 and laterNot affected
    Red Hat JBoss Enterprise Application Platform 8Red Hat
      Red Hat JBoss Enterprise Application Platform Expansion PackRed Hat
        Red Hat Single Sign-On 7Red 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.