CVE-2026-7507: Org.keycloak/keycloak-services: session fixation in oidc login flow that can lead to account takeover
A session fixation vulnerability in Keycloak's login-actions endpoints allows an unauthenticated attacker to pre-create an authentication session, deliver a crafted link to a victim, and claim the resulting required-action form without the victim entering any credentials. A separate endpoint, /login-actions/restart, accepts the session handle with no CSRF token or cookie ownership check, enabling the attacker to reset flow state so that SSO fires silently when the victim clicks the link. The demonstrated impact on the default Keycloak deployment is full takeover of the master-realm admin account.
Other sources
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.
— MITRE
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2026-7507?
CVE-2026-7507 has a severity rating of high, with a CVSS score of 7.5.
What software is affected by CVE-2026-7507?
CVE-2026-7507 affects the org.keycloak:keycloak-services software and the Red Hat Build Of Keycloak.
How do I fix CVE-2026-7507?
To fix CVE-2026-7507, update to the latest version of Keycloak that addresses this vulnerability.
What type of vulnerability is CVE-2026-7507?
CVE-2026-7507 is a session fixation vulnerability that can lead to account takeover.
Who is at risk for CVE-2026-7507?
CVE-2026-7507 poses a risk to users of Keycloak as an unauthenticated attacker can exploit the vulnerability to compromise user accounts.