Skip to content
OpenAdvisories

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.

Affected products

VendorProductAffectedFixed
Red Hat Red Hat build of Keycloak 26.2 — —
Red Hat Red Hat build of Keycloak 26.2.16 — —
Red Hat Red Hat build of Keycloak 26.4 — —
Red Hat Red Hat build of Keycloak 26.4.12 — —
Red Hat Red Hat Single Sign-On 7.6.13 — —
Red Hat Red Hat Single Sign-On 7.6 for RHEL 7 — —
Red Hat Red Hat Single Sign-On 7.6 for RHEL 8 — —
Red Hat Red Hat Single Sign-On 7.6 for RHEL 9 — —
Red Hat RHEL-8 based Middleware Containers — —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Red Hat Single Sign On 7 rh-sso7-keycloak +1 18.0.20-1.redhat_00001.1.el7sso RHSA-2026:76130, RHSA-2026:76129, RHSA-2026:76128

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling keycloak-26.5 +2 No fix yet —

Affected packages

EcosystemPackageAffectedFixedRecord
Maven org.keycloak:keycloak-services < 26.6.2 26.6.2 GHSA-hf67-5vvq-fm3r

Advisories 4

References