keycloak-services is vulnerable to Authentication Bypass
91
CVE Score
Critical
Authentication Bypass
A flaw was found in the SAML HTTP-Redirect binding implementation of Keycloak. The issue occurs because the server processes percent-encoded parameter names (like %53AMLResponse) while the signature verification logic only checks literal parameter names. An attacker can use this discrepancy to provide a crafted, unsigned SAML message that the server processes instead of a legitimately signed one, leading to full account takeover of federated users.
Upgrade org.keycloak:keycloak-services to the patched version. The fix resolves parameter names consistently, rejects duplicates, and verifies that the signed message and relay state are the values actually processed.
You are affected if you use a vulnerable version of org.keycloak:keycloak-services and you accept signed SAML messages over HTTP-Redirect and an attacker can supply percent-encoded or repeated query parameter names.
23.0.0 - 26.8.1
Fixed in 26.8.2keycloak-services is vulnerable to Authentication Bypass in versions 23.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.