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

Source: https://junglewise.ai/threats/cve-2026-7507-keycloak-session-fixation-in-login-actions-endpoints  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-05-19. Updated: 2026-06-04  
License: CC BY 4.0 with a link back

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](https://junglewise.ai/threats/technologies/keycloak), [org.keycloak:keycloak-services (Maven)](https://junglewise.ai/threats/technologies/org-keycloak-keycloak-services), [Red Hat build of Keycloak](https://junglewise.ai/threats/technologies/red-hat-keycloak). Vendors: [Keycloak](https://junglewise.ai/threats/vendors/keycloak), [Maven](https://junglewise.ai/threats/vendors/maven), [Red Hat](https://junglewise.ai/threats/vendors/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

  ```sh
  # 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

- [https://access.redhat.com/security/cve/CVE-2026-7507](https://access.redhat.com/security/cve/CVE-2026-7507)
- [https://bugzilla.redhat.com/show_bug.cgi?id=2464145](https://bugzilla.redhat.com/show_bug.cgi?id=2464145)
- [https://access.redhat.com/errata/RHSA-2026:19594](https://access.redhat.com/errata/RHSA-2026:19594)
- [https://access.redhat.com/errata/RHSA-2026:19597](https://access.redhat.com/errata/RHSA-2026:19597)
- [https://access.redhat.com/errata/RHSA-2026:19595](https://access.redhat.com/errata/RHSA-2026:19595)

## Related threats

- [Keycloak login-failure storage synchronization error in MySQL/MariaDB](https://junglewise.ai/threats/cve-2026-112201-a-flaw-was-found-in-the-login-failure-storage-component-of)
- [Keycloak PKCE bypass in login after password reset](https://junglewise.ai/threats/cve-2026-125652-a-flaw-was-found-in-the-keycloak-services-component-of-keycloak)
- [Keycloak server arbitrary code execution in client authorization](https://junglewise.ai/threats/cve-2026-120984-a-flaw-was-found-in-the-keycloak-server-s-client-management)
- [Keycloak token sanitization bypass in protocol mapper](https://junglewise.ai/threats/cve-2026-97848-a-flaw-was-found-in-the-token-sanitization-logic-of-keycloak-an)
- [Keycloak Dynamic Client Registration privilege escalation](https://junglewise.ai/threats/cve-2026-96547-a-flaw-was-found-in-the-dynamic-client-registration-component-of)
