CVE-2026-7507: Keycloak session fixation in login-actions endpoints

CVE-2026-7507 · Severity: high · CVSS 7.5 · Published 2026-05-19

Keycloak, a popular identity and access management solution, is vulnerable to a session fixation flaw that could allow an attacker to take over user accounts. By tricking a victim into clicking a malicious link, an attacker can hijack the login process and gain access to the victim's account without needing their password. This could lead to a complete compromise of sensitive data or administrative control over the entire authentication system.

Technologies: Keycloak, org.keycloak:keycloak-services (Maven), Red Hat build of Keycloak. Vendors: Keycloak, Maven, Red Hat.

Quick answers

Is CVE-2026-7507 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-7507 being exploited in the wild.
How severe is CVE-2026-7507?
High severity, with a CVSS score of 7.5, published 19 May 2026.
Which products and versions are affected?
Keycloak < 26.6.2; org.keycloak:keycloak-services (Maven) < 26.6.2, ECOSYSTEM:introduced=0,fixed=26.6.2; Red Hat build of Keycloak 26.4.x < 26.4.12, 26.2.x < 26.2.16.
Is there a fix for CVE-2026-7507?
Yes. org.keycloak:keycloak-services (Maven): upgrade to 26.6.2 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
How is CVE-2026-7507 attacked?
It is attacked over the network, in a software library.
Am I affected by CVE-2026-7507?
Check whether you run Keycloak, org.keycloak:keycloak-services (Maven) or Red Hat build of Keycloak at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • org.keycloak:keycloak-services (Maven): upgrade to 26.6.2 or later
    # set org.keycloak:keycloak-services to 26.6.2 in your pom.xml or build.gradle

Technical details

A session fixation vulnerability exists in Keycloak's login-actions endpoints, specifically within the /login-actions/restart component. The endpoint processes session handles without sufficient CSRF protection or cookie ownership validation, allowing an unauthenticated attacker to pre-create an authentication session and reset its state. When a victim visits a maliciously crafted link, Single Sign-On (SSO) may transparently authenticate them, allowing the attacker to hijack 'required-action' forms. This can result in full account takeover, including administrative accounts in the master realm. The vulnerability is patched in Keycloak version 26.6.2 and corresponding Red Hat builds.

Affected products

  • Keycloak keycloak-services < 26.6.2
  • Red Hat Red Hat build of Keycloak 26.4.x < 26.4.12, 26.2.x < 26.2.16

Identifiers

  • CVE-2026-7507
  • GHSA-hf67-5vvq-fm3r

Timeline

  • 2026-04-30: other: Reported to Red Hat Bugzilla
  • 2026-05-19: advisory: GitHub Advisory and NVD publication
  • 2026-05-20: patched: Red Hat released security updates (RHSA-2026:19594)

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.