# CVE-2024-7260: Keycloak-core: open redirect on account page

- Severity: Medium 6.1 (CVSS:3.1, scored by redhat) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- 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.58%, higher than 49% of CVEs (2026-12-01)
- Published: 2024-09-09T18:49:59.437Z
- Modified: 2026-11-26T20:19:02.730Z
- Also known as: GHSA-g4gc-rh26-m3p5, BIT-KEYCLOAK-2024-7260
- Weaknesses: CWE-601
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: redhat

## Description

An open redirect vulnerability was found in Keycloak. A specially crafted URL can be constructed where the referrer and referrer_uri parameters are made to trick a user to visit a malicious webpage. A trusted URL can trick users and automation into believing that the URL is safe, when, in fact, it redirects to a malicious server. This issue can result in a victim inadvertently trusting the destination of the redirect, potentially leading to a successful phishing attack or other types of attacks.

Once a crafted URL is made, it can be sent to a Keycloak admin via email for example. This will trigger this vulnerability when the user visits the page and clicks the link. A malicious actor can use this to target users they know are Keycloak admins for further attacks. It may also be possible to bypass other domain-related security checks, such as supplying this as a OAuth redirect uri. The malicious actor can further obfuscate the redirect_uri using URL encoding, to hide the text of the actual malicious website domain.

(As written by CVE List.)

## Affected

- keycloak: before 24.0.7
- keycloak-core: no versions given
- rhbk/keycloak-operator-bundle: no versions given (not affected: from 24.0.7-4 before *)
- rhbk/keycloak-rhel9: no versions given (not affected: from 24-16 before *)
- rhbk/keycloak-rhel9-operator: no versions given (not affected: from 24-16 before *)
- org.keycloak:keycloak-core (Maven): before 24.0.7
- redhat build_of_keycloak: before 24.0.7
- redhat keycloak: before 24.0.7
- keycloak (Bitnami): before 24.0.7

## Every score

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

## References

- <https://access.redhat.com/errata/RHSA-2024:6502> (issue-tracking, report, vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2024:6503> (issue-tracking, report, vendor-advisory, web)
- <https://access.redhat.com/security/cve/CVE-2024-7260> (advisory, vdb-entry, vendor-advisory, web)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2301875> (advisory, issue-tracking, vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-7260> (advisory, web)
- <https://github.com/keycloak/keycloak> (package)

## Sources

- CVE List: [CVE-2024-7260](https://www.cve.org/CVERecord?id=CVE-2024-7260), CVE Terms of Use, modified 2026-11-26
- GitHub Advisory Database: [GHSA-g4gc-rh26-m3p5](https://github.com/advisories/GHSA-g4gc-rh26-m3p5), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2024-7260](https://nvd.nist.gov/vuln/detail/CVE-2024-7260), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-KEYCLOAK-2024-7260](https://osv.dev/vulnerability/BIT-KEYCLOAK-2024-7260), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2024-7260 · Whole record: https://cve.day/CVE-2024-7260.json · Rebuilt by cve.day 2026-11-26T20:22:21.358Z
