CVE-2026-133228 & CVE-2026-133221: Keycloak MFA Bypass via Auth-Session Reuse
Two CVEs, one chain, one password needed — no second factor. CVE-2026-133228 (CVSS 9.1, CWE-287): AuthenticationSessionModel records that a flow completed, not which binding it satisfied. Login to any realm client witho
Two CVEs, one chain, one password needed — no second factor.
CVE-2026-133228 (CVSS 9.1, CWE-287): AuthenticationSessionModel records that a flow completed, not which binding it satisfied. Login to any realm client without OTP → present AUTH_SESSION_ID to a step-up client → code issued, OTP execution never reached.
CVE-2026-133221 (CVSS 8.1, CWE-613): offline tokens from the bypassed session outlive the patch, password reset, and session invalidation. Patch-only response leaves prior tokens valid.
Key details:
Affected: Keycloak 24.0.0–26.4.6
Fixed: 26.4.7, backports to 26.3.6 / 26.2.9 (released 2026-11-18)
No public PoC, not in CISA KEV, EPSS ~0.31%
Vulnerable component: AuthenticationProcessor + RefreshTokenEndpoint
Precondition: any valid realm password + ≥1 client without OTP + ≥1 with it (the recommended conditional OTP setup)
Full breakdown — mechanism, threat hunting queries, IR checklist, offline token revocation steps:
https://threataft.com/articles/cve-2026-133228-cve-2026-133221-keycloak-mfa-bypass
Originally published by Dev.to Security. Aggregated on AIWithGhost for educational purposes — full credit and traffic to the original publisher.