Bug 2582584 (CVE-2026-135768)

Summary: CVE-2026-135768 keycloak-services: keycloak-services: Policy-selected OTP flow accepts password SSO
Product: [Other] Security Response Reporter: OSIDB Bzimport <bzimport>
Component: vulnerabilityAssignee: Product Security <prodsec-ir-bot>
Status: NEW --- QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: aschwart, aszczucz, boliveir, drichtar, mposolda, pjindal, rmartinc, ssilvert, sthorger, vmuzikar
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
A flaw was found in the keycloak-services component of Keycloak, which is used for managing authentication and authorization flows. The issue occurs when a client policy is configured to enforce a high-assurance authentication flow requiring OTP. Due to improper validation of existing sessions, a lower-assurance password-only SSO session can be incorrectly accepted if the request does not explicitly demand a specific assurance level. This allows an attacker with access to a user's password or session to bypass the second factor and obtain tokens claiming a higher level of security.
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description OSIDB Bzimport 2026-11-24 05:44:56 UTC
A flaw was found in the authentication flow selection logic within the keycloak-services component. When Keycloak is configured with a client policy using the auth-flow-enforcer executor to select an authentication flow requiring OTP at a higher Level of Assurance (LoA), it fails to properly re-evaluate the session assurance if the authorization request does not explicitly specify an acr_values parameter or an essential ACR claim.
As a result, an existing lower-assurance SSO session (e.g., password-only) is accepted, the OTP requirement is bypassed, and Keycloak issues a signed token asserting the higher ACR claim without verifying the OTP credential. An attacker possessing a valid user password or an active lower-assurance SSO session cookie can exploit this to access protected clients and perform actions requiring multi-factor authentication without providing the second factor.