7.5high
Org.keycloak/keycloak-services: session fixation in oidc login flow that can lead to account takeover
- Severity
- 7.5high CVSS:3.1 by redhat
- Exploit likelihood
- 0.84% (higher than 58% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- redhat
- Also known as
- GHSA-hf67-5vvq-fm3rBIT-KEYCLOAK-2026-7507
Description
A session fixation vulnerability was found in Keycloak's login-actions endpoints. An unauthenticated attacker could exploit this flaw by pre-creating an authentication session and tricking a victim into visiting a maliciously crafted link. By leveraging the /login-actions/restart endpoint—which processes session handles without adequate CSRF protection or cookie ownership validation—an attacker can reset the authentication flow state. This causes Single Sign-On (SSO) to authenticate the victim transparently upon clicking the link, allowing the attacker to hijack the required-action form without needing the victim's credentials. A successful exploit could lead to complete account takeover, including highly privileged administrative accounts.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| rhbk/keycloak-operator-bundle | Not specified Not affected: from 26.2.16-1 before *, from 26.4.12-1 before * | CVE List |
| rhbk/keycloak-rhel9 | Not specified Not affected: from 26.2-21 before *, from 26.4-17 before * | CVE List |
| rhbk/keycloak-rhel9-operator | Not specified Not affected: from 26.2-21 before *, from 26.4-17 before * | CVE List |
| keycloak-services | Not specified | CVE List |
| rh-sso7-keycloak | Not specified Not affected: from 0:18.0.20-1.redhat_00001.1.el7sso before *, from 0:18.0.20-1.redhat_00001.1.el8sso before *, from 0:18.0.20-1.redhat_00001.1.el9sso before * | CVE List |
| rh-sso-7/sso76-openshift-rhel8 | Not specified Not affected: from 7.6-85 before * | CVE List |
| rhbk/keycloak | Not specified Not affected: from rhel9-operator before * | CVE List |
| org.keycloak:keycloak-services (Maven) | before 26.6.2 | GitHub Advisory Database |
| redhat build_of_keycloak | from 26.4 before 26.4.12 | NVD |
| keycloak (Bitnami) | from 26.4.0 before 26.4.12 | Bitnami Vulnerability Database |
All scores
| redhat | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H |
| redhat-SADP | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H |
| GitHub | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H |
| Bitnami Vulnerability Database | high rating |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.
What each source says
CVE List
A session fixation vulnerability was found in Keycloak's login-actions endpoints. An unauthenticated attacker could exploit this flaw by pre-creating an authentication session and tricking a victim into visiting a maliciously crafted link. By leveraging the /login-actions/restart endpoint—which processes session handles without adequate CSRF protection or cookie ownership validation—an attacker can reset the authentication flow state. This causes Single Sign-On (SSO) to authenticate the victim transparently upon clicking the link, allowing the attacker to hijack the required-action form without needing the victim's credentials. A successful exploit could lead to complete account takeover, including highly privileged administrative accounts.
NVD (es)
Una vulnerabilidad de fijación de sesión fue encontrada en los endpoints login-actions de Keycloak. Un atacante no autenticado podría explotar esta falla precreando una sesión de autenticación y engañando a una víctima para que visite un enlace creado maliciosamente. Al aprovechar el endpoint /login-actions/restart -que procesa identificadores de sesión sin protección CSRF adecuada o validación de propiedad de cookie- un atacante puede restablecer el estado del flujo de autenticación. Esto hace que el Single Sign-On (SSO) autentique a la víctima de forma transparente al hacer clic en el enlace, permitiendo al atacante secuestrar el formulario de acción requerida sin necesidad de las credenciales de la víctima. Un exploit exitoso podría llevar a una toma de control completa de la cuenta, incluyendo cuentas administrativas altamente privilegiadas.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-7507 changed 2026-10-06 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-hf67-5vvq-fm3r changed 2026-08-26 | CC-BY-4.0 |
| NVD | CVE-2026-7507 changed 2026-10-26 | Public domain |
| Bitnami Vulnerability Database | BIT-KEYCLOAK-2026-7507 changed 2026-10-07 | Apache-2.0 |