CVE-2026-3429

Org.keycloak.services.resources.account: improper access control leading to mfa deletion and account takeover in keycloak account rest api

Published Mar 11, 2026 CVSS 3.1 · 4.2 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

The vulnerability in Keycloak’s Account REST API allows an authenticated user with a lower security level to delete a victim’s registered multi‑factor authentication (MFA) or one‑time‑password (OTP) credentials without proving possession of that factor. After the deletion the attacker can register their own MFA device and take full control of the account, effectively bypassing the intended MFA protection. This flaw represents an improper access control weakness (CWE‑284).

Affected Systems

The affected products are Red Hat Build of Keycloak (including builds 26.4 and 26.4.11), Red Hat JBoss Enterprise Application Platform 8 and the Red Hat Single Sign‑On 7 stack. These environments use the Keycloak account REST API and are vulnerable to the described deletion and takeover scenario.

Risk and Exploitability

The CVSS score is 4.2, indicating a moderate severity. The EPSS score of less than 1 % suggests that exploitation is currently unlikely, and the vulnerability is not listed in the CISA KEV catalog. Exploitation requires an attacker to already have valid credentials for the victim at a lower security level; once this is achieved, the attacker can delete MFA credentials and register a new device. The attack vector is mediated through the REST API and relies on the existing authenticated session, so widespread exploitation would be limited to environments where these API endpoints are exposed and the attacker has compromised credentials.

Remediation

Vendor Workaround

Mitigation for this issue is either not available or the currently available options don't meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.


OpenCVE Recommended Actions

  • Apply Red Hat security updates RHSA-2026:6477 and RHSA-2026:6478 to update Keycloak to the patched version.
  • Confirm that all Keycloak deployments are running version 26.4.11 or later, which contains the access‑control fix.
  • If a patch cannot be applied immediately, reconfigure the Account REST API to require multi‑factor authentication for credential deletion or restrict the API to high‑assurance sessions only.
  • No workable workaround is provided; patch remains the only viable mitigation.

Generated by OpenCVE AI on April 15, 2026 at 22:39 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-8g9r-9wjw-37j4 Keycloak: Improper Access Control Leading to MFA Deletion and Account Takeover in Keycloak Account REST API
History
Type Values Removed Values Added
First Time appeared Redhat build Of Keycloak
CPEs cpe:2.3:a:redhat:build_of_keycloak:*:*:*:*:*:*:*:*
Vendors & Products Redhat build Of Keycloak
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Title org.keycloak.services.resources.account: Improper Access Control Leading to MFA Deletion and Account Takeover in Keycloak Account REST API Org.keycloak.services.resources.account: improper access control leading to mfa deletion and account takeover in keycloak account rest api
First Time appeared Redhat
Redhat build Keycloak
Redhat jboss Enterprise Application Platform
Redhat jbosseapxp
Redhat red Hat Single Sign On
CPEs cpe:/a:redhat:build_keycloak:
cpe:/a:redhat:jboss_enterprise_application_platform:8
cpe:/a:redhat:jbosseapxp
cpe:/a:redhat:red_hat_single_sign_on:7
Vendors & Products Redhat
Redhat build Keycloak
Redhat jboss Enterprise Application Platform
Redhat jbosseapxp
Redhat red Hat Single Sign On
References
Type Values Removed Values Added
First Time appeared Keycloak
Keycloak keycloak
Vendors & Products Keycloak
Keycloak keycloak
Type Values Removed Values Added
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.
Title org.keycloak.services.resources.account: Improper Access Control Leading to MFA Deletion and Account Takeover in Keycloak Account REST API
Weaknesses CWE-284
References
Metrics threat_severity

None

cvssV3_1

{'score': 4.2, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N'}

threat_severity

Moderate

Weaknesses

Sources

Status
PUBLISHED
Assigner
redhat
Published
Updated
Apr 2, 2026, 4:39 PM
Reserved
Mar 2, 2026, 9:54 AM
Status
Analyzed
Published
Mar 11, 2026, 5:16 PM
Modified
Aug 18, 2026, 4:37 PM
Severity
Moderate
Public date
Mar 2, 2026, 12:00 AM