medium4.2
CVE-2026-3429
Keycloak: Improper Access Control Leading to MFA Deletion and Account Takeover in Keycloak Account REST API
Impact
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
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| maven | org.keycloak:keycloak-services | <= 26.5.6 | none recorded |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Redhat | Build Of Keycloak | from 26.4 before 26.4.11 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://access.redhat.com/errata/RHSA-2026:6477
- https://access.redhat.com/errata/RHSA-2026:6478
- https://access.redhat.com/security/cve/CVE-2026-3429
- https://bugzilla.redhat.com/show_bug.cgi?id=2443771
- https://github.com/advisories/GHSA-8g9r-9wjw-37j4
- https://nvd.nist.gov/vuln/detail/CVE-2026-3429
- https://github.com/keycloak/keycloak/issues/47069
- https://github.com/keycloak/keycloak/commit/68f5779230d08825e6a4b4e23471fade16434178