CVE-2025-7784
mediumpriority · track · 0EPSS 0.005 · 39 %ileDEEUNLUSEPSS · scored 2026-10-27
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (12)
Products and version ranges known to be affected.
- Red Hat JBoss Enterprise Application Platform 8≤ vers:rpm/8ncsc_nlNLcpe:/a:redhat:jboss_enterprise_application_platform:8
- Red Hat JBoss Enterprise Application Platform Expansion Pack≤ vers:rpm/unknownncsc_nlNLcpe:/a:redhat:jbosseapxp
advisories (3)
Vendor and ecosystem advisories describing this.
- NCSC-2025-0232Kwetsbaarheid verholpen in KeycloakNL2025-07-18csaf · ncsc_nlNL
Red Hat heeft een kwetsbaarheid verholpen in Keycloak.
- WID-SEC-W-2025-1607Keycloak: Schwachstelle ermöglicht PrivilegieneskalationDeutsch2025-07-20csaf · cert_bundDE
Ein entfernter, authentisierter Angreifer kann eine Schwachstelle in Keycloak ausnutzen, um seine Privilegien zu erhöhen.
- GHSA-27gp-8389-hm4wKeycloak Privilege Escalation Vulnerability in Admin Console (FGAPv2 Enabled)2025-07-30ghsa · osvUS
A Privilege Escalation vulnerability was identified in the Keycloak identity and access management solution, specifically when FGAPv2 is enabled in version 26.2.x. The flaw lies in the admin permission enforcement logic, where a user with manage-users privileges can self-assign realm-admin rights. The escalation occurs due to missing privilege boundary checks in role mapping operations via the admin REST interface. A malicious administrator with limited permissions can exploit this by editing their own user roles, gaining unauthorized full access to realm configuration and user data. This issue has been fixed in versions 26.2.6, and 26.3.0.
also known as (3)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (14)
External citations — patches, advisories, analysis.
- https://access.redhat.com/security/cve/CVE-2025-7784cnnvd
- https://bugzilla.redhat.com/show_bug.cgi?id=2381861cnnvd
- https://vigilance.fr/vulnerability/Keycloak-privilege-escalation-via-Admin-Console-47759cnnvd
- https://www.keycloak.org/downloadsPatchcnnvd
- https://access.redhat.com/errata/RHSA-2025:12015enisa_euvd
- https://access.redhat.com/errata/RHSA-2025:12016enisa_euvd
- https://access.redhat.com/security/cve/CVE-2025-7784enisa_euvd
- https://bugzilla.redhat.com/show_bug.cgi?id=2381861enisa_euvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan