CVE-2026-7507: Org.keycloak/keycloak-services: session fixation in oidc login flow that can lead to account takeover

Published Apr 30, 2026
·
Updated

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

2 affected components
maven/org.keycloak/keycloak-services
redhat Build Of Keycloak>=26.4<26.4.12

Event History

Apr 30, 2026
Data Sourced
via Red Hat·02:59 PM
DescriptionSeverityAffected Software
May 19, 2026
CVE Published
via MITRE·11:01 AM
Data Sourced
via MITRE·11:01 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·12:16 PM
DescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-7507?

CVE-2026-7507 has a severity rating of high, with a CVSS score of 7.5.

2

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.

3

How do I fix CVE-2026-7507?

To fix CVE-2026-7507, update to the latest version of Keycloak that addresses this vulnerability.

4

What type of vulnerability is CVE-2026-7507?

CVE-2026-7507 is a session fixation vulnerability that can lead to account takeover.

5

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.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203