CVE-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.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
Mitigation details
Description org.keycloak/keycloak-services: Session fixation in OIDC login flow that can lead to account takeover Red Hat statement This is a Critical session fixation vulnerability in Keycloak's login-actions endpoints. An unauthenticated attacker can pre-create an authentication session and, by exploiting a lack of CSRF token or cookie ownership checks on the `/login-actions/restart` endpoint,…
Description
org.keycloak/keycloak-services: Session fixation in OIDC login flow that can lead to account takeover
Red Hat statement
This is a Critical session fixation vulnerability in Keycloak's login-actions endpoints. An unauthenticated attacker can pre-create an authentication session and, by exploiting a lack of CSRF token or cookie ownership checks on the `/login-actions/restart` endpoint, reset the flow state to achieve silent Single Sign-On (SSO). This allows for full takeover of the master-realm admin account in default Keycloak deployments.
CVSS v3: 7.5 (CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H)
Errata / fixed releases
| Product | Package | Advisory | Released |
|---|---|---|---|
| Red Hat build of Keycloak 26.2 | rhbk/keycloak-operator-bundle:26.2.16-1 | RHSA-2026:19595 | 2026-05-20T00:00:00Z |
| Red Hat build of Keycloak 26.2 | rhbk/keycloak-rhel9:26.2-21 | RHSA-2026:19595 | 2026-05-20T00:00:00Z |
| Red Hat build of Keycloak 26.2 | rhbk/keycloak-rhel9-operator:26.2-21 | RHSA-2026:19595 | 2026-05-20T00:00:00Z |
| Red Hat build of Keycloak 26.2.16 | rhbk/keycloak-rhel9-operator | RHSA-2026:19594 | 2026-05-20T00:00:00Z |
| Red Hat build of Keycloak 26.4 | rhbk/keycloak-operator-bundle:26.4.12-1 | RHSA-2026:19597 | 2026-05-20T00:00:00Z |
| Red Hat build of Keycloak 26.4 | rhbk/keycloak-rhel9:26.4-17 | RHSA-2026:19597 | 2026-05-20T00:00:00Z |
| Red Hat build of Keycloak 26.4 | rhbk/keycloak-rhel9-operator:26.4-17 | RHSA-2026:19597 | 2026-05-20T00:00:00Z |
| Red Hat build of Keycloak 26.4.12 | rhbk/keycloak-rhel9-operator | RHSA-2026:19596 | 2026-05-20T00:00:00Z |
Apply commands
yum update -y rhbk/keycloak-operator-bundle:26
# or:
dnf upgrade -y rhbk/keycloak-operator-bundle:26
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| redhat | build_of_keycloak | {"startIncluding":"26.4","endExcluding":"26.4.12"} | 26.4.12 |
References
CWEs
CWE-290
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.