CVE-2026-94218 Keycloak-services: keycloak-services: 2fa setup enforcement bypass via authentication session restart endpoint
Attackers can bypass mandatory two-factor authentication setup by restarting the authentication session, allowing password-only access to protected resources.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2026-94218?
CVE-2026-94218 is a low-severity authentication bypass vulnerability in Red Hat Build of Keycloak, published on 21 Sep 2026. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
A flaw was found in the authentication session management of Keycloak, an identity and access management solution. The issue occurs when an administrator enforces a stronger authentication flow, such as mandatory two-factor authentication (2FA) setup, through a client policy. A user can bypass this requirement by manually visiting a specific session restart web link during the login process. This action clears the internal markers that track the required security steps, allowing the user to log in with only a password and gain access without completing the mandated 2FA setup.
Weakness: CWE-862
Which versions are affected by CVE-2026-94218?
How do I fix CVE-2026-94218?
No fix has been published for CVE-2026-94218 yet. Limit exposure of the affected software until one is available.
Upgrade, and rotate credentials and sessions that may have been exposed. More about Authentication bypass.
Is CVE-2026-94218 being exploited?
There is no known exploitation of CVE-2026-94218 in the wild and no public exploit code.
Sources
Also known as GHSA-rm49-qjx7-5qm5.