{"cve":"CVE-2024-7341","nvd":{"published":"2024-09-09T19:15:14.450","modified":"2026-08-27T13:16:33.747","status":"Modified","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H","score":7.1},"cwes":["CWE-384"],"references":["https://access.redhat.com/errata/RHSA-2024:6493","https://access.redhat.com/errata/RHSA-2024:6494","https://access.redhat.com/errata/RHSA-2024:6495","https://access.redhat.com/errata/RHSA-2024:6497","https://access.redhat.com/errata/RHSA-2024:6499"],"products":["redhat:build_of_keycloak","redhat:keycloak","redhat:single_sign-on"],"source":"nvd","synced_at":"2026-10-19T21:54:38.012257375+00:00"},"epss":{"cve":"CVE-2024-7341","score":0.00848,"percentile":0.58115,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-5rxp-2rhr-qwqv","url":"https://osv.dev/vulnerability/GHSA-5rxp-2rhr-qwqv","summary":"Keycloak has session fixation in Elytron SAML adapters","modified":"2026-08-26T01:11:37.374145928Z","packages":[{"ecosystem":"Maven","name":"org.keycloak:keycloak-services","purl":"pkg:maven/org.keycloak/keycloak-services","ranges":["<22.0.12"],"fixed":["22.0.12"]},{"ecosystem":"Maven","name":"org.keycloak:keycloak-services","purl":"pkg:maven/org.keycloak/keycloak-services","ranges":[">=23.0.0 <24.0.7"],"fixed":["24.0.7"]},{"ecosystem":"Maven","name":"org.keycloak:keycloak-services","purl":"pkg:maven/org.keycloak/keycloak-services","ranges":[">=25.0.0 <25.0.5"],"fixed":["25.0.5"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}