CVE-2024-8883

published 19 Sep 2024 · updated 3 Nov 2026

Keycloak: vulnerable redirect uri validation results in open redirec

7.1HighCVSS 6.1EPSS 2%1 public exploits

A public exploit exists; no exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 2%. Fixed in 22.0.12, 24.0.7 and 25.0.5.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
Red HatBuild of Keycloak
Red HatJBoss
Red HatRHEL-8 based Middleware Containers
Red HatSingle Sign-On
<22.0.12, >=23.0.0 <24.0.7, >=25.0.0 <25.0.522.0.12, 24.0.7, 25.0.5

Exploit evidence

1 public sources

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in JBoss, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2024-8883 severity on Zeptric[![CVE-2024-8883](https://zeptric.io/badge/cve/CVE-2024-8883.svg)](https://zeptric.io/cve/CVE-2024-8883)