Read the docs
TI-2024-06802 Aliases CVE-2024-7341GHSA-5rxp-2rhr-qwqv

Wildfly-elytron: org.keycloak/keycloak-services: session fixation in elytron saml adapters

Priority LOW 35CWE-384Published · Updated

Key facts

Attack vector
Network
Privileges required
Low
User interaction
Required
Attack complexity
High
Impact type
Spoofing
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-384.

Summary

A session fixation issue was discovered in the SAML adapters provided by Keycloak. The session ID and JSESSIONID cookie are not changed at login time, even when the turnOffChangeSessionIdOnLogin option is configured. This flaw allows an attacker who hijacks the current session before authentication to trigger session fixation.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00848 58th percentileScored 2026-11-07
Fix Fixed org.keycloak:keycloak-services: 22.0.12, 24.0.7, 25.0.5org.keycloak:keycloak-services (Maven): 22.0.12, 24.0.7, 25.0.5Red Hat: 9 advisories

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

VendorProductAffected versionsFixed inStatusSource
—org.keycloak:keycloak-servicesbefore 22.0.12; 23.0.0 to before 24.0.7; 25.0.0 to before 25.0.522.0.12, 24.0.7, 25.0.5Patch availableCNA
Red HatRed Hat Build of Keycloak——Not affectedCNA
Red HatRed Hat Build of Keycloak——Not affectedCNA
Red HatRed Hat build of Keycloak 22—22.0.12-1Patch availableCNA
Red HatRed Hat build of Keycloak 22—22-17Patch availableCNA
Red HatRed Hat build of Keycloak 22—22-20Patch availableCNA
Red HatRed Hat build of Keycloak 24—24.0.7-4Patch availableCNA
Red HatRed Hat build of Keycloak 24—24-16Patch availableCNA
Red HatRed Hat build of Keycloak 24—24-16Patch availableCNA
Red HatRed Hat Single Sign-On 7——Not affectedCNA
Red HatRed Hat Single Sign-On 7.6 for RHEL 7—18.0.16-1.redhat_00001.1.el7ssoPatch availableCNA
Red HatRed Hat Single Sign-On 7.6 for RHEL 8—18.0.16-1.redhat_00001.1.el8ssoPatch availableCNA
Red HatRed Hat Single Sign-On 7.6 for RHEL 9—18.0.16-1.redhat_00001.1.el9ssoPatch availableCNA
Red HatRHEL-8 based Middleware Containers—7.6-52Patch availableCNA
Red HatRed Hat JBoss Enterprise Application Platform 8——Not affectedCNA
—org.keycloak:keycloak-services (Maven)before 22.0.1222.0.12Patch availableGHSA-5rxp-2rhr-qwqv
—org.keycloak:keycloak-services (Maven)23.0.0 to before 24.0.724.0.7Patch availableGHSA-5rxp-2rhr-qwqv
—org.keycloak:keycloak-services (Maven)25.0.0 to before 25.0.525.0.5Patch availableGHSA-5rxp-2rhr-qwqv
  • org.keycloak:keycloak-services Vendor— Affected before 22.0.12; 23.0.0 to before 24.0.7; 25.0.0 to before 25.0.5 Fixed in 22.0.12, 24.0.7, 25.0.5 Patch available CNA
  • Red Hat Build of Keycloak VendorRed Hat Affected — Fixed in — Not affected CNA
  • Red Hat Build of Keycloak VendorRed Hat Affected — Fixed in — Not affected CNA
  • Red Hat build of Keycloak 22 VendorRed Hat Affected — Fixed in 22.0.12-1 Patch available CNA
  • Red Hat build of Keycloak 22 VendorRed Hat Affected — Fixed in 22-17 Patch available CNA
  • Red Hat build of Keycloak 22 VendorRed Hat Affected — Fixed in 22-20 Patch available CNA
  • Red Hat build of Keycloak 24 VendorRed Hat Affected — Fixed in 24.0.7-4 Patch available CNA
  • Red Hat build of Keycloak 24 VendorRed Hat Affected — Fixed in 24-16 Patch available CNA
  • Red Hat build of Keycloak 24 VendorRed Hat Affected — Fixed in 24-16 Patch available CNA
  • Red Hat Single Sign-On 7 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.16-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.16-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.16-1.redhat_00001.1.el9sso Patch available CNA
  • RHEL-8 based Middleware Containers VendorRed Hat Affected — Fixed in 7.6-52 Patch available CNA
  • Red Hat JBoss Enterprise Application Platform 8 VendorRed Hat Affected — Fixed in — Not affected CNA
  • org.keycloak:keycloak-services (Maven) Vendor— Affected before 22.0.12 Fixed in 22.0.12 Patch available GHSA-5rxp-2rhr-qwqv
  • org.keycloak:keycloak-services (Maven) Vendor— Affected 23.0.0 to before 24.0.7 Fixed in 24.0.7 Patch available GHSA-5rxp-2rhr-qwqv
  • org.keycloak:keycloak-services (Maven) Vendor— Affected 25.0.0 to before 25.0.5 Fixed in 25.0.5 Patch available GHSA-5rxp-2rhr-qwqv

