{"schemaVersion":3,"id":"CVE-2024-7260","aliases":["CGA-6vw3-gc9h-4f33","CGA-f555-hjwp-q597","CGA-fmjw-8cvg-5xr9","CGA-hcjr-f4px-qwh9","CGA-pj8f-3j37-5f9q","CGA-rc86-8vc5-8jvq","GHSA-g4gc-rh26-m3p5","BIT-keycloak-2024-7260"],"status":"published","duplicateOf":null,"title":null,"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.\n\nOnce 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.","dates":{"published":"2024-09-09T18:49:59.437Z","modified":"2026-01-23T17:00:35.528Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":6.1,"severity":"medium","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":6.1,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Wolfi","score":6.1,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","exploitability":7.2,"impact":4.5,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Chainguard","score":6.1,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","exploitability":7.2,"impact":4.5,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Maven","score":4.8,"severity":"medium","vector":"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","exploitability":null,"impact":null,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Maven","score":4.4,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N","exploitability":4.6,"impact":4.2,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":6.1,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00579,"percentile":0.46572,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.00579},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00579,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00579,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00579,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00579,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00579,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00579,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00579,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00579,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00579,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00579,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00579,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00579,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00579,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00579,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00579,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00579,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00579,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00579,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00579,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00579,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00579,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00579,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00579,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00579,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00579,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00579,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00579,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00579,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00579,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00579,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00579,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00579,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00579,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00579,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00579,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00579,"percentile":0.46572}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.00579,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00579,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00579,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00579,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00579,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00579,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00579,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00579,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00579,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00579,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00579,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00579,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00579,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00579,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00579,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00579,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00579,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00579,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00579,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00579,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00579,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00579,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00579,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00579,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00579,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00579,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00579,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00579,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00579,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00579,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00579,"percentile":0.46572}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-601","name":"URL Redirection to Untrusted Site ('Open Redirect')","description":"The web application accepts a user-controlled input that specifies a link to an external site, and uses that link in a redirect.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":"Low","url":"https://cwe.mitre.org/data/definitions/601.html"}],"affected":[{"vendor":"chainguard","product":"keycloak-config-cli","name":"keycloak-config-cli","label":"keycloak-config-cli","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/keycloak-config-cli","purlType":"apk","versions":[{"text":"< 6.4.0-r1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 6.4.0-r1","eol":null,"hubHref":null},{"vendor":"chainguard","product":"keycloak-config-cli-compat","name":"keycloak-config-cli-compat","label":"keycloak-config-cli-compat","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/keycloak-config-cli-compat","purlType":"apk","versions":[{"text":"< 6.4.0-r1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 6.4.0-r1","eol":null,"hubHref":null},{"vendor":"chainguard","product":"keycloak-config-cli-iamguarded-compat","name":"keycloak-config-cli-iamguarded-compat","label":"keycloak-config-cli-iamguarded-compat","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/keycloak-config-cli-iamguarded-compat","purlType":"apk","versions":[{"text":"< 6.4.0-r1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 6.4.0-r1","eol":null,"hubHref":null},{"vendor":"wolfi","product":"keycloak-config-cli","name":"keycloak-config-cli","label":"keycloak-config-cli","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/keycloak-config-cli","purlType":"apk","versions":[{"text":"< 6.4.0-r1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 6.4.0-r1","eol":null,"hubHref":null},{"vendor":"wolfi","product":"keycloak-config-cli-compat","name":"keycloak-config-cli-compat","label":"keycloak-config-cli-compat","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/keycloak-config-cli-compat","purlType":"apk","versions":[{"text":"< 6.4.0-r1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 6.4.0-r1","eol":null,"hubHref":null},{"vendor":"wolfi","product":"keycloak-config-cli-iamguarded-compat","name":"keycloak-config-cli-iamguarded-compat","label":"keycloak-config-cli-iamguarded-compat","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/keycloak-config-cli-iamguarded-compat","purlType":"apk","versions":[{"text":"< 6.4.0-r1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 6.4.0-r1","eol":null,"hubHref":null},{"vendor":"org.keycloak","product":"keycloak-core","name":"org.keycloak:keycloak-core","label":"keycloak-core","ecosystem":"Maven","cpePart":null,"purl":"pkg:maven/org.keycloak/keycloak-core","purlType":"maven","versions":[{"text":"< 24.0.7","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 24.0.7","eol":null,"hubHref":null},{"vendor":"redhat","product":"build_of_keycloak","name":"build of keycloak","label":"build_of_keycloak","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 24.0.7","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 24.0.7","eol":null,"hubHref":"/vendor/redhat/build_of_keycloak"},{"vendor":"redhat","product":"keycloak","name":"keycloak","label":"keycloak","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 24.0.7","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 24.0.7","eol":{"isEol":null,"eolDate":null,"matchMethod":"cpe","cycle":null,"product":{"name":"keycloak","label":"Keycloak","category":"server-app"}},"hubHref":"/vendor/redhat/keycloak"}],"affectedCount":9,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://access.redhat.com/errata/RHSA-2024:6502","label":"access.redhat.com/errata/RHSA-2024:6502","hostname":"access.redhat.com","tags":["Vendor Advisory","X Refsource REDHAT","Advisory","WEB","Issue Tracking"]},{"url":"https://access.redhat.com/errata/RHSA-2024:6503","label":"access.redhat.com/errata/RHSA-2024:6503","hostname":"access.redhat.com","tags":["Vendor Advisory","X Refsource REDHAT","Advisory","WEB","Issue Tracking"]},{"url":"https://access.redhat.com/security/cve/CVE-2024-7260","label":"access.redhat.com/security/cve/CVE-2024-7260","hostname":"access.redhat.com","tags":["VDB Entry","X Refsource REDHAT","Advisory","WEB","Vendor Advisory"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2301875","label":"bugzilla.redhat.com/show_bug.cgi?id=2301875","hostname":"bugzilla.redhat.com","tags":["Issue Tracking","X Refsource REDHAT","REPORT","WEB","Vendor Advisory"]},{"url":"https://access.redhat.com/downloads/content/package-browser/","label":"access.redhat.com/downloads/content/package-browser/","hostname":"access.redhat.com","tags":["WEB"]},{"url":"https://catalog.redhat.com/software/containers/","label":"catalog.redhat.com/software/containers/","hostname":"catalog.redhat.com","tags":["WEB"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/7xxx/CVE-2024-7260.json","label":"github.com/CVEProject/cvelistV5/tree/main/cves/2024/7xxx/CVE-2024-7260.json","hostname":"github.com","tags":["Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-7260","label":"nvd.nist.gov/vuln/detail/CVE-2024-7260","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/keycloak/keycloak","label":"github.com/keycloak/keycloak","hostname":"github.com","tags":["PACKAGE"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":["CGA-V9JG-XXWX-27JR","CGA-W28Q-3GQM-F334"]},"timeline":[{"kind":"published","date":"2024-09-09T18:49:59.437Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-01-23T17:00:35.528Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":25,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-19T16:37:12.899Z","stale":false,"partial":false}}