Red Hat · Public exploit code

Keycloak patches unauthenticated account takeover; public exploit available

· 1 min read

CVE-2026-18963 in Keycloak lets an unauthenticated attacker take over any account by forcing a password reset without clicking the email verification link. Red Hat rated the flaw Critical (CVSS 9.1) and a public proof of concept has been on Exploit-DB since October 21, 2026. Upgrade to 26.4.15, 26.6.6, 26.7.2 or 26.8.0 and later; as a temporary mitigation, disable the password recovery feature in all realms.

WhatsApp LinkedIn X
CriticalVulnerabilityPublic exploit codePatched
In this article
  1. What happened
  2. Why it matters
  3. What to do
  4. For the technical team
  5. Timeline
  6. Sources

What happened

Keycloak has fixed a critical flaw (CVE-2026-18963) that lets a remote attacker, unauthenticated and with no victim interaction, take over any user account by setting a new password without the email verification step. A public proof of concept is on Exploit-DB. Red Hat rated the risk Critical, CVSS 9.1.

Incidents like this, every morning

The ones that need action first, in a 3-minute read.

Free · 1 email a day, in the morning · no spam, unsubscribe in 1 click

Why it matters

Organizations running Keycloak or Red Hat Build of Keycloak on affected 26.x versions have accounts, including administrators, exposed to remote takeover by anyone who can reach the server. The attacker sets a new password, locks out the legitimate owner, and reaches every system tied to this central login.

What to do

Upgrade immediately to 26.4.15, 26.6.6, 26.7.2 or 26.8.0 and later. If upgrading is not possible right now, disable the Forgot password feature in all realms (Realm settings, Login, Forgot password, Off) as a temporary mitigation.

For the technical team

CVE
CVE-2026-18963
Affected
Red Hat (Keycloak) Keycloak / Red Hat Build of Keycloak (keycloak-services) · org.keycloak:keycloak-services 26.0.0 through 26.4.14; 26.5.0 through 26.6.5; 26.7.0 through 26.7.1 (GHSA).
Exploitation
Public PoC on Exploit-DB (EDB-52699, dated 2026-10-21, author Abel Maldonado, Orevim), with code also in the GitHub repository orevim/CVE-2026-18963-PoC. Tested on Keycloak 26.6.2 in Docker (quay.io/keycloak/keycloak:26.6.2). The sources report no real-world exploitation.
Fix
Fixed versions: 26.4.15, 26.6.6, 26.7.2; the 26.8.0 line ships with the fix. Red Hat temporary mitigation: disable Forgot password in all realms (RHBK administration console, Realm settings, Login, Forgot password, Off).
Vector
Component keycloak-services, the core identity and access management engine of Red Hat Build of Keycloak. Improper state validation in the reset-credentials flow (CWE-640). Per the PoC, an unscoped AUTHENTICATION_SELECTOR_SCREEN_DISPLAYED note lets an unauthenticated caller re-render the authenticator selection screen bound to the email execution; that execution's action handler sets emailVerified and calls success without checking the action token, so the flow reaches the update-password required action with no emailed link. Red Hat: network vector, no privileges, no user interaction, low complexity (CVSS 9.1).
More details
Red Hat assessed severity as Critical with CVSS v3 9.1 (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N), same vector at cve.org. Issue reported to Red Hat by James Paremain. References: Bugzilla 2511595, GHSA-4gv3-mc9p-5wqc. The PoC has three modes: --check (tests whether the instance is affected, sending no mail and changing no account), --check --users (reports which identifiers resolve; on an affected build it sets emailVerified as a side effect) and --set-password (completes the takeover and locks the account holder out). Endpoints come from the realm's OIDC discovery document and fields from the forms themselves, so custom themes, paths and field names work without edits.

Timeline

  1. GHSA advisory with the CVE and a public exploit on Exploit-DB.

Sources 4 sources

Get the next one tomorrow morning

One email a day with what changed, what to fix first and how. After signing up you get the full feed.

Free · 1 email a day, in the morning · no spam, unsubscribe in 1 click

Share it with your team

Whoever handles security with you should get it too.

LinkedIn X

Your colleague gets a confirmation request. Nothing is sent unless they confirm.

See all news

Read also

Before you go: get this every day

The HIFY Radar daily edition lands every morning with the incidents that need action. Free.

Free · 1 email a day, in the morning · no spam, unsubscribe in 1 click