Skip to content
Fencer Vulns
medium 6.1

CVE-2024-7260 json

Keycloak-core: open redirect on account page

published 2024-09-09 2 y ago modified 2026-09-10 1 mo ago also BIT-keycloak-2024-7260 , EUVD-2024-2787 , GHSA-g4gc-rh26-m3p5

cvss
6.1
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
0.6%
EPSS 0.6% chance of exploitation in 30 days, percentile 47%
public exploits
0
none known

Summary

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.

Patch / fix

  • maven org.keycloak:keycloak-core 24.0.7
  • bitnami keycloak 24.0.7
  • Red Hat Red Hat build of Keycloak 24 24-16, 24.0.7-4

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2024-7260 updated cvss 6.1

keycloak-core: Open Redirect on Account page

  • Red Hat Build of Keycloak
    fixed: vendor fix RHSA-2024:6503
  • Red Hat build of Keycloak 24 rhbk/keycloak-rhel9 24-16, rhbk/keycloak-rhel9-operator 24-16, rhbk/keycloak-operator-bundle 24.0.7-4
    fixed: vendor fix RHSA-2024:6502

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
none
Automatable
no
Technical impact
partial
Assessed
2 y ago

Exploit prediction

0.58% chance of exploitation in the next 30 days, higher than 47% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
CNA 3.1 6.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
GitHub 3.1 4.4 CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
NVD 3.1 6.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
OSV 3.1 6.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Affected packages

ecosystem package affected fixed in
maven org.keycloak:keycloak-core
<24.0.7
24.0.7
bitnami keycloak
<24.0.7
24.0.7

Affected products

  • Red Hat Red Hat Build of Keycloak
  • Red Hat Red Hat build of Keycloak 24

Classification

Weakness
  • CWE-601 URL Redirection to Untrusted Site

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.