CVE-2024-7341

HIGH
Published Sep 9, 2024 Modified Mar 27, 2026 CWE-384

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.

Is your site exposed to CVE-2024-7341?

Run a free security scan — no signup, results in seconds.

CVSS v3.1 Score

7.1
HIGH
CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H

Weakness Type (CWE)

CWE-384 CWE-384

Affected Products

Vendor Product
redhat keycloak
redhat single_sign-on
redhat enterprise_linux
redhat enterprise_linux
redhat enterprise_linux
redhat build_of_keycloak
redhat build_of_keycloak
redhat single_sign-on

References

Frequently Asked Questions

What is CVE-2024-7341? +
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. It has a CVSS v3.1 base score of 7.1 (HIGH).
How severe is CVE-2024-7341? +
CVE-2024-7341 has a CVSS v3.1 score of 7.1 out of 10, rated HIGH. This is a high-severity vulnerability that should be prioritized for patching.
What products are affected by CVE-2024-7341? +
CVE-2024-7341 affects products from redhat, specifically: build_of_keycloak, enterprise_linux, keycloak, single_sign-on. Check the affected products table above for specific version ranges.
How do I check if I'm vulnerable to CVE-2024-7341? +
You can use Secably's free Website Scanner to check your website for known vulnerabilities. For infrastructure scanning, use the Port Scanner to identify exposed services that may be affected. Check the vendor advisories linked above for specific patch and version information.

Related Vulnerabilities

Don't wait for an exploit

Scan your website for vulnerabilities like CVE-2024-7341 — free, no signup required.