# CVE-2024-7341: Wildfly-elytron: org.keycloak/keycloak-services: session fixation in elytron saml adapters

- Severity: High 7.1 (CVSS:3.1, scored by redhat) `CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.85%, higher than 59% of CVEs (2026-12-02)
- Published: 2024-09-09T18:51:13.537Z
- Modified: 2026-09-08T08:48:06.617Z
- Also known as: GHSA-5rxp-2rhr-qwqv, BIT-KEYCLOAK-2024-7341, GHSA-j76j-rqwj-jmvv
- Weaknesses: CWE-384
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: redhat

## Description

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.

(As written by CVE List.)

## Affected

- org.keycloak:keycloak-services: before 22.0.12; from 23.0.0 before 24.0.7; from 25.0.0 before 25.0.5
- keycloak-services: no versions given
- rhbk/keycloak-operator-bundle: no versions given (not affected: from 22.0.12-1 before *; from 24.0.7-4 before *)
- rhbk/keycloak-rhel9: no versions given (not affected: from 22-17 before *; from 24-16 before *)
- rhbk/keycloak-rhel9-operator: no versions given (not affected: from 22-20 before *; from 24-16 before *)
- rh-sso7-keycloak: no versions given (not affected: from 0:18.0.16-1.redhat_00001.1.el7sso before *; from 0:18.0.16-1.redhat_00001.1.el8sso before *; from 0:18.0.16-1.redhat_00001.1.el9sso before *)
- rh-sso-7/sso76-openshift-rhel8: no versions given (not affected: from 7.6-52 before *)
- org.keycloak:keycloak-services (Maven): before 22.0.12; from 23.0.0 before 24.0.7; from 25.0.0 before 25.0.5
- redhat keycloak: up to 25.0.2
- redhat single_sign-on: from 7.6 before 7.6.10
- redhat build_of_keycloak: from 22.0 before 22.0.12; from 24.0 before 24.0.7
- keycloak (Bitnami): from 22.0.0 before 22.0.12; from 24.0.0 before 24.0.7

## Every score

- redhat: CVSS:3.1 7.1 High `CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.1 7.1 High `CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H`
- GitHub: CVSS:4.0 High `CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N`
- NVD: CVSS:3.1 7.1 High `CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H`
- Bitnami Vulnerability Database: rating High

## References

- <https://access.redhat.com/errata/RHSA-2024:6493> (discussion, mailing-list, vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2024:6494> (discussion, mailing-list, vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2024:6495> (discussion, mailing-list, vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2024:6497> (discussion, mailing-list, vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2024:6499> (discussion, mailing-list, vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2024:6500> (discussion, mailing-list, vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2024:6501> (discussion, mailing-list, vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2024:6502> (discussion, mailing-list, vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2024:6503> (discussion, mailing-list, vendor-advisory, web)
- <https://access.redhat.com/security/cve/CVE-2024-7341> (advisory, vdb-entry, vendor-advisory, web)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2302064> (advisory, issue-tracking, vendor-advisory, web)
- <https://github.com/advisories/GHSA-j76j-rqwj-jmvv> (web)
- <https://github.com/keycloak/keycloak/security/advisories/GHSA-5rxp-2rhr-qwqv> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-7341> (advisory, web)
- <https://github.com/keycloak/keycloak/commit/5e06da2f6794c695051605e26a01affa3a18f66b> (web)
- <https://github.com/keycloak/keycloak/commit/5b3de0c7e7f367103affe2f5167913a2ce021cf1> (web)
- <https://github.com/keycloak/keycloak/commit/2341d6ee7a3567c58fd6a04a419fe4403e13374c> (web)
- <https://github.com/keycloak/keycloak> (package)

## Sources

- CVE List: [CVE-2024-7341](https://www.cve.org/CVERecord?id=CVE-2024-7341), CVE Terms of Use, modified 2026-08-27
- GitHub Advisory Database: [GHSA-5rxp-2rhr-qwqv](https://github.com/advisories/GHSA-5rxp-2rhr-qwqv), CC-BY-4.0, modified 2026-08-26
- GitHub Advisory Database: [GHSA-j76j-rqwj-jmvv](https://github.com/advisories/GHSA-j76j-rqwj-jmvv), CC-BY-4.0, modified 2026-08-26
- NVD: [CVE-2024-7341](https://nvd.nist.gov/vuln/detail/CVE-2024-7341), Public domain, modified 2026-08-27
- Bitnami Vulnerability Database: [BIT-KEYCLOAK-2024-7341](https://osv.dev/vulnerability/BIT-KEYCLOAK-2024-7341), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2024-7341 · Whole record: https://cve.day/CVE-2024-7341.json · Rebuilt by cve.day 2026-11-25T22:58:45.190Z
