keycloak-services is vulnerable to Privilege Escalation
71
CVE Score
High
Privilege Escalation
A flaw was found in the protocol mapper and identity resolution components of Keycloak. The issue occurs when a client manager uses hardcoded-claim mappers to override identity claims in sessionless service-account tokens. Because these tokens lack a session ID, Keycloak may incorrectly resolve the token bearer as a different, highly privileged user based on the manipulated claims. This can allow an attacker with limited client management permissions to impersonate a realm administrator and gain full control over the realm.
Upgrade org.keycloak:keycloak-services to the patched version. The fix restricts protocol-mapper changes to realm administrators by default and enforces a realm-controlled allowlist for delegated client administrators.
You are affected if you use a vulnerable version of org.keycloak:keycloak-services and a delegated client manager can configure hardcoded claim mappers on a service-account client issuing sessionless tokens.
1.2.0.Final - 26.4.16
Fixed in 26.4.1726.5.0 - 26.6.7
Fixed in 26.6.826.7.0 - 26.8.1
Fixed in 26.8.2keycloak-services is vulnerable to Privilege Escalation in versions 1.2.0.Final - 26.4.16, 26.5.0 - 26.6.7 and 26.7.0 - 26.8.1.
Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.
No credit card required | Scan results in 32 seconds.
I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.