Summary
CVE-2026-18963 is a critical weak-password-recovery vulnerability (CWE-640) in the reset-credentials (forgot password) flow of Red Hat Build of Keycloak. Due to improper state validation in that flow, an unauthenticated remote attacker can bypass the email verification step and force a password reset on any user account, leading to full account takeover. Red Hat rates it Critical with a CVSS v3.1 base score of 9.1.
Technical details
- Root cause: Improper state validation within the reset-credentials (forgot-password) authentication flow, classified as CWE-640 (Weak Password Recovery Mechanism for Forgotten Password).
- Trigger conditions: An attacker interacts with the exposed reset-credentials flow without needing valid credentials or user interaction from the victim.
- Attack vector: Network-based, low attack complexity, no privileges required, no user interaction required.
- Impact: Bypass of email verification during password reset, allowing an unauthenticated attacker to force a credential reset and gain full control of any user account (high confidentiality and integrity impact; no direct availability impact per the CVSS vector).
Affected software
- Red Hat Build of Keycloak (keycloak-services component)
- rhbk-keycloak-rhel9
- rhbk-openshift-rhel9
- Red Hat JBoss Enterprise Application Platform Expansion Pack
- Not affected: Red Hat Single Sign-On 7
Severity
- CVSS v3.1 Base Score: 9.1 (Critical)
- Vector:
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Mitigation and recommended actions
- Immediate: At the time of publication, Red Hat states that no patched version or mitigation meeting its security criteria is yet available. Security teams should monitor Red Hat and Keycloak advisories closely and apply the fixed build as soon as one is released.
- If no patch is available: Since no vetted workaround currently exists, restrict or closely monitor access to the reset-credentials/forgot-password endpoint (e.g., via WAF rules, rate limiting, or temporarily disabling self-service password reset) until an official fix ships, and monitor authentication logs for anomalous password-reset activity on user accounts.
How IONIX identifies potentially affected assets
IONIX matches the following signals against data already collected when it crawled the asset; identifying the technology sends no request beyond that crawl.
- Raw response body: form
actioncontaining/auth/realms/, anhrefof/keycloak/img/favicon.ico, anhrefcontaining/keycloak/ - URL of a loaded script:
keycloak.js,keycloak-js-<version>.min.js - JavaScript object present once the page runs:
Keycloak

