Keycloak Patched for Critical Flaw Allowing Unauthenticated Account Takeover

2 min read
Source: The Hacker News
Keycloak Patched for Critical Flaw Allowing Unauthenticated Account Takeover
Photo: The Hacker News
TL;DR

Red Hat and the Keycloak project have released patches for a critical vulnerability (CVE-2026-18963) that allows unauthenticated attackers to take over any user account, including administrative ones, by exploiting a flaw in the password reset flow. The vulnerability, rated 9.1 on the CVSS scale, stems from improper state validation that bypasses the email action token requirement. Patches are available for upstream version 26.7.2 and specific Red Hat builds. No active exploitation has been confirmed, but temporary mitigation involves disabling the 'Forgot password' feature across all realms.

Key points

  • The vulnerability, CVE-2026-18963, is classified as a weak password recovery mechanism (CWE-640) with a CVSS score of 9.1.
  • It allows unauthenticated remote attackers to force a password reset and take over any account, including administrative accounts, without user interaction.
  • The root cause is improper state validation within the reset-credentials authentication flow, bypassing the email action token.
  • Patches are available for upstream Keycloak 26.7.2 (released August 19, 2026) and Red Hat builds 26.4.15 and 26.6.6.
  • No evidence of active exploitation or public exploits has been found as of August 24, 2026.
  • Temporary mitigation involves disabling the 'Forgot password' functionality in all realms via the administration console.

Background

This incident follows a series of critical unauthenticated vulnerabilities disclosed in 2026, including flaws in Zoom's Windows client and WordPress core that also enabled account takeover or remote code execution. Keycloak had previously addressed other security issues in August 2026, including a predictable account-linking hash (CVE-2026-15571) and a SAML login bypass, highlighting ongoing scrutiny of identity management systems. The current flaw underscores the risks associated with authentication flows in widely used open-source infrastructure.

Why it matters

Keycloak is a widely deployed open-source identity and access management server, often used as a gateway to other systems. A critical flaw allowing unauthenticated account takeover poses a severe risk to organizations relying on it for authentication, potentially leading to compromise of downstream applications and administrative controls. The high CVSS score and lack of user interaction required make this a high-priority patch for security teams.

What to watch

Organizations should immediately update their Keycloak deployments to the patched versions (26.7.2 for upstream, 26.4.15/26.6.6 for Red Hat builds). For those unable to patch immediately, disabling the 'Forgot password' feature across all realms is a recommended temporary mitigation. Security teams should monitor for any signs of exploitation and ensure all realms are configured correctly.

Share this article

Want the full story? Read the original reporting

Read on The Hacker News