MEDIUM 4.2 Maven

Keycloak: Improper Access Control Leading to MFA Deletion and Account Takeover in Keycloak Account REST API

GHSA-8g9r-9wjw-37j4 · CVE-2026-3429

Published · Modified

AI SAST

Find this class of vulnerability in your own code

Corgea's AI-native static analysis detects vulnerabilities like this one across your repositories, ranks them by exploitability, and returns review-ready fixes.

Description

A flaw was identified in the Account REST API of Keycloak that allows a user authenticated at a lower security level to perform sensitive actions intended only for higher-assurance sessions. Specifically, an attacker who has already obtained a victim’s password can delete the victim’s registered MFA/OTP credential without first proving possession of that factor. The attacker can then register their own MFA device, effectively taking full control of the account. This weakness undermines the intended protection provided by multi-factor authentication.

Ready to move

Start Securing

Free, no credit card | First findings in minutes