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.
CVE-2024-7341
This high-severity CVE scores 7.1 under NVD CVSS v3. EPSS exploit-prediction score not yet available (the EPSS model rescores nightly; freshly-published CVEs typically appear within 48 hours). GitHub Security Advisory data not yet ingested — confidence will rise once GHSA publishes (typical lag: hours to days for open-source ecosystem CVEs; never for infrastructure-only CVEs).
- High severity, but no confirmed exploitation yet
A fix is available — apply it.
- CVSS v3
- 7.1
- EG Score
- 7.1(low)
- EPSS
- 52.3%
- KEV
- Not listed
Published
September 9, 2024
Last Modified
March 27, 2026
References (12)
- secalert@redhathttps://access.redhat.com/errata/RHSA-2024:6493
- secalert@redhathttps://access.redhat.com/errata/RHSA-2024:6494
- secalert@redhathttps://access.redhat.com/errata/RHSA-2024:6495
- secalert@redhathttps://access.redhat.com/errata/RHSA-2024:6497
- secalert@redhathttps://access.redhat.com/errata/RHSA-2024:6499
- secalert@redhathttps://access.redhat.com/errata/RHSA-2024:6500
- secalert@redhathttps://access.redhat.com/errata/RHSA-2024:6501
- secalert@redhathttps://access.redhat.com/errata/RHSA-2024:6502
- secalert@redhathttps://access.redhat.com/errata/RHSA-2024:6503
- secalert@redhathttps://access.redhat.com/security/cve/CVE-2024-7341
- secalert@redhathttps://bugzilla.redhat.com/show_bug.cgi?id=2302064
- secalert@redhathttps://github.com/advisories/GHSA-j76j-rqwj-jmvv
Patch Availability(7)
| Vendor / Ecosystem | Fixed in / Patch | Released | Source |
|---|---|---|---|
| redhat | org.keycloak/keycloak-services | 2024-09-09 | redhat |
| redhat | rhbk/keycloak-rhel9-operator:22-20 | 2024-09-09 | redhat |
| redhat | rh-sso-7/sso76-openshift-rhel8:7.6-52 | 2024-09-09 | redhat |
| redhat | rhbk/keycloak-rhel9-operator:24-16 | 2024-09-09 | redhat |
| redhat | rh-sso7-keycloak-0:18.0.16-1.redhat_00001.1.el7sso | 2024-09-09 | redhat |
| redhat | rh-sso7-keycloak-0:18.0.16-1.redhat_00001.1.el8sso | 2024-09-09 | redhat |
| redhat | rh-sso7-keycloak-0:18.0.16-1.redhat_00001.1.el9sso | 2024-09-09 | redhat |
Patches are aggregated from vendor advisories (Red Hat, Microsoft, Cisco, GitHub) and package ecosystems (OSV, GHSA). Multiple rows for the same upstream release have been deduplicated.
Affected Packages
(1 across 1 ecosystem)
Maven(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| org.keycloak:keycloak-services | 25.0.0, 25.0.1, 25.0.2, 25.0.3, 25.0.4 | 25.0.5 | — |
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
All Vendor Advisories
(9)
Every vendor that published an advisory referencing this CVE — pulled from our cve_vendor_advisories aggregation. Click any row for the vendor's original advisory page.
- Red HatRHSA-2024:6493MODERATE2024-09-09
RHSA-2024:6493 — Moderate
- Red HatRHSA-2024:6494MODERATE2024-09-09
RHSA-2024:6494 — Moderate
- Red HatRHSA-2024:6495MODERATE2024-09-09
RHSA-2024:6495 — Moderate
- Red HatRHSA-2024:6497MODERATE2024-09-09
RHSA-2024:6497 — Moderate
- Red HatRHSA-2024:6499MODERATE2024-09-09
RHSA-2024:6499 — Moderate
- Red HatRHSA-2024:6500MODERATE2024-09-09
RHSA-2024:6500 — Moderate
- Red HatRHSA-2024:6501MODERATE2024-09-09
RHSA-2024:6501 — Moderate
- Red HatRHSA-2024:6502MODERATE2024-09-09
RHSA-2024:6502 — Moderate
- Red HatRHSA-2024:6503MODERATE2024-09-09
RHSA-2024:6503 — Moderate
Frequently asked(5)
What is CVE-2024-7341?
When was CVE-2024-7341 disclosed?
Is CVE-2024-7341 actively exploited?
What is the CVSS score of CVE-2024-7341?
How do I remediate CVE-2024-7341?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2024-7341
Is Your Infrastructure Affected by CVE-2024-7341?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.