Org.keycloak/keycloak-services: session fixation in oidc login flow that can lead to account takeover
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- High
- Impact type
- Security bypass
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-290.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Red Hat | Red Hat build of Keycloak 26.2 | — | 26.2.16-1 | Patch available | CNA |
| Red Hat | Red Hat build of Keycloak 26.2 | — | 26.2-21 | Patch available | CNA |
| Red Hat | Red Hat build of Keycloak 26.2 | — | 26.2-21 | Patch available | CNA |
| Red Hat | Red Hat build of Keycloak 26.2.16 | — | — | Not affected | CNA |
| Red Hat | Red Hat build of Keycloak 26.4 | — | 26.4.12-1 | Patch available | CNA |
| Red Hat | Red Hat build of Keycloak 26.4 | — | 26.4-17 | Patch available | CNA |
| Red Hat | Red Hat build of Keycloak 26.4 | — | 26.4-17 | Patch available | CNA |
| Red Hat | Red Hat build of Keycloak 26.4.12 | — | — | Not affected | CNA |
| Red Hat | Red Hat Single Sign-On 7.6.13 | — | — | Not affected | CNA |
| Red Hat | Red Hat Single Sign-On 7.6 for RHEL 7 | — | 18.0.20-1.redhat_00001.1.el7sso | Patch available | CNA |
| Red Hat | Red Hat Single Sign-On 7.6 for RHEL 8 | — | 18.0.20-1.redhat_00001.1.el8sso | Patch available | CNA |
| Red Hat | Red Hat Single Sign-On 7.6 for RHEL 9 | — | 18.0.20-1.redhat_00001.1.el9sso | Patch available | CNA |
| Red Hat | RHEL-8 based Middleware Containers | — | 7.6-85 | Patch available | CNA |
| — | org.keycloak:keycloak-services (Maven) | before 26.6.2 | 26.6.2 | Patch available | GHSA-hf67-5vvq-fm3r |
- Red Hat build of Keycloak 26.2 VendorRed Hat Affected — Fixed in 26.2.16-1 Patch available CNA
- Red Hat build of Keycloak 26.2 VendorRed Hat Affected — Fixed in 26.2-21 Patch available CNA
- Red Hat build of Keycloak 26.2 VendorRed Hat Affected — Fixed in 26.2-21 Patch available CNA
- Red Hat build of Keycloak 26.2.16 VendorRed Hat Affected — Fixed in — Not affected CNA
- Red Hat build of Keycloak 26.4 VendorRed Hat Affected — Fixed in 26.4.12-1 Patch available CNA
- Red Hat build of Keycloak 26.4 VendorRed Hat Affected — Fixed in 26.4-17 Patch available CNA
- Red Hat build of Keycloak 26.4 VendorRed Hat Affected — Fixed in 26.4-17 Patch available CNA
- Red Hat build of Keycloak 26.4.12 VendorRed Hat Affected — Fixed in — Not affected CNA
- Red Hat Single Sign-On 7.6.13 VendorRed Hat Affected — Fixed in — Not affected CNA
- Red Hat Single Sign-On 7.6 for RHEL 7 VendorRed Hat Affected — Fixed in 18.0.20-1.redhat_00001.1.el7sso Patch available CNA
- Red Hat Single Sign-On 7.6 for RHEL 8 VendorRed Hat Affected — Fixed in 18.0.20-1.redhat_00001.1.el8sso Patch available CNA
- Red Hat Single Sign-On 7.6 for RHEL 9 VendorRed Hat Affected — Fixed in 18.0.20-1.redhat_00001.1.el9sso Patch available CNA
- RHEL-8 based Middleware Containers VendorRed Hat Affected — Fixed in 7.6-85 Patch available CNA
- org.keycloak:keycloak-services (Maven) Vendor— Affected before 26.6.2 Fixed in 26.6.2 Patch available GHSA-hf67-5vvq-fm3r
Remediation
- Fix · GHSA-hf67-5vvq-fm3r org.keycloak:keycloak-services (Maven) Fixed in 26.6.2 Advisory →
Red Hat 9 advisories
- RHSA-2026:76128 Released 2026-10-06 · Red Hat rating ImportantRed Hat Single Sign-On 7.6.13 security update on RHEL 7
- Red Hat Single Sign-On 7.6 for RHEL 7 Server rh-sso7-keycloak-18.0.20-1.redhat_00001.1.el7sso, rh-sso7-keycloak-server-18.0.20-1.redhat_00001.1.el7sso
- RHSA-2026:76130 Released 2026-10-06 · Red Hat rating ImportantRed Hat Single Sign-On 7.6.13 security update on RHEL 9
- Red Hat Single Sign-On 7.6 for RHEL 9 rh-sso7-keycloak-18.0.20-1.redhat_00001.1.el9sso, rh-sso7-keycloak-server-18.0.20-1.redhat_00001.1.el9sso
- RHSA-2026:76129 Released 2026-10-06 · Red Hat rating ImportantRed Hat Single Sign-On 7.6.13 security update on RHEL 8
- Red Hat Single Sign-On 7.6 for RHEL 8 rh-sso7-keycloak-18.0.20-1.redhat_00001.1.el8sso, rh-sso7-keycloak-server-18.0.20-1.redhat_00001.1.el8sso
Show 6 more Red Hat advisories
- RHSA-2026:76134 Released 2026-10-05 · Red Hat rating ImportantRed Hat Single Sign-On 7.6.13 for OpenShift image security update
- Middleware Containers for OpenShift rh-sso-7/sso76-openshift-rhel8
- RHSA-2026:76132 Released 2026-10-05 · Red Hat rating ImportantRed Hat Single Sign-On 7.6.13 security update
- Red Hat Single Sign-On 7.6.13
- RHSA-2026:19597 Released 2026-05-20 · Red Hat rating ImportantRed Hat build of Keycloak 26.4.12 Images Security Update
- Red Hat build of Keycloak 26.4 rhbk/keycloak-operator-bundle, rhbk/keycloak-rhel9, rhbk/keycloak-rhel9-operator
- RHSA-2026:19594 Released 2026-05-20 · Red Hat rating ImportantRed Hat build of Keycloak 26.2.16 Security Update
- Red Hat build of Keycloak 26.2.16
- RHSA-2026:19596 Released 2026-05-20 · Red Hat rating ImportantRed Hat build of Keycloak 26.4.12 Security Update
- Red Hat build of Keycloak 26.4.12
- RHSA-2026:19595 Released 2026-05-20 · Red Hat rating ImportantRed Hat build of Keycloak 26.2.16 Images Security Update
- Red Hat build of Keycloak 26.2 rhbk/keycloak-operator-bundle, rhbk/keycloak-rhel9, rhbk/keycloak-rhel9-operator
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Advisory ·
Red Hat RHEL-8 based Middleware Containers, Red Hat Single Sign-On 7.6 for RHEL 7 and 7 more products — RHSA-2026:19594
3 records Highest priority Priority MEDIUM 1 MEDIUM, 2 LOW
Other records, highest priority first
- TI-2026-06414 Keycloak: keycloak: denial of service via specially crafted saml inputPriority MEDIUM 40
- TI-2026-06594 Org.keycloak/keycloak-services: open redirect when using wildcard valid redirect uris in keycloakPriority LOW 38
- Advisory ·
Red Hat RHEL-8 based Middleware Containers, Red Hat Single Sign-On 7.6 for RHEL 7 and 7 more products — RHSA-2026:19595
3 records Highest priority Priority MEDIUM 1 MEDIUM, 2 LOW
Other records, highest priority first
- TI-2026-06414 Keycloak: keycloak: denial of service via specially crafted saml inputPriority MEDIUM 40
- TI-2026-06594 Org.keycloak/keycloak-services: open redirect when using wildcard valid redirect uris in keycloakPriority LOW 38
Vendor assessments
Red Hat
Red Hat rating: Important. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Middleware Containers for OpenShift | Fixed | RHSA-2026:76134 |
| Red Hat Single Sign-On 7.6 for RHEL 7 Server | Fixed | RHSA-2026:76128 |
| Red Hat Single Sign-On 7.6 for RHEL 8 | Fixed | RHSA-2026:76129 |
| Red Hat Single Sign-On 7.6 for RHEL 9 | Fixed | RHSA-2026:76130 |
| Red Hat Single Sign-On 7.6.13 | Fixed | RHSA-2026:76132 |
| Red Hat build of Keycloak 26.2 | Fixed | RHSA-2026:19595 |
| Red Hat build of Keycloak 26.2.16 | Fixed | RHSA-2026:19594 |
| Red Hat build of Keycloak 26.4 | Fixed | RHSA-2026:19597 |
| Red Hat build of Keycloak 26.4.12 | Fixed | RHSA-2026:19596 |
Timeline
- 2026-10-02 Threatist record created from CVE-2026-7507
- 2026-10-03 Alias added: GHSA-hf67-5vvq-fm3r
- 2026-10-06 Fix available: rh-sso-7/[email protected] · CNA
- 2026-10-06 2 new references · CNA
- 2026-10-06 Fix available: RHSA-2026:76134 · Red Hat
- 2026-10-06 Fix available: RHSA-2026:76132 · Red Hat
- 2026-10-06 Fix available: RHSA-2026:76129 · Red Hat
- 2026-10-06 Fix available: RHSA-2026:76130 · Red Hat
- 2026-10-06 Fix available: Middleware Containers for OpenShift, Red Hat Single Sign-On 7.6 for RHEL 8, Red Hat Single Sign-On 7.6 for RHEL 9 +1 · Red Hat
- 2026-10-06 Fix available: rh-sso7-keycloak@0:18.0.20-1.redhat_00001.1.el8sso, rh-sso7-keycloak@0:18.0.20-1.redhat_00001.1.el9sso · CNA
- 2026-10-06 2 new references · CNA
- 2026-10-06 Fix available: rh-sso7-keycloak@0:18.0.20-1.redhat_00001.1.el7sso · CNA
- 2026-10-06 1 new reference · CNA
- 2026-10-07 Fix available: RHSA-2026:76128 · Red Hat
- 2026-10-07 Fix available: Red Hat Single Sign-On 7.6 for RHEL 7 Server · Red Hat
References
Advisory 12
More Red Hat Build Of Keycloak vulnerabilities
- TI-2026-02223 Keycloak: keycloak: unauthorized authentication via disabled saml identity provider CVSS 3.1HIGH 8.1
- TI-2024-01049 Keycloak: path transversal in redirection validation CVSS 3.1HIGH 8.1
- TI-2026-13740 Keycloak-services: keycloak-services: saml idp-initiated broker login bypasses link-only restriction CVSS 3.1CRITICAL 9.8
- TI-2026-13741 Keycloak-services: keycloak-services: saml broker metadata import disables response signature validation CVSS 3.1CRITICAL 9.1
- TI-2026-13106 Keycloak-services: keycloak-services: dcr protocol mapper type-swap policy bypass allows privilege escalation CVSS 3.1HIGH 8.8
- TI-2026-02631 Authentication bypass in Red Hat build of Keycloak 26.2 CVSS 3.1HIGH 8.8
Sources
- CVE-2026-7507 · CVE Program
- CVE-2026-7507 · NVD
- FIRST EPSS
- GHSA-hf67-5vvq-fm3r · GitHub Advisory Database · CC BY 4.0
- CVE-2026-7507 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences