Org.keycloak/keycloak-services: privilege escalation in keycloak admin console (fgapv2 enabled)
Key facts
- Attack vector
- Network
- Privileges required
- High
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Privilege escalation
- Confidentiality · integrity · availability
- High · High · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-269.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | keycloak | before 26.2.6 | 26.2.6 | Patch available | CNA |
| Red Hat | Red Hat build of Keycloak 26 | — | — | Not affected | CNA |
| Red Hat | Red Hat build of Keycloak 26.2 | — | 26.2.6-1 | Patch available | CNA |
| Red Hat | Red Hat build of Keycloak 26.2 | — | 26.2-6 | Patch available | CNA |
| Red Hat | Red Hat build of Keycloak 26.2 | — | 26.2-6 | Patch available | CNA |
| Red Hat | Red Hat JBoss Enterprise Application Platform 8 | — | — | Not affected | CNA |
| Red Hat | Red Hat JBoss Enterprise Application Platform Expansion Pack | — | — | Not affected | CNA |
| Red Hat | Red Hat Single Sign-On 7 | — | — | Not affected | CNA |
| — | org.keycloak:keycloak-services (Maven) | 26.2.0 to before 26.2.6 | 26.2.6 | Patch available | GHSA-27gp-8389-hm4w |
- keycloak Vendor— Affected before 26.2.6 Fixed in 26.2.6 Patch available CNA
- Red Hat build of Keycloak 26 VendorRed Hat Affected — Fixed in — Not affected CNA
- Red Hat build of Keycloak 26.2 VendorRed Hat Affected — Fixed in 26.2.6-1 Patch available CNA
- Red Hat build of Keycloak 26.2 VendorRed Hat Affected — Fixed in 26.2-6 Patch available CNA
- Red Hat build of Keycloak 26.2 VendorRed Hat Affected — Fixed in 26.2-6 Patch available CNA
- Red Hat JBoss Enterprise Application Platform 8 VendorRed Hat Affected — Fixed in — Not affected CNA
- Red Hat JBoss Enterprise Application Platform Expansion Pack VendorRed Hat Affected — Fixed in — Not affected CNA
- Red Hat Single Sign-On 7 VendorRed Hat Affected — Fixed in — Not affected CNA
- org.keycloak:keycloak-services (Maven) Vendor— Affected 26.2.0 to before 26.2.6 Fixed in 26.2.6 Patch available GHSA-27gp-8389-hm4w
Remediation
- Fix · CNA keycloak Fixed in 26.2.6
- Fix · GHSA-27gp-8389-hm4w org.keycloak:keycloak-services (Maven) Fixed in 26.2.6 Advisory →
Red Hat 2 advisories
- RHSA-2025:12016 Released 2025-07-29 · Red Hat rating ModerateRed Hat build of Keycloak 26.2.6 Images Security Update
- Red Hat build of Keycloak 26.2 rhbk/keycloak-operator-bundle, rhbk/keycloak-rhel9, rhbk/keycloak-rhel9-operator
- RHSA-2025:12015 Released 2025-07-29 · Red Hat rating ModerateRed Hat build of Keycloak 26.2.6 Security Update
- Red Hat build of Keycloak 26
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat build of Keycloak 26 | Fixed | RHSA-2025:12015 |
| Red Hat build of Keycloak 26.2 | Fixed | RHSA-2025:12016 |
Not affected: 3 products
- Red Hat JBoss Enterprise Application Platform 8
- Red Hat JBoss Enterprise Application Platform Expansion Pack
- Red Hat Single Sign-On 7
Timeline
- 2026-10-02 Threatist record created from CVE-2025-7784
- 2026-10-03 Alias added: GHSA-27gp-8389-hm4w
References
Advisory 4
More Red Hat Build Of Keycloak vulnerabilities
- TI-2026-02223 Keycloak: keycloak: unauthorized authentication via disabled saml identity provider CVSS 3.1HIGH 8.1
- TI-2024-01049 Keycloak: path transversal in redirection validation CVSS 3.1HIGH 8.1
- TI-2026-13740 Keycloak-services: keycloak-services: saml idp-initiated broker login bypasses link-only restriction CVSS 3.1CRITICAL 9.8
- TI-2026-13741 Keycloak-services: keycloak-services: saml broker metadata import disables response signature validation CVSS 3.1CRITICAL 9.1
- TI-2026-13106 Keycloak-services: keycloak-services: dcr protocol mapper type-swap policy bypass allows privilege escalation CVSS 3.1HIGH 8.8
- TI-2026-02631 Authentication bypass in Red Hat build of Keycloak 26.2 CVSS 3.1HIGH 8.8
Sources
- CVE-2025-7784 · CVE Program
- CVE-2025-7784 · NVD
- FIRST EPSS
- GHSA-27gp-8389-hm4w · GitHub Advisory Database · CC BY 4.0
- CVE-2025-7784 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences