CVE-2024-7260
MEDIUM 6.1CVSS 3.1Keycloak-core: open redirect on account page
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.
- Published
- 9 Sep 2024
- Last modified
- 26 Nov 2026
- Assigned by
- secalert@redhat.com
- NVD status
- Modified
- Weakness
- CWE-601
- Also known as
- BIT-keycloak-2024-7260GHSA-g4gc-rh26-m3p5
- Sources
- NVDJSONCVE ListJSONOSV GHSA-g4gc-rh26-m3p5JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | 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 | secalert@redhat.com (Secondary) | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| CVE List | redhat | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 4.4 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N |
| CVE List | CISA-ADP | SSVC | Exploitation: none; Automatable: no; Technical Impact: partial |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | redhat | build_of_keycloakcpe:2.3:a:redhat:build_of_keycloak:*:*:*:*:*:*:*:* |
< 24.0.7 | 24.0.7 |
| NVD | redhat | keycloakcpe:2.3:a:redhat:keycloak:*:*:*:*:*:*:*:* |
< 24.0.7 | 24.0.7 |
| CVE List | https://github.com/keycloak/keycloak | keycloak | < 24.0.7 | 24.0.7 |
| CVE List | https://access.redhat.com/downloads/content/package-browser/ | keycloak-corecpe:/a:redhat:build_keycloak:24 |
||
| CVE List | https://catalog.redhat.com/software/containers/ | rhbk/keycloak-operator-bundlecpe:/a:redhat:build_keycloak:24::el9 |
all versions | |
| CVE List | https://catalog.redhat.com/software/containers/ | rhbk/keycloak-rhel9cpe:/a:redhat:build_keycloak:24::el9 |
all versions | |
| CVE List | https://catalog.redhat.com/software/containers/ | rhbk/keycloak-rhel9-operatorcpe:/a:redhat:build_keycloak:24::el9 |
all versions | |
| OSV | Maven | org.keycloak:keycloak-core | < 24.0.7 | 24.0.7 |
References
- https://access.redhat.com/errata/RHSA-2024:6502 · Issue Tracking, vendor-advisory, x_refsource_REDHAT, WEB
- https://access.redhat.com/errata/RHSA-2024:6503 · Issue Tracking, vendor-advisory, x_refsource_REDHAT, WEB
- https://access.redhat.com/security/cve/CVE-2024-7260 · Vendor Advisory, vdb-entry, x_refsource_REDHAT, WEB
- https://bugzilla.redhat.com/show_bug.cgi?id=2301875 · Issue Tracking, Vendor Advisory, issue-tracking, x_refsource_REDHAT, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-7260 · ADVISORY
- https://github.com/keycloak/keycloak · PACKAGE
History
- 26 Nov 2026 20:41 UTC · CVE List: first stored (published 9 Sep 2024)
- 25 Nov 2026 20:56 UTC · NVD: first stored (published 9 Sep 2024)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 9 Sep 2024)