Critical Keycloak Flaw (CVE-2026-18963) Lets Unauthenticated Attackers Take Over Any Account via Password Reset

Red Hat rates CVE-2026-18963 at 9.1: a crafted request to Keycloak's reset-credentials flow skips the emailed action token and jumps straight to setting a new password, including for admin accounts. Upstream users should move to 26.7.2, and RHBK customers to 26.4.15 or 26.6.6.
Critical Keycloak Flaw (CVE-2026-18963) Lets Unauthenticated Attackers Take Over Any Account via Password Reset
Critical Keycloak Flaw (CVE-2026-18963) Lets Unauthenticated Attackers Take Over Any Account via Password Reset

Red Hat and the Keycloak project have patched a critical flaw in the open source identity and access management server that could let an unauthenticated remote attacker take over any user account by forcing a password reset, The Hacker News reported.

The bug, CVE-2026-18963, is rated 9.1 on the CVSS scale by Red Hat, which acts as the CVE Numbering Authority for it. Upstream Keycloak users should update to version 26.7.2, released Aug. 19, and customers running the Red Hat build of Keycloak (RHBK) should apply the 26.4.15 and 26.6.6 updates. There was no evidence of exploitation and no verified public exploit as of Aug. 24.

What Goes Wrong

Red Hat’s advisory describes the root cause as “improper state validation within the reset-credentials authentication flow,” the sequence Keycloak runs when a user asks to recover a password. According to Red Hat’s bug report, an attacker sends a specially crafted request to the reset-credentials endpoint, and the authentication session moves directly to the password update step. The action token that Keycloak normally emails to the user is never required.

The result is a complete takeover of any account, “including administrative accounts.” Because Keycloak often sits in front of many applications through single sign-on, an attacker who controls an admin or user account there can reach everything that trusts it. Red Hat rated the flaw critical because it requires no authentication and no user interaction. Red Hat credited James Paremain with reporting it.

Patches and a Stopgap

Red Hat issued four errata on Aug. 18 covering the standalone server packages and container images for the RHBK 26.4 and 26.6 streams. For deployments that cannot update right away, Red Hat’s temporary mitigation is to turn off “Forgot password” in every realm, under Realm settings, then Login, in the admin console. The company said the setting must be applied to every realm and that customers should still upgrade as soon as possible.

CVE-2026-18963 was one of eight CVEs fixed in Keycloak 26.7.2. The same release addressed CVE-2026-15571, a predictable account-linking hash that enables account takeover through a malicious OpenID Connect client. Two weeks earlier, Keycloak 26.7.1 fixed 12 CVEs.

Univention said its Nubus platform is not affected because the forgotten-password feature is not enabled in its Keycloak deployments. That detail points to the quickest check for any team: if self-service password reset is on in any realm, the server should be patched or the feature disabled today.

Subscribe for Updates

DevSecurityPro Newsletter

The DevSecurityPro Email Newsletter is essential for DevSecOps leaders, DevOps directors, application developers, and security engineers. Perfect for professionals focused on embedding security into the development pipeline and protecting applications at scale.

By signing up for our newsletter you agree to receive content related to ientry.com / webpronews.com and our affiliate partners. For additional information refer to our terms of service.

Notice an error?

Help us improve our content by reporting any issues you find.

Get the WebProNews newsletter delivered to your inbox

Get the free daily newsletter read by decision makers

Subscribe
Advertise with Us

Ready to get started?

Get our media kit

Advertise with Us