Read the docs
TI-2024-06725 Aliases CVE-2024-7260GHSA-g4gc-rh26-m3p5

Keycloak-core: open redirect on account page

Priority LOW 28CWE-601Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
Required
Attack complexity
Low
Impact type
Spoofing
Confidentiality · integrity · availability
Low · Low · None
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-601.

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00579 47th percentileScored 2026-11-07
Fix Fixed keycloak: 24.0.7org.keycloak:keycloak-core (Maven): 24.0.7Red Hat: 2 advisories

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
—keycloakbefore 24.0.724.0.7Patch availableCNA
Red HatRed Hat Build of Keycloak——Not affectedCNA
Red HatRed Hat build of Keycloak 24—24.0.7-4Patch availableCNA
Red HatRed Hat build of Keycloak 24—24-16Patch availableCNA
Red HatRed Hat build of Keycloak 24—24-16Patch availableCNA
—org.keycloak:keycloak-core (Maven)before 24.0.724.0.7Patch availableGHSA-g4gc-rh26-m3p5
  • keycloak Vendor— Affected before 24.0.7 Fixed in 24.0.7 Patch available CNA
  • Red Hat Build of Keycloak VendorRed Hat Affected — Fixed in — Not affected CNA
  • Red Hat build of Keycloak 24 VendorRed Hat Affected — Fixed in 24.0.7-4 Patch available CNA
  • Red Hat build of Keycloak 24 VendorRed Hat Affected — Fixed in 24-16 Patch available CNA
  • Red Hat build of Keycloak 24 VendorRed Hat Affected — Fixed in 24-16 Patch available CNA
  • org.keycloak:keycloak-core (Maven) Vendor— Affected before 24.0.7 Fixed in 24.0.7 Patch available GHSA-g4gc-rh26-m3p5

CPE configurations NVD · 2

CPEVersionsRoleVendor
cpe:2.3:a:redhat:build_of_keycloak:*:*:*:*:*:*:*:*before 24.0.7VulnerableRed Hat
cpe:2.3:a:redhat:keycloak:*:*:*:*:*:*:*:*before 24.0.7VulnerableRed Hat
  • cpe:2.3:a:redhat:build_of_keycloak:*:*:*:*:*:*:*:* Versions before 24.0.7 Vulnerable ·Red Hat
  • cpe:2.3:a:redhat:keycloak:*:*:*:*:*:*:*:* Versions before 24.0.7 Vulnerable ·Red Hat

Remediation

  • Fix · CNA keycloak Fixed in 24.0.7
  • Fix · GHSA-g4gc-rh26-m3p5 org.keycloak:keycloak-core (Maven) Fixed in 24.0.7 Advisory →

Red Hat 2 advisories

  • RHSA-2024:6503 Released 2024-09-09 · Red Hat rating Moderate
    Red Hat build of Keycloak 24.0.7 Update
    • Red Hat Build of Keycloak
  • RHSA-2024:6502 Released 2024-09-09 · Red Hat rating Moderate
    Red Hat build of Keycloak 24.0.7 Images Update
    • Red Hat build of Keycloak 24 rhbk/keycloak-operator-bundle, rhbk/keycloak-rhel9, rhbk/keycloak-rhel9-operator

Fixed in the same release

Records fixed by the same vendor advisory or release, as the CNA lists them.

  • Advisory ·

    Red Hat Build of Keycloak, Red Hat build of Keycloak 24 — RHSA-2024:6502

    3 records Highest priority Priority LOW 3 LOW

    Other records, highest priority first

    • TI-2024-06802 Wildfly-elytron: org.keycloak/keycloak-services: session fixation in elytron saml adaptersPriority LOW 35
    • TI-2024-06779 Keycloak-core: one time passcode (otp) is valid longer than expiration timeseverityPriority LOW 22
  • Advisory ·

    Red Hat Build of Keycloak, Red Hat build of Keycloak 24 — RHSA-2024:6503

    3 records Highest priority Priority LOW 3 LOW

    Other records, highest priority first

    • TI-2024-06802 Wildfly-elytron: org.keycloak/keycloak-services: session fixation in elytron saml adaptersPriority LOW 35
    • TI-2024-06779 Keycloak-core: one time passcode (otp) is valid longer than expiration timeseverityPriority LOW 22

Vendor assessments

Red Hat

Red Hat rating: Moderate. Red Hat's page for this CVE →

ProductStatusPlan or fix
Red Hat Build of KeycloakFixed RHSA-2024:6503
Red Hat build of Keycloak 24Fixed RHSA-2024:6502

Timeline

  1. 2026-10-02 Threatist record created from CVE-2024-7260
  2. 2026-10-03 Alias added: GHSA-g4gc-rh26-m3p5

References

  • TI-2026-02223 Keycloak: keycloak: unauthorized authentication via disabled saml identity provider CVSS 3.1HIGH 8.1
  • TI-2024-01049 Keycloak: path transversal in redirection validation CVSS 3.1HIGH 8.1
  • TI-2026-13740 Keycloak-services: keycloak-services: saml idp-initiated broker login bypasses link-only restriction CVSS 3.1CRITICAL 9.8
  • TI-2026-13741 Keycloak-services: keycloak-services: saml broker metadata import disables response signature validation CVSS 3.1CRITICAL 9.1
  • TI-2026-13106 Keycloak-services: keycloak-services: dcr protocol mapper type-swap policy bypass allows privilege escalation CVSS 3.1HIGH 8.8
  • TI-2026-02631 Authentication bypass in Red Hat build of Keycloak 26.2 CVSS 3.1HIGH 8.8
See all 110 →

Sources