keycloak-services is vulnerable to Authentication Bypass
68
CVE Score
Medium
Authentication Bypass
A flaw was found in the Client-Initiated Backchannel Authentication (CIBA) implementation of Keycloak. The CIBA endpoint fails to properly validate the sub parameter, allowing it to be stored as an additional request parameter. During the token issuance process, this injected value overwrites the legitimate subject identifier. This allows an attacker to authenticate as themselves but receive security tokens belonging to a different victim user, leading to unauthorized account access.
Upgrade org.keycloak:keycloak-services to the patched version. The fix rejects reserved protocol claim names such as sub from additional CIBA request parameters.
You are affected if you use a vulnerable version of org.keycloak:keycloak-services and you enable CIBA and accept requests from clients that can submit additional form parameters.
15.0.0 - 26.8.1
Fixed in 26.8.2keycloak-services is vulnerable to Authentication Bypass in versions 15.0.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.