CVE-2024-7260: redhat build_of_keycloak Open Redirect
Vulnerability summary
CVE-2024-7260 is a medium (CVSS 6.1) Open Redirect vulnerability in redhat build_of_keycloak. EPSS estimates a 0.58% chance of exploitation in the next 30 days, higher than 46.4% of scored vulnerabilities.
Advisory lineage
Upstream 0 · Downstream 0 · Related 2Timeline
- 09-09-2024PublishedVulnerability first disclosed.
- 23-01-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
6 scores · 5 sources · 2 versions- OSV · WolfiEcosystem advisory · calculated6.1MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- OSV · ChainguardEcosystem advisory · calculated6.1MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- OSV · MavenEcosystem advisory · calculated4.4MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:NDiffers
- NVDNIST6.1MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
EPSS trend
Probability
0.58%
Chance of exploitation in the next 30 days
Percentile
46%
Versus all other CVEs
30-day change
0.00 pp
From 0.58% on 18-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Chainguard3 products
- keycloak-config-cli< 6.4.0-r1
- keycloak-config-cli-compat< 6.4.0-r1
- keycloak-config-cli-iamguarded-compat< 6.4.0-r1
Wolfi3 products
- keycloak-config-cli< 6.4.0-r1
- keycloak-config-cli-compat< 6.4.0-r1
- keycloak-config-cli-iamguarded-compat< 6.4.0-r1
Redhat2 products
- build_of_keycloak< 24.0.7
- keycloak< 24.0.7
Org.keycloak1 product
- keycloak-core< 24.0.7
4 vendors · 9 products
References
9 links- github.com/keycloak/keycloakPACKAGE