keycloak-services is vulnerable to Authentication Bypass
81
CVE Score
High
Authentication Bypass
A flaw was found in the Organization identity-first login flow of the Keycloak authentication server. Keycloak is an open-source identity and access management solution used to secure modern applications and services. The issue occurs when an attacker who belongs to multiple organizations initiates a login and then switches to a registration or password reset path. During this process, a flag indicating a successful login is not properly cleared when the user is removed from the session. An attacker can then provide a victim's username, and the system incorrectly treats the stale flag as proof of the victim's identity. This allows the attacker to bypass authentication and gain full access to the victim's account and connected applications.
Upgrade org.keycloak:keycloak-services to the patched version. The fix binds SSO_AUTH to the authenticated user ID and rejects mismatched or missing users.
You are affected if you use a vulnerable version of org.keycloak:keycloak-services and you use organization identity-first login with users belonging to multiple organizations and allow registration or password-reset paths.
26.8.0 - 26.8.1
Fixed in 26.8.2keycloak-services is vulnerable to Authentication Bypass in versions 26.8.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.