GitHub Advisory Database
GHSA-7xf9-4jfc-wgm4
Keycloak: manage-clients permission escalates to full realm admin access
Details
A flaw was found in Keycloak. An administrator with manage-clients permission can exploit a misconfiguration where this permission is equivalent to manage-permissions. This allows the administrator to escalate privileges and gain control over roles, users, or other administrative functions within the realm. This privilege escalation can occur when admin permissions are enabled at the realm level.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Maven | org.keycloak:keycloak-services | All versions before 26.5.6 (fixed in 26.5.6) |
References
- https://nvd.nist.gov/vuln/detail/CVE-2026-3121
- https://github.com/keycloak/keycloak/issues/46719
- https://github.com/keycloak/keycloak/commit/79ab3110a257fb8d6f1a664c916687128094ed01
- https://access.redhat.com/errata/RHSA-2026:6477
- https://access.redhat.com/errata/RHSA-2026:6478
- https://access.redhat.com/security/cve/CVE-2026-3121
- https://bugzilla.redhat.com/show_bug.cgi?id=2442277
- https://github.com/keycloak/keycloak