CVE-2026-17526 PUBLISHED

Keycloak-services: keycloak-services: privilege escalation via impersonation role allows takeover of realm administrator accounts

Assigner: redhat
Reserved: 27.07.2026 Published: 16.09.2026 Updated: 16.09.2026

Keycloak is an open-source identity and access management solution. A vulnerability was discovered where a user with the impersonation role can impersonate a realm administrator. This allows the attacker to gain full administrative control over the realm, including the ability to manage users, clients, and roles.

Metrics

CVSS Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
CVSS Score: 7.2

Product Status

Vendor Red Hat
Product Red Hat build of Keycloak 26.4
Versions Default: affected
  • unaffected from 26.4.16-2 to * (excl.)
Vendor Red Hat
Product Red Hat build of Keycloak 26.4
Versions Default: affected
  • unaffected from 26.4-26 to * (excl.)
Vendor Red Hat
Product Red Hat build of Keycloak 26.4
Versions Default: affected
  • unaffected from 26.4-26 to * (excl.)
Vendor Red Hat
Product Red Hat build of Keycloak 26.4.16
Versions Default: unaffected
Vendor Red Hat
Product Red Hat build of Keycloak 26.4.16
Versions Default: unaffected
Vendor Red Hat
Product Red Hat build of Keycloak 26.6
Versions Default: affected
  • unaffected from 26.6.7-3 to * (excl.)
Vendor Red Hat
Product Red Hat build of Keycloak 26.6
Versions Default: affected
  • unaffected from 26.6-20 to * (excl.)
Vendor Red Hat
Product Red Hat build of Keycloak 26.6
Versions Default: affected
  • unaffected from 26.6-20 to * (excl.)
Vendor Red Hat
Product Red Hat build of Keycloak 26.6.7
Versions Default: unaffected
Vendor Red Hat
Product Red Hat build of Keycloak 26.6.7
Versions Default: unaffected
Vendor Red Hat
Product Red Hat build of Keycloak 26.6.7
Versions Default: unaffected
Vendor Red Hat
Product Red Hat Data Grid 8
Versions Default: unaffected
Vendor Red Hat
Product Red Hat JBoss Enterprise Application Platform Expansion Pack
Versions Default: unaffected
Vendor Red Hat
Product Red Hat Single Sign-On 7
Versions Default: unaffected

Workarounds

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.

Credits

  • Red Hat would like to thank Orionexe for reporting this issue.

References

Problem Types

  • Missing Authorization CWE