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

High 7.5 Published Updated

An attacker can hijack user sessions via a crafted link in Keycloak's login flow, leading to complete account takeover including admin privileges.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2026-7507?

CVE-2026-7507 is a high-severity authentication bypass vulnerability in Redhat Build of Keycloak, published on 19 May 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official 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.

Weakness: CWE-290

Which versions are affected by CVE-2026-7507?

3 open source packages ship an affected version, including org.keycloak:keycloak-services and keycloak. It affects 1 product.

PackageAffectedFixed in
org.keycloak:keycloak-services MavenAll versions26.6.2
org.keycloak:keycloak-services MavenAll versions26.6.2
keycloak BitnamiFrom 26.4.026.4.12

Products include Redhat Build of Keycloak.

How do I fix CVE-2026-7507?

Upgrade org.keycloak:keycloak-services to 26.6.2 or later.

Upgrade, and rotate credentials and sessions that may have been exposed. More about Authentication bypass.

Is CVE-2026-7507 being exploited?

There is no known exploitation of CVE-2026-7507 in the wild and no public exploit code.

All Redhat Build of Keycloak vulnerabilities

Sources

Also known as BIT-keycloak-2026-7507, ECHO-bd3c-e7a2-8a3a, GHSA-hf67-5vvq-fm3r, MINI-29jr-5rgh-pvr3, MINI-55g3-r6c6-8qwp.

Is CVE-2026-7507 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free