CVE-2023-6291
HIGH 7.1CVSS 3.1The redirect_uri validation logic allows for bypassing explicitly allowed hosts that would otherwise be restricted
A flaw was found in the redirect_uri validation logic in Keycloak. This issue may allow a bypass of otherwise explicitly allowed hosts. A successful attack may lead to an access token being stolen, making it possible for the attacker to impersonate other users.
- Published
- 26 Jan 2024
- Last modified
- 4 Nov 2026
- Assigned by
- secalert@redhat.com
- NVD status
- Modified
- Weakness
- CWE-20CWE-601
- Also known as
- GHSA-mpwq-j3xf-7m5w
- Sources
- NVDJSONOSV GHSA-mpwq-j3xf-7m5wJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | secalert@redhat.com (Secondary) | CVSS 3.1 | HIGH 7.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L |
| OSV | GitHub | CVSS 3.1 | HIGH 7.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | redhat | keycloakcpe:2.3:a:redhat:keycloak:*:*:*:*:*:*:*:* |
< 22.0.7 | 22.0.7 |
| NVD | redhat | single_sign-oncpe:2.3:a:redhat:single_sign-on:-:*:*:*:text-only:*:*:* |
(no version) | |
| NVD | redhat | openshift_container_platformcpe:2.3:a:redhat:openshift_container_platform:4.11:*:*:*:*:*:*:* |
= 4.11 | |
| NVD | redhat | openshift_container_platformcpe:2.3:a:redhat:openshift_container_platform:4.12:*:*:*:*:*:*:* |
= 4.12 | |
| NVD | redhat | openshift_container_platform_for_ibm_zcpe:2.3:a:redhat:openshift_container_platform_for_ibm_z:4.9:*:*:*:*:*:*:* |
= 4.9 | |
| NVD | redhat | openshift_container_platform_for_ibm_zcpe:2.3:a:redhat:openshift_container_platform_for_ibm_z:4.10:*:*:*:*:*:*:* |
= 4.10 | |
| NVD | redhat | openshift_container_platform_for_linuxonecpe:2.3:a:redhat:openshift_container_platform_for_linuxone:4.9:*:*:*:*:*:*:* |
= 4.9 | |
| NVD | redhat | openshift_container_platform_for_linuxonecpe:2.3:a:redhat:openshift_container_platform_for_linuxone:4.10:*:*:*:*:*:*:* |
= 4.10 | |
| NVD | redhat | openshift_container_platform_for_powercpe:2.3:a:redhat:openshift_container_platform_for_power:4.9:*:*:*:*:*:*:* |
= 4.9 | |
| NVD | redhat | openshift_container_platform_for_powercpe:2.3:a:redhat:openshift_container_platform_for_power:4.10:*:*:*:*:*:*:* |
= 4.10 | |
| NVD | redhat | single_sign-oncpe:2.3:a:redhat:single_sign-on:7.6:*:*:*:*:*:*:* |
= 7.6 | |
| NVD | redhat | migration_toolkit_for_applicationscpe:2.3:a:redhat:migration_toolkit_for_applications:6.0:*:*:*:*:*:*:* |
= 6.0 | |
| NVD | redhat | migration_toolkit_for_applicationscpe:2.3:a:redhat:migration_toolkit_for_applications:7.0:*:*:*:*:*:*:* |
= 7.0 | |
| OSV | Maven | org.keycloak:keycloak-services | < 23.0.3 | 23.0.3 |
References
- https://access.redhat.com/errata/RHSA-2023:7854 · Vendor Advisory, WEB
- https://access.redhat.com/errata/RHSA-2023:7855 · Vendor Advisory, WEB
- https://access.redhat.com/errata/RHSA-2023:7856 · Vendor Advisory, WEB
- https://access.redhat.com/errata/RHSA-2023:7857 · Vendor Advisory, WEB
- https://access.redhat.com/errata/RHSA-2023:7858 · Vendor Advisory, WEB
- https://access.redhat.com/errata/RHSA-2023:7860 · Vendor Advisory, WEB
- https://access.redhat.com/errata/RHSA-2023:7861 · Vendor Advisory, WEB
- https://access.redhat.com/errata/RHSA-2024:0798
- https://access.redhat.com/errata/RHSA-2024:0799
- https://access.redhat.com/errata/RHSA-2024:0800
- https://access.redhat.com/errata/RHSA-2024:0801
- https://access.redhat.com/errata/RHSA-2024:0804
- https://access.redhat.com/security/cve/CVE-2023-6291 · Vendor Advisory, WEB
- https://bugzilla.redhat.com/show_bug.cgi?id=2251407 · Issue Tracking, Vendor Advisory, WEB
- https://github.com/keycloak/keycloak/security/advisories/GHSA-mpwq-j3xf-7m5w · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2023-6291 · ADVISORY
- https://github.com/keycloak/keycloak/commit/b2e91105315ccf2c1df549b4f6c5948322cbfd1b · WEB
- https://github.com/keycloak/keycloak · PACKAGE
History
- 25 Nov 2026 20:54 UTC · NVD: first stored (published 26 Jan 2024)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 21 Dec 2023)