GitHub Advisory Database
GHSA-4gv3-mc9p-5wqc
Keycloak: Unauthenticated account takeover via reset-credentials flow bypass
Details
A flaw was found in the reset-credentials flow of the keycloak-services component, which is the core engine for identity and access management in Red Hat Build of Keycloak. The issue allows an unauthenticated attacker to force the password reset process for any user without needing to click the required email verification link. This can result in the attacker gaining full control over target user accounts by directly setting new credentials.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Maven | org.keycloak:keycloak-services | From 26.0.0 before 26.4.15 (fixed in 26.4.15) |
| Maven | org.keycloak:keycloak-services | From 26.5.0 before 26.6.6 (fixed in 26.6.6) |
| Maven | org.keycloak:keycloak-services | From 26.7.0 before 26.7.2 (fixed in 26.7.2) |
References
- https://nvd.nist.gov/vuln/detail/CVE-2026-18963
- https://github.com/keycloak/keycloak/issues/51833
- https://github.com/keycloak/keycloak/pull/51844
- https://github.com/keycloak/keycloak/commit/dc2d4e524b4dae85aedc87ca28b9e4fa567d56c1
- https://access.redhat.com/errata/RHSA-2026:56519
- https://access.redhat.com/errata/RHSA-2026:56520
- https://access.redhat.com/errata/RHSA-2026:56523
- https://access.redhat.com/errata/RHSA-2026:56524
- https://access.redhat.com/security/cve/CVE-2026-18963
- https://bugzilla.redhat.com/show_bug.cgi?id=2511595
- https://github.com/keycloak/keycloak