CPE configurations NVD · 7

CPEVersionsRoleVendor
cpe:2.3:a:redhat:keycloak:*:*:*:*:*:*:*:*up to 25.0.2VulnerableRed Hat
cpe:2.3:a:redhat:single_sign-on:*:*:*:*:*:*:*:*7.6 to before 7.6.10VulnerableRed Hat
cpe:2.3:o:redhat:enterprise_linux:7.0:*:*:*:*:*:*:*7.0Running onRed Hat
cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:*8.0Running onRed Hat
cpe:2.3:o:redhat:enterprise_linux:9.0:*:*:*:*:*:*:*9.0Running onRed Hat
cpe:2.3:a:redhat:build_of_keycloak:*:*:*:*:*:*:*:*22.0 to before 22.0.12; 24.0 to before 24.0.7VulnerableRed Hat
cpe:2.3:a:redhat:single_sign-on:-:*:*:*:text-only:*:*:*not specified by NVDVulnerableRed Hat
  • cpe:2.3:a:redhat:keycloak:*:*:*:*:*:*:*:* Versions up to 25.0.2 Vulnerable ·Red Hat
  • cpe:2.3:a:redhat:single_sign-on:*:*:*:*:*:*:*:* Versions 7.6 to before 7.6.10 Vulnerable ·Red Hat
  • cpe:2.3:o:redhat:enterprise_linux:7.0:*:*:*:*:*:*:* Versions 7.0 Running on ·Red Hat
  • cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:* Versions 8.0 Running on ·Red Hat
  • cpe:2.3:o:redhat:enterprise_linux:9.0:*:*:*:*:*:*:* Versions 9.0 Running on ·Red Hat
  • cpe:2.3:a:redhat:build_of_keycloak:*:*:*:*:*:*:*:* Versions 22.0 to before 22.0.12; 24.0 to before 24.0.7 Vulnerable ·Red Hat
  • cpe:2.3:a:redhat:single_sign-on:-:*:*:*:text-only:*:*:* Versions not specified by NVD Vulnerable ·Red Hat

Remediation

  • Fix · CNA org.keycloak:keycloak-services Fixed in 22.0.12, 24.0.7, 25.0.5
  • Fix · GHSA-5rxp-2rhr-qwqv org.keycloak:keycloak-services (Maven) Fixed in 22.0.12 Advisory →
  • Fix · GHSA-5rxp-2rhr-qwqv org.keycloak:keycloak-services (Maven) Fixed in 24.0.7 Advisory →
  • Fix · GHSA-5rxp-2rhr-qwqv org.keycloak:keycloak-services (Maven) Fixed in 25.0.5 Advisory →

Red Hat 9 advisories

  • RHSA-2024:6497 Released 2024-09-09 · Red Hat rating Moderate
    Red Hat Single Sign-On 7.6.10 for OpenShift image enhancement update
    • Middleware Containers for OpenShift rh-sso-7/sso76-openshift-rhel8
  • RHSA-2024:6495 Released 2024-09-09 · Red Hat rating Moderate
    Red Hat Single Sign-On 7.6.10 security update on RHEL 9
    • Red Hat Single Sign-On 7.6 for RHEL 9 rh-sso7-keycloak-18.0.16-1.redhat_00001.1.el9sso, rh-sso7-keycloak-server-18.0.16-1.redhat_00001.1.el9sso
  • RHSA-2024:6500 Released 2024-09-09 · Red Hat rating Moderate
    Red Hat build of Keycloak 22.0.12 Images Update
    • Red Hat build of Keycloak 22 rhbk/keycloak-operator-bundle, rhbk/keycloak-rhel9, rhbk/keycloak-rhel9-operator
