GHSA-8g9r-9wjw-37j4

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

At a glance

Published
Updated
CVE
CVE-2026-3429
Aliases
BIT-keycloak-2026-3429
CVSS_V3
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N

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.

Affected packages

PackageVersions
Maven · org.keycloak:keycloak-servicesintroduced 0, last affected 26.5.6

References

Sources

SourceLicence
OSV.devCC-BY 4.0 — GitHub Advisory Database