CVE-2024-8883: Keycloak: vulnerable redirect uri validation results in open redirec
CVE-2024-8883 affects 94 listed versions of Red Hat Keycloak in the Dawnsentry catalogue.
Affected products and versions
The versions in the Dawnsentry catalogue this CVE affects, judged from the vendor's own advisory where there is one, otherwise from the CVE record and NVD, as each version's own page says.
Red Hat Keycloak
94 of 176 listed versions are affected. Fixed in 25.0.6, 24.0.8, 22.0.13. The newest release, 26.37.1, is not affected.
25.0.5 25.0.4 25.0.2 25.0.1 25.0.0 24.0.7 24.0.6 24.0.5 24.0.4 24.0.3 24.0.2 24.0.1 24.0.0 22.0.12 22.0.10 22.0.9 22.0.7 22.0.5 22.0.4 22.0.3 22.0.2 22.0.1 22.0.0 21.1.2 21.1.1 21.1.0 21.0.2 21.0.1 21.0.0 20.0.5 20.0.3 20.0.2 20.0.1 20.0.0 19.0.3 19.0.2 19.0.1 19.0.0 18.0.6 18.0.2 18.0.1 18.0.0 17.0.1 17.0.0 16.1.1 16.1.0 16.0.0 15.1.1 15.1.0 15.0.2 15.0.1 15.0.0 14.0.0 13.0.1 13.0.0 12.0.4 12.0.3 12.0.2 12.0.1 12.0.0 and 34 more
What it is
A misconfiguration flaw was found in Keycloak. This issue can allow an attacker to redirect users to an arbitrary URL if a 'Valid Redirect URI' is set to http://localhost or http://127.0.0.1, enabling sensitive information such as authorization codes to be exposed to the attacker, potentially leading to session hijacking.
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N (Red Hat)
Published by Red Hat on 19 September 2024. Last changed 4 August 2026. Exploit code is public (Metasploit or Nuclei).
Sources
Check one version you run: look CVE-2024-8883 up, or pick a product and version in the quick lookup.
Updated 2 December 2026.