Technical impact
The vulnerability arises in the keycloak-services component of Keycloak. When a client policy mandates a high‑assurance OTP flow, the system fails to properly validate existing sessions. As a result, a password‑only SSO session can be mistakenly accepted if the request does not explicitly require a higher assurance level. An attacker who has access to a user’s password or a valid session can therefore bypass the second‑factor authentication and obtain tokens that claim a higher level of security. This permits the attacker to impersonate the user or gain unauthorized access to protected resources attached to those tokens.
Affected Systems
Keycloak’s keycloak-services component is impacted. No specific product versions are listed in the advisory, so all releases of Keycloak that include keycloak-services may be vulnerable until a patch is applied.
Risk and Exploitability
The vulnerability carries a CVSS score of 6.8, indicating a moderate‑to‑high severity. The EPSS score is not available, and the issue is not listed in the CISA KEV catalog. Exploitation requires an attacker to possess a user’s password or an active session; the attack vector is likely remote, as the flaw is triggered through the normal authentication and authorization flow. Improper session validation enables the attacker to elevate their authentication assurance within the application.