Show 6 more Red Hat advisories
  • RHSA-2024:6503 Released 2024-09-09 · Red Hat rating Moderate
    Red Hat build of Keycloak 24.0.7 Update
    • Red Hat Build of Keycloak
  • RHSA-2024:6502 Released 2024-09-09 · Red Hat rating Moderate
    Red Hat build of Keycloak 24.0.7 Images Update
    • Red Hat build of Keycloak 24 rhbk/keycloak-operator-bundle, rhbk/keycloak-rhel9, rhbk/keycloak-rhel9-operator
  • RHSA-2024:6494 Released 2024-09-09 · Red Hat rating Moderate
    Red Hat Single Sign-On 7.6.10 security update on RHEL 8
    • Red Hat Single Sign-On 7.6 for RHEL 8 rh-sso7-keycloak-18.0.16-1.redhat_00001.1.el8sso, rh-sso7-keycloak-server-18.0.16-1.redhat_00001.1.el8sso
  • RHSA-2024:6501 Released 2024-09-09 · Red Hat rating Moderate
    Red Hat build of Keycloak 22.0.12 Update
    • Red Hat Build of Keycloak
  • RHSA-2024:6493 Released 2024-09-09 · Red Hat rating Moderate
    Red Hat Single Sign-On 7.6.10 security update on RHEL 7
    • Red Hat Single Sign-On 7.6 for RHEL 7 Server rh-sso7-keycloak-18.0.16-1.redhat_00001.1.el7sso, rh-sso7-keycloak-server-18.0.16-1.redhat_00001.1.el7sso
  • RHSA-2024:6499 Released 2024-09-09 · Red Hat rating Moderate
    Red Hat Single Sign-On 7.6.10 security update
    • Red Hat Single Sign-On 7

Fixed in the same release

Records fixed by the same vendor advisory or release, as the CNA lists them.

  • Advisory ·

    Red Hat Build of Keycloak, Red Hat build of Keycloak 24 — RHSA-2024:6502

    3 records Highest priority Priority LOW 3 LOW

    Other records, highest priority first

    • TI-2024-06725 Keycloak-core: open redirect on account pagePriority LOW 28
    • TI-2024-06779 Keycloak-core: one time passcode (otp) is valid longer than expiration timeseverityPriority LOW 22
  • Advisory ·

    Red Hat Build of Keycloak, Red Hat build of Keycloak 24 — RHSA-2024:6503

    3 records Highest priority Priority LOW 3 LOW

    Other records, highest priority first

    • TI-2024-06725 Keycloak-core: open redirect on account pagePriority LOW 28
    • TI-2024-06779 Keycloak-core: one time passcode (otp) is valid longer than expiration timeseverityPriority LOW 22

Vendor assessments

Red Hat

Red Hat rating: Moderate. Red Hat's page for this CVE →

ProductStatusPlan or fix
Middleware Containers for OpenShiftFixed RHSA-2024:6497
Red Hat Build of KeycloakFixed RHSA-2024:6501
Red Hat Single Sign-On 7Fixed RHSA-2024:6499
Red Hat Single Sign-On 7.6 for RHEL 7 ServerFixed RHSA-2024:6493
Red Hat Single Sign-On 7.6 for RHEL 8Fixed RHSA-2024:6494
Red Hat Single Sign-On 7.6 for RHEL 9Fixed RHSA-2024:6495
Red Hat build of Keycloak 22Fixed RHSA-2024:6500
Red Hat build of Keycloak 24Fixed RHSA-2024:6502
Not affected: 1 product
  • Red Hat JBoss Enterprise Application Platform 8

Timeline

  1. 2026-10-02 Threatist record created from CVE-2024-7341
  2. 2026-10-03 Alias added: GHSA-5rxp-2rhr-qwqv

References

  • 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
See all 110 →

Sources