CVE-2023-6291Keycloak: redirect_uri validation bypass
- 7.1HighCVSS base score
- 0.95%Exploitation in 30 daysEPSS · top 38% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
Description
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.
Timeline
ID reserved
By redhat
- 2 months later
· 2 months later
Published
- 3 years later
· 3 years later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| redhatCNA (assigner) | 3.1 | High7.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L |
| NVDNVD · Modified | 3.1 | High7.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L |
- EPSS (exploitation in 30 days)
- 0.95% · top 38% of all CVEs (16 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: partial
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 7.1.
Affected products
Red Hat · Red Hat build of Keycloak 22
- unaffected 22.0.7-1 – < *
Red Hat · Red Hat build of Keycloak 22
- unaffected 22-6 – < *
Red Hat · Red Hat build of Keycloak 22
- unaffected 22-9 – < *
Red Hat · Red Hat build of Keycloak 22.0.7
All versions: unaffected
Red Hat · Red Hat Single Sign-On 7
All versions: unaffected
Red Hat · Red Hat Single Sign-On 7.6 for RHEL 7
- unaffected 0:18.0.11-2.redhat_00003.1.el7sso – < *
Red Hat · Red Hat Single Sign-On 7.6 for RHEL 7
- unaffected 0:18.0.12-1.redhat_00001.1.el7sso – < *
Red Hat · Red Hat Single Sign-On 7.6 for RHEL 8
- unaffected 0:18.0.11-2.redhat_00003.1.el8sso – < *
Red Hat · Red Hat Single Sign-On 7.6 for RHEL 8
- unaffected 0:18.0.12-1.redhat_00001.1.el8sso – < *
Red Hat · Red Hat Single Sign-On 7.6 for RHEL 9
- unaffected 0:18.0.11-2.redhat_00003.1.el9sso – < *
Red Hat · Red Hat Single Sign-On 7.6 for RHEL 9
- unaffected 0:18.0.12-1.redhat_00001.1.el9sso – < *
Red Hat · RHEL-8 based Middleware Containers
- unaffected 7.6-38 – < *
Red Hat · RHEL-8 based Middleware Containers
- unaffected 7.6.6-2 – < *
Red Hat · RHEL-8 based Middleware Containers
- unaffected 7.6-41 – < *
Red Hat · Single Sign-On 7.6.6
All versions: unaffected
Red Hat · Migration Toolkit for Applications 6
All versions: affected
Red Hat · Migration Toolkit for Applications 7
All versions: unaffected
Red Hat · OpenShift Serverless
All versions: unaffected
All versions: unaffected
Red Hat · Red Hat Decision Manager 7
All versions: unaffected
All versions: unaffected
Red Hat · Red Hat JBoss Data Grid 7
All versions: unaffected
Red Hat · Red Hat JBoss Enterprise Application Platform 6
All versions: unaffected
Red Hat · Red Hat Process Automation 7
All versions: unaffected
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- Mavenorg.keycloak:keycloak-servicesGHSA-mpwq-j3xf-7m5w (opens in a new tab)
What to do
Workaround: Mitigation for this issue is either not available or the currently available options don't meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.
References
References14
- RHSA-2023:7854 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- RHSA-2023:7855 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- RHSA-2023:7856 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- RHSA-2023:7857 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- RHSA-2023:7858 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- RHSA-2023:7860 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- RHSA-2023:7861 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- RHSA-2024:0798 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- RHSA-2024:0799 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- RHSA-2024:0800 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- RHSA-2024:0801 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- RHSA-2024:0804 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- https://access.redhat.com/security/cve/CVE-2023-6291 (opens in a new tab)vdb-entryx_refsource_REDHATx_transferred
- RHBZ#2251407 (opens in a new tab)issue-trackingx_refsource_REDHATx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2023-3249 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-mpwq-j3xf-7m5w (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2023-6291)Record last updated .