rootpwn

medium · CVSS v3 6.6 · EPSS 0.00237

CVE-2026-97177

A flaw in Keycloak's Admin REST API allows a delegated administrator to reset a user's password without proper authorization when Fine‑Grain

Overview

A flaw in Keycloak's Admin REST API allows a delegated administrator to reset a user's password without proper authorization when Fine‑Grained Admin Permissions are enabled. This can lead to account takeover and unauthorized access to protected resources. The issue is limited to the user update endpoint and requires the attacker to have delegated admin privileges.

Description

A flaw was found in the user update mechanism of the Keycloak Admin REST API. When Fine-Grained Admin Permissions are enabled, the system fails to check for specific password reset authorizations during a general user profile update. This allows a delegated administrator, who should be restricted from resetting passwords, to change a user's credentials and take over their account.

Impact

The vulnerability compromises confidentiality and integrity of user accounts by enabling unauthorized password changes. Administrators and end users are directly impacted, as compromised accounts can be used to access sensitive data or further elevate privileges. Organizations relying on Keycloak for identity management must assess the risk of internal privilege misuse.

Remediation

Apply the latest Keycloak patch that enforces password‑reset authorization checks in the user update API. If patching is delayed, disable Fine‑Grained Admin Permissions or restrict delegated admin roles to exclude password‑reset capabilities. Additionally, enable audit logging for password changes and regularly review logs for anomalous activity.

Risk context

The CVE has a medium severity score (CVSS 6.6) and a low EPSS of 0.00237, indicating a moderate risk that is unlikely to be widely exploited but still warrants timely remediation.

Affected products

  • Keycloak

Scores

Severity
medium
CVSS v2
6.8
CVSS v3
6.6
CVSS v4
—
EPSS
0.00237

keycloak admin-api password-reset privilege-escalation fine-grained-permissions

← All CVEs