CVE-2026-7507

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

State
Published
Severity
7.5 High
Published
May 19, 2026
Updated
Oct 6, 2026
Reserved
Apr 30, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.17.5 HighCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:Hredhat
3.17.5 HighCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:Hredhat-SADP

Weaknesses

  • CWE-290 Authentication Bypass by Spoofing

Affected Products

ProductVersions
Red Hat build of Keycloak 26.2Red Hat
  • 26.2.16-1 and laterNot affected
Red Hat build of Keycloak 26.2Red Hat
  • 26.2-21 and laterNot affected
Red Hat build of Keycloak 26.2Red Hat
  • 26.2-21 and laterNot affected
Red Hat build of Keycloak 26.2.16Red Hat
    Red Hat build of Keycloak 26.4Red Hat
    • 26.4.12-1 and laterNot affected
    Red Hat build of Keycloak 26.4Red Hat
    • 26.4-17 and laterNot affected
    Red Hat build of Keycloak 26.4Red Hat
    • 26.4-17 and laterNot affected
    Red Hat build of Keycloak 26.4.12Red Hat
      Red Hat Single Sign-On 7.6.13Red Hat
        Red Hat Single Sign-On 7.6 for RHEL 7Red Hat
        • 0:18.0.20-1.redhat_00001.1.el7sso and laterNot affected
        Red Hat Single Sign-On 7.6 for RHEL 8Red Hat
        • 0:18.0.20-1.redhat_00001.1.el8sso and laterNot affected
        Red Hat Single Sign-On 7.6 for RHEL 9Red Hat
        • 0:18.0.20-1.redhat_00001.1.el9sso and laterNot affected
        RHEL-8 based Middleware ContainersRed Hat
        • 7.6-85 and laterNot affected

        References

        Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.