Keycloak: vulnerable redirect uri validation results in open redirec
Summary
| CVE | CVE-2024-8883 |
|---|---|
| State | PUBLISHED |
| Assigner | redhat |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2024-09-19 16:15:06 UTC |
| Updated | 2026-08-04 11:22:41 UTC |
| Description | 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. |
Risk And Classification
Primary CVSS: v3.1 6.1 MEDIUM from [email protected]
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
EPSS: 0.019590000 probability, percentile 0.783630000 (date 2026-08-06)
Problem Types: CWE-601 | CWE-601 URL Redirection to Untrusted Site ('Open Redirect')
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | [email protected] | Secondary | 6.1 | MEDIUM | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| 3.1 | [email protected] | Secondary | 6.1 | MEDIUM | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| 3.1 | CNA | CVSS | 6.1 | MEDIUM | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
CVSS v3.1 Breakdown
Attack Vector
NetworkAttack Complexity
LowPrivileges Required
NoneUser Interaction
RequiredScope
ChangedConfidentiality
LowIntegrity
LowAvailability
NoneCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Application | Redhat | Build Of Keycloak | - | All | All | All |
| Application | Redhat | Openshift Container Platform | 4.11 | All | All | All |
| Application | Redhat | Openshift Container Platform | 4.12 | All | All | All |
| Application | Redhat | Openshift Container Platform For Ibm Z | 4.10 | All | All | All |
| Application | Redhat | Openshift Container Platform For Ibm Z | 4.9 | All | All | All |
| Application | Redhat | Openshift Container Platform For Linuxone | 4.10 | All | All | All |
| Application | Redhat | Openshift Container Platform For Linuxone | 4.9 | All | All | All |
| Application | Redhat | Openshift Container Platform For Power | 4.10 | All | All | All |
| Application | Redhat | Openshift Container Platform For Power | 4.9 | All | All | All |
| Application | Redhat | Single Sign-on | - | All | All | All |
| Application | Redhat | Single Sign-on | 7.6 | All | All | All |
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Red Hat | Red Hat Build Of Keycloak | Not specified | Not specified |
| CNA | Red Hat | Red Hat Build Of Keycloak | Not specified | Not specified |
| CNA | Red Hat | Red Hat Build Of Keycloak 22 | unaffected 22.0.13-1 * rpm | Not specified |
| CNA | Red Hat | Red Hat Build Of Keycloak 22 | unaffected 22-18 * rpm | Not specified |
| CNA | Red Hat | Red Hat Build Of Keycloak 22 | unaffected 22-21 * rpm | Not specified |
| CNA | Red Hat | Red Hat Build Of Keycloak 24 | unaffected 24.0.8-1 * rpm | Not specified |
| CNA | Red Hat | Red Hat Build Of Keycloak 24 | unaffected 24-17 * rpm | Not specified |
| CNA | Red Hat | Red Hat Build Of Keycloak 24 | unaffected 24-17 * rpm | Not specified |
| CNA | Red Hat | Red Hat JBoss Enterprise Application Platform 8 | Not specified | Not specified |
| CNA | Red Hat | Red Hat JBoss Enterprise Application Platform 8 | Not specified | Not specified |
| CNA | Red Hat | Red Hat JBoss Enterprise Application Platform 8.0 For RHEL 8 | unaffected 0:800.4.1-1.GA_redhat_00001.1.el8eap * rpm | Not specified |
| CNA | Red Hat | Red Hat JBoss Enterprise Application Platform 8.0 For RHEL 8 | unaffected 0:8.0.4-3.GA_redhat_00007.1.el8eap * rpm | Not specified |
| CNA | Red Hat | Red Hat JBoss Enterprise Application Platform 8.0 For RHEL 8 | unaffected 0:2.33.0-1.redhat_00015.1.el8eap * rpm | Not specified |
| CNA | Red Hat | Red Hat JBoss Enterprise Application Platform 8.0 For RHEL 8 | unaffected 1:2.0.0-2.redhat_00005.1.el8eap * rpm | Not specified |
| CNA | Red Hat | Red Hat JBoss Enterprise Application Platform 8.0 For RHEL 8 | unaffected 0:1.8.0-2.redhat_00001.1.el8eap * rpm | Not specified |
| CNA | Red Hat | Red Hat JBoss Enterprise Application Platform 8.0 For RHEL 8 | unaffected 0:2.2.0-2.redhat_00001.1.el8eap * rpm | Not specified |
| CNA | Red Hat | Red Hat JBoss Enterprise Application Platform 8.0 For RHEL 8 | unaffected 0:1.16.1-2.redhat_00007.1.el8eap * rpm | Not specified |
| CNA | Red Hat | Red Hat JBoss Enterprise Application Platform 8.0 For RHEL 8 | unaffected 0:3.2.2-28.redhat_2.1.el8eap * rpm | Not specified |
| CNA | Red Hat | Red Hat JBoss Enterprise Application Platform 8.0 For RHEL 8 | unaffected 0:2.15.1-1.redhat_00001.1.el8eap * rpm | Not specified |
| CNA | Red Hat | Red Hat JBoss Enterprise Application Platform 8.0 For RHEL 8 | unaffected 0:3.14.0-2.redhat_00006.1.el8eap * rpm | Not specified |
| CNA | Red Hat | Red Hat JBoss Enterprise Application Platform 8.0 For RHEL 8 | unaffected 0:4.0.5-1.redhat_00001.1.el8eap * rpm | Not specified |
| CNA | Red Hat | Red Hat JBoss Enterprise Application Platform 8.0 For RHEL 8 | unaffected 1:2.0.0-2.redhat_00005.1.el8eap * rpm | Not specified |
| CNA | Red Hat | Red Hat JBoss Enterprise Application Platform 8.0 For RHEL 8 | unaffected 0:2.0.1-1.redhat_00002.1.el8eap * rpm | Not specified |
| CNA | Red Hat | Red Hat JBoss Enterprise Application Platform 8.0 For RHEL 8 | unaffected 0:0.1.0-2.redhat_00010.1.el8eap * rpm | Not specified |
| CNA | Red Hat | Red Hat JBoss Enterprise Application Platform 8.0 For RHEL 8 | unaffected 0:1.12.284-2.redhat_00002.1.el8eap * rpm | Not specified |
| CNA | Red Hat | Red Hat JBoss Enterprise Application Platform 8.0 For RHEL 8 | unaffected 0:1.2.5-2.redhat_00001.1.el8eap * rpm | Not specified |
| CNA | Red Hat | Red Hat JBoss Enterprise Application Platform 8.0 For RHEL 8 | unaffected 0:800.4.0-1.GA_redhat_00001.1.el8eap * rpm | Not specified |
| CNA | Red Hat | Red Hat JBoss Enterprise Application Platform 8.0 For RHEL 8 | unaffected 0:2.1.0-4.redhat_00001.1.el8eap * rpm | Not specified |
| CNA | Red Hat | Red Hat JBoss Enterprise Application Platform 8.0 For RHEL 8 | unaffected 0:6.2.31-1.Final_redhat_00002.1.el8eap * rpm | Not specified |
| CNA | Red Hat | Red Hat JBoss Enterprise Application Platform 8.0 For RHEL 8 | unaffected 0:8.0.1-3.Final_redhat_00001.1.el8eap * rpm | Not specified |
| CNA | Red Hat | Red Hat JBoss Enterprise Application Platform 8.0 For RHEL 8 | unaffected 0:0.8.1-2.redhat_00001.1.el8eap * rpm | Not specified |
| CNA | Red Hat | Red Hat JBoss Enterprise Application Platform 8.0 For RHEL 8 | unaffected 0:1.1.3-1.redhat_00001.1.el8eap * rpm | Not specified |
| CNA | Red Hat | Red Hat JBoss Enterprise Application Platform 8.0 For RHEL 8 | unaffected 0:3.0.1-1.redhat_00001.1.el8eap * rpm | Not specified |
| CNA | Red Hat | Red Hat JBoss Enterprise Application Platform 8.0 For RHEL 8 | unaffected 0:1.1.3-1.redhat_00001.1.el8eap * rpm | Not specified |
| CNA | Red Hat | Red Hat JBoss Enterprise Application Platform 8.0 For RHEL 8 | unaffected 0:3.5.3-1.Final_redhat_00001.1.el8eap * rpm | Not specified |
| CNA | Red Hat | Red Hat JBoss Enterprise Application Platform 8.0 For RHEL 8 | unaffected 0:4.0.2-1.redhat_00001.1.el8eap * rpm | Not specified |
| CNA | Red Hat | Red Hat JBoss Enterprise Application Platform 8.0 For RHEL 8 | unaffected 0:5.3.10-1.Final_redhat_00001.1.el8eap * rpm | Not specified |
| CNA | Red Hat | Red Hat JBoss Enterprise Application Platform 8.0 For RHEL 8 | unaffected 0:2.22.1-1.redhat_00002.1.el8eap * rpm | Not specified |
| CNA | Red Hat | Red Hat JBoss Enterprise Application Platform 8.0 For RHEL 8 | unaffected 0:6.0.3-1.Final_redhat_00001.1.el8eap * rpm | Not specified |
| CNA | Red Hat | Red Hat JBoss Enterprise Application Platform 8.0 For RHEL 8 | unaffected 0:9.37.3-1.redhat_00001.1.el8eap * rpm | Not specified |
| CNA | Red Hat | Red Hat JBoss Enterprise Application Platform 8.0 For RHEL 8 | unaffected 0:9.6.0-1.redhat_00002.1.el8eap * rpm | Not specified |
| CNA | Red Hat | Red Hat JBoss Enterprise Application Platform 8.0 For RHEL 8 | unaffected 0:2.3.0-1.redhat_00001.1.el8eap * rpm | Not specified |
| CNA | Red Hat | Red Hat JBoss Enterprise Application Platform 8.0 For RHEL 8 | unaffected 0:2.0.1-3.Final_redhat_00001.1.el8eap * rpm | Not specified |
| CNA | Red Hat | Red Hat JBoss Enterprise Application Platform 8.0 For RHEL 8 | unaffected 0:3.0.1-2.Final_redhat_00001.1.el8eap * rpm | Not specified |
| CNA | Red Hat | Red Hat JBoss Enterprise Application Platform 8.0 For RHEL 8 | unaffected 0:3.0.4-1.redhat_00001.1.el8eap * rpm | Not specified |
| CNA | Red Hat | Red Hat JBoss Enterprise Application Platform 8.0 For RHEL 8 | unaffected 0:8.0.0-6.redhat_00001.1.el8eap * rpm | Not specified |
| CNA | Red Hat | Red Hat JBoss Enterprise Application Platform 8.0 For RHEL 8 | unaffected 0:2.0.16-1.redhat_00001.1.el8eap * rpm | Not specified |
| CNA | Red Hat | Red Hat JBoss Enterprise Application Platform 8.0 For RHEL 8 | unaffected 0:2.2.0-1.redhat_00001.1.el8eap * rpm | Not specified |
| CNA | Red Hat | Red Hat JBoss Enterprise Application Platform 8.0 For RHEL 8 | unaffected 0:8.0.4-2.GA_redhat_00005.1.el8eap * rpm | Not specified |
| CNA | Red Hat | Red Hat JBoss Enterprise Application Platform 8.0 For RHEL 9 | unaffected 0:800.4.1-1.GA_redhat_00001.1.el9eap * rpm | Not specified |
| CNA | Red Hat | Red Hat JBoss Enterprise Application Platform 8.0 For RHEL 9 | unaffected 0:8.0.4-3.GA_redhat_00007.1.el9eap * rpm | Not specified |
| CNA | Red Hat | Red Hat JBoss Enterprise Application Platform 8.0 For RHEL 9 | unaffected 0:2.33.0-1.redhat_00015.1.el9eap * rpm | Not specified |
| CNA | Red Hat | Red Hat JBoss Enterprise Application Platform 8.0 For RHEL 9 | unaffected 1:2.0.0-2.redhat_00005.1.el9eap * rpm | Not specified |
| CNA | Red Hat | Red Hat JBoss Enterprise Application Platform 8.0 For RHEL 9 | unaffected 0:1.8.0-2.redhat_00001.1.el9eap * rpm | Not specified |
| CNA | Red Hat | Red Hat JBoss Enterprise Application Platform 8.0 For RHEL 9 | unaffected 0:2.2.0-2.redhat_00001.1.el9eap * rpm | Not specified |
| CNA | Red Hat | Red Hat JBoss Enterprise Application Platform 8.0 For RHEL 9 | unaffected 0:1.16.1-2.redhat_00007.1.el9eap * rpm | Not specified |
| CNA | Red Hat | Red Hat JBoss Enterprise Application Platform 8.0 For RHEL 9 | unaffected 0:3.2.2-28.redhat_2.1.el9eap * rpm | Not specified |
| CNA | Red Hat | Red Hat JBoss Enterprise Application Platform 8.0 For RHEL 9 | unaffected 0:2.15.1-1.redhat_00001.1.el9eap * rpm | Not specified |
| CNA | Red Hat | Red Hat JBoss Enterprise Application Platform 8.0 For RHEL 9 | unaffected 0:3.14.0-2.redhat_00006.1.el9eap * rpm | Not specified |
| CNA | Red Hat | Red Hat JBoss Enterprise Application Platform 8.0 For RHEL 9 | unaffected 0:4.0.5-1.redhat_00001.1.el9eap * rpm | Not specified |
| CNA | Red Hat | Red Hat JBoss Enterprise Application Platform 8.0 For RHEL 9 | unaffected 1:2.0.0-2.redhat_00005.1.el9eap * rpm | Not specified |
| CNA | Red Hat | Red Hat JBoss Enterprise Application Platform 8.0 For RHEL 9 | unaffected 0:2.0.1-1.redhat_00002.1.el9eap * rpm | Not specified |
| CNA | Red Hat | Red Hat JBoss Enterprise Application Platform 8.0 For RHEL 9 | unaffected 0:0.1.0-2.redhat_00010.1.el9eap * rpm | Not specified |
| CNA | Red Hat | Red Hat JBoss Enterprise Application Platform 8.0 For RHEL 9 | unaffected 0:1.12.284-2.redhat_00002.1.el9eap * rpm | Not specified |
| CNA | Red Hat | Red Hat JBoss Enterprise Application Platform 8.0 For RHEL 9 | unaffected 0:1.2.5-2.redhat_00001.1.el9eap * rpm | Not specified |
| CNA | Red Hat | Red Hat JBoss Enterprise Application Platform 8.0 For RHEL 9 | unaffected 0:800.4.0-1.GA_redhat_00001.1.el9eap * rpm | Not specified |
| CNA | Red Hat | Red Hat JBoss Enterprise Application Platform 8.0 For RHEL 9 | unaffected 0:2.1.0-4.redhat_00001.1.el9eap * rpm | Not specified |
| CNA | Red Hat | Red Hat JBoss Enterprise Application Platform 8.0 For RHEL 9 | unaffected 0:6.2.31-1.Final_redhat_00002.1.el9eap * rpm | Not specified |
| CNA | Red Hat | Red Hat JBoss Enterprise Application Platform 8.0 For RHEL 9 | unaffected 0:8.0.1-3.Final_redhat_00001.1.el9eap * rpm | Not specified |
| CNA | Red Hat | Red Hat JBoss Enterprise Application Platform 8.0 For RHEL 9 | unaffected 0:0.8.1-2.redhat_00001.1.el9eap * rpm | Not specified |
| CNA | Red Hat | Red Hat JBoss Enterprise Application Platform 8.0 For RHEL 9 | unaffected 0:1.1.3-1.redhat_00001.1.el9eap * rpm | Not specified |
| CNA | Red Hat | Red Hat JBoss Enterprise Application Platform 8.0 For RHEL 9 | unaffected 0:3.0.1-1.redhat_00001.1.el9eap * rpm | Not specified |
| CNA | Red Hat | Red Hat JBoss Enterprise Application Platform 8.0 For RHEL 9 | unaffected 0:1.1.3-1.redhat_00001.1.el9eap * rpm | Not specified |
| CNA | Red Hat | Red Hat JBoss Enterprise Application Platform 8.0 For RHEL 9 | unaffected 0:3.5.3-1.Final_redhat_00001.1.el9eap * rpm | Not specified |
| CNA | Red Hat | Red Hat JBoss Enterprise Application Platform 8.0 For RHEL 9 | unaffected 0:4.0.2-1.redhat_00001.1.el9eap * rpm | Not specified |
| CNA | Red Hat | Red Hat JBoss Enterprise Application Platform 8.0 For RHEL 9 | unaffected 0:5.3.10-1.Final_redhat_00001.1.el9eap * rpm | Not specified |
| CNA | Red Hat | Red Hat JBoss Enterprise Application Platform 8.0 For RHEL 9 | unaffected 0:2.22.1-1.redhat_00002.1.el9eap * rpm | Not specified |
| CNA | Red Hat | Red Hat JBoss Enterprise Application Platform 8.0 For RHEL 9 | unaffected 0:6.0.3-1.Final_redhat_00001.1.el9eap * rpm | Not specified |
| CNA | Red Hat | Red Hat JBoss Enterprise Application Platform 8.0 For RHEL 9 | unaffected 0:9.37.3-1.redhat_00001.1.el9eap * rpm | Not specified |
| CNA | Red Hat | Red Hat JBoss Enterprise Application Platform 8.0 For RHEL 9 | unaffected 0:9.6.0-1.redhat_00002.1.el9eap * rpm | Not specified |
| CNA | Red Hat | Red Hat JBoss Enterprise Application Platform 8.0 For RHEL 9 | unaffected 0:2.3.0-1.redhat_00001.1.el9eap * rpm | Not specified |
| CNA | Red Hat | Red Hat JBoss Enterprise Application Platform 8.0 For RHEL 9 | unaffected 0:2.0.1-3.Final_redhat_00001.1.el9eap * rpm | Not specified |
| CNA | Red Hat | Red Hat JBoss Enterprise Application Platform 8.0 For RHEL 9 | unaffected 0:3.0.1-2.Final_redhat_00001.1.el9eap * rpm | Not specified |
| CNA | Red Hat | Red Hat JBoss Enterprise Application Platform 8.0 For RHEL 9 | unaffected 0:3.0.4-1.redhat_00001.1.el9eap * rpm | Not specified |
| CNA | Red Hat | Red Hat JBoss Enterprise Application Platform 8.0 For RHEL 9 | unaffected 0:8.0.0-6.redhat_00001.1.el9eap * rpm | Not specified |
| CNA | Red Hat | Red Hat JBoss Enterprise Application Platform 8.0 For RHEL 9 | unaffected 0:2.0.16-1.redhat_00001.1.el9eap * rpm | Not specified |
| CNA | Red Hat | Red Hat JBoss Enterprise Application Platform 8.0 For RHEL 9 | unaffected 0:2.2.0-1.redhat_00001.1.el9eap * rpm | Not specified |
| CNA | Red Hat | Red Hat JBoss Enterprise Application Platform 8.0 For RHEL 9 | unaffected 0:8.0.4-2.GA_redhat_00005.1.el9eap * rpm | Not specified |
| CNA | Red Hat | Red Hat Single Sign-On 7 | Not specified | Not specified |
| CNA | Red Hat | Red Hat Single Sign-On 7.6 For RHEL 7 | unaffected 0:18.0.18-1.redhat_00001.1.el7sso * rpm | Not specified |
| CNA | Red Hat | Red Hat Single Sign-On 7.6 For RHEL 8 | unaffected 0:18.0.18-1.redhat_00001.1.el8sso * rpm | Not specified |
| CNA | Red Hat | Red Hat Single Sign-On 7.6 For RHEL 9 | unaffected 0:18.0.18-1.redhat_00001.1.el9sso * rpm | Not specified |
| CNA | Red Hat | RHEL-8 Based Middleware Containers | unaffected 7.6-54 * rpm | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| access.redhat.com/errata/RHSA-2024:6889 | [email protected] | access.redhat.com | Vendor Advisory |
| access.redhat.com/errata/RHSA-2024:6882 | [email protected] | access.redhat.com | Vendor Advisory |
| access.redhat.com/errata/RHSA-2024:6887 | [email protected] | access.redhat.com | Vendor Advisory |
| access.redhat.com/errata/RHSA-2024:8824 | [email protected] | access.redhat.com | |
| access.redhat.com/errata/RHSA-2024:6879 | [email protected] | access.redhat.com | Vendor Advisory |
| bugzilla.redhat.com/show_bug.cgi | [email protected] | bugzilla.redhat.com | Issue Tracking, Vendor Advisory |
| access.redhat.com/errata/RHSA-2024:10385 | [email protected] | access.redhat.com | |
| access.redhat.com/security/cve/CVE-2024-8883 | [email protected] | access.redhat.com | Vendor Advisory |
| access.redhat.com/errata/RHSA-2024:8823 | [email protected] | access.redhat.com | |
| access.redhat.com/errata/RHSA-2024:6888 | [email protected] | access.redhat.com | Vendor Advisory |
| access.redhat.com/errata/RHSA-2024:6880 | [email protected] | access.redhat.com | Vendor Advisory |
| access.redhat.com/errata/RHSA-2024:6886 | [email protected] | access.redhat.com | Vendor Advisory |
| github.com/keycloak/keycloak/blob/main/services/src/main/java/org/keyclo... | [email protected] | github.com | Product |
| access.redhat.com/errata/RHSA-2024:10386 | [email protected] | access.redhat.com | |
| access.redhat.com/errata/RHSA-2024:6878 | [email protected] | access.redhat.com | Vendor Advisory |
| access.redhat.com/errata/RHSA-2024:8826 | [email protected] | access.redhat.com | |
| access.redhat.com/errata/RHSA-2024:6890 | [email protected] | access.redhat.com | Vendor Advisory |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
Vendor Comments And Credit
Discovery Credit
CNA: Red Hat would like to thank Karsten Meyer zu Selhausen and Niklas Conrad for reporting this issue. (en)
Additional Advisory Data
| Source | Time | Event |
|---|---|---|
| CNA | 2024-09-16T06:17:01.573Z | Reported to Red Hat. |
| CNA | 2024-09-19T15:13:00.000Z | Made public. |
Workarounds
CNA: Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.
There are currently no legacy QID mappings associated with this CVE.