Keycloak CVE-2026-18963 Account Takeover Flaw

Critical Keycloak Flaw (CVE-2026-18963) Allows Account Takeover

CRITICAL
August 24, 2026
5m read
VulnerabilityPatch Management

Related Entities

Organizations

Products & Tech

CVE Identifiers

CVE-2026-18963
CRITICAL
CVSS:9.1

Full Report

Executive Summary

A critical vulnerability tracked as CVE-2026-18963 has been discovered in Keycloak, a popular open-source Identity and Access Management (IAM) solution developed by Red Hat. The flaw, which carries a CVSS v3.1 score of 9.1, allows an unauthenticated remote attacker to bypass the email verification step in the password reset flow. This enables a complete account takeover of any user, including those with administrative privileges, simply by knowing their username or email address. Red Hat and the Keycloak project have released patches to address the vulnerability and strongly advise all users to update their instances immediately. As of late August 2026, there are no reports of this vulnerability being exploited in the wild.


Vulnerability Details

The vulnerability is classified as a 'Weak Password Recovery Mechanism for Forgotten Password' (CWE-640) and exists within Keycloak's reset-credentials authentication flow. The core of the issue is an improper state validation during the password reset process. An attacker can craft a specific HTTP request to the reset-credentials endpoint that manipulates the authentication session state. This manipulation tricks the server into skipping the step where it sends a password reset link to the legitimate user's email address. Instead, the server proceeds directly to the password update form, allowing the attacker to set a new password for the targeted account.

The attack requires no prior authentication and no user interaction. The only prerequisite is for the attacker to know the username or email address of a valid account on the target Keycloak server.


Affected Systems

The vulnerability affects the following products and versions:

  • Upstream Keycloak: All versions prior to 26.7.2
  • Red Hat build of Keycloak (RHBK):
    • Versions prior to 26.4.15
    • Versions prior to 26.6.6

Organizations using Keycloak for single sign-on (SSO), federation, and user management are directly impacted. Given Keycloak's widespread adoption, a large number of applications and services could be at risk if their underlying IAM platform is not patched.


Exploitation Status

As of August 24, 2026, there was no evidence that CVE-2026-18963 had been exploited in the wild. No public proof-of-concept (PoC) exploit code had been verified, though the technical details are sufficient for knowledgeable attackers to develop one. The lack of active exploitation provides a critical window for defenders to apply patches before attacks become widespread.


Impact Assessment

The impact of this vulnerability is critical. Successful exploitation grants an attacker complete control over any user account on a vulnerable Keycloak server. If an administrative account is targeted, the attacker gains full control over the IAM platform itself. This could lead to:

  • Creation of rogue administrative accounts.
  • Unauthorized access to all applications integrated with Keycloak.
  • Widespread data breaches as the attacker impersonates legitimate users.
  • Disruption of services that rely on Keycloak for authentication.

Because Keycloak is often the central hub for an organization's identity management, a compromise can have devastating and far-reaching consequences.


Cyber Observables — Hunting Hints

The following patterns may help identify vulnerable or compromised systems:

Type
url_pattern
Value
*/realms/*/login-actions/reset-credentials
Description
This is the endpoint targeted by the exploit. A spike in requests or unusual patterns could indicate scanning or exploitation attempts.
Context
Web server logs, WAF logs
Confidence
high
Type
log_source
Value
Keycloak server logs
Description
Look for password reset events that do not have a corresponding 'send email' event immediately prior.
Context
Application logs
Confidence
medium
Type
event_id
Value
Successful password change from an unknown IP
Description
A password change for a user from an IP address they have never used before, especially without a preceding login attempt, is suspicious.
Context
SIEM, Authentication logs
Confidence
medium

Detection Methods

Security teams should focus on both identifying vulnerable systems and detecting exploitation attempts.

  1. Vulnerability Scanning: Use asset inventory systems or vulnerability scanners to identify all instances of Keycloak and check their version numbers against the patched versions.
  2. Log Analysis: Implement detection rules in your SIEM to look for the specific attack pattern. A rule could trigger an alert if a reset-credentials flow completes the password update step without a corresponding token verification step in the same session. This requires detailed analysis of Keycloak event logs.
  3. Behavioral Analysis: Monitor for anomalous account behavior, such as an administrator account logging in from an unfamiliar IP address or performing unusual actions immediately after a password reset.

Remediation Steps

The primary remediation is to apply the patches provided by Red Hat and the Keycloak community.

  1. Upgrade Immediately:
    • Upstream Keycloak users should upgrade to version 26.7.2 or later.
    • RHBK users should apply the updates to reach version 26.4.15 or 26.6.6 (or later).
  2. Review Logs: After patching, review authentication and event logs for any signs of suspicious password reset activity that may have occurred before the patch was applied.
  3. Force Password Resets (Optional): For high-security environments, consider forcing a password reset for all privileged users after patching to invalidate any credentials that may have been compromised unknowingly.
  4. Workaround (If patching is not possible): As a temporary measure, organizations could disable the password reset feature entirely, but this has significant usability drawbacks. Patching is the only recommended permanent solution.

Timeline of Events

1
August 19, 2026
Keycloak version 26.7.2 is released, patching CVE-2026-18963.
2
August 24, 2026
The vulnerability is widely reported by cybersecurity news outlets.
3
August 24, 2026
This article was published

MITRE ATT&CK Mitigations

The most effective mitigation is to update Keycloak instances to a patched version immediately.

Mapped D3FEND Techniques:

Audit

M1047enterprise

Regularly audit authentication logs for suspicious password reset activities or anomalous account behavior.

Mapped D3FEND Techniques:

As a temporary workaround if patching is impossible, disable the password reset functionality.

Mapped D3FEND Techniques:

Timeline of Events

1
August 19, 2026

Keycloak version 26.7.2 is released, patching CVE-2026-18963.

2
August 24, 2026

The vulnerability is widely reported by cybersecurity news outlets.

Article Author

Jason Gomes

Jason Gomes

• Cybersecurity Practitioner

Cybersecurity professional with over 10 years of specialized experience in security operations, threat intelligence, incident response, and security automation. Expertise spans SOAR/XSOAR orchestration, threat intelligence platforms, SIEM/UEBA analytics, and building cyber fusion centers. Background includes technical enablement, solution architecture for enterprise and government clients, and implementing security automation workflows across IR, TIP, and SOC use cases.

Threat Intelligence & AnalysisSecurity Orchestration (SOAR/XSOAR)Incident Response & Digital ForensicsSecurity Operations Center (SOC)SIEM & Security AnalyticsCyber Fusion & Threat SharingSecurity Automation & IntegrationManaged Detection & Response (MDR)

Editorial Standards & Analyst Review

CyberNetSec.io uses automation to assist source monitoring, deduplication, observable extraction, and structured intelligence generation. Published analysis follows human-defined editorial standards and adds defensive context including MITRE ATT&CK, D3FEND, STIX, and Sigma where applicable. Read our editorial policy.

Tags

CVEKeycloakRed HatIAMAuthenticationAccount TakeoverVulnerability

📢 Share This Article

Help others stay informed about cybersecurity threats

🎯 MITRE ATT&CK Mapped

Every tactic, technique, and sub-technique used in this threat has been identified and mapped to the MITRE ATT&CK framework for consistent, actionable threat language.

🧠 Enriched & Analyzed

Observables and indicators of compromise (IOCs) have been extracted and cataloged. Risk has been assessed and correlated with known threat actors and historical campaigns.

🛡️ Actionable Guidance

Detection rules, incident response steps, and D3FEND-aligned mitigation strategies are included so your team can act on this intelligence immediately.

🔗 STIX Visualizer

Structured threat data is packaged as a STIX 2.1 bundle and can be visualized as an interactive graph — relationships between actors, malware, techniques, and indicators.

Sigma Generator

Sigma detection rules are derived from the threat techniques in this article and can be converted for deployment across any major SIEM or EDR platform.