CVE-2023-6291: Red Hat build of Keycloak 22 · Open Redirect
Affects Red Hat build of Keycloak 22Source CVE Database V5
Not known to be exploited · CVSS 7.1 High.
Data as of 25 Oct 2026, 19:02 UTC
- EPSS
- 0.9% chance of exploitation in 30 days – higher than 60% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:LExploitation evidence
Disclosed: evidence found.
CVE published 26 Jan 2024
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2026-10-25.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| Red Hat Red Hat build of Keycloak 22 | Affected
| Fixed in– |
AI-suggested
1. Apply official patches or updates from Red Hat as soon as they become available to address the redirect_uri validation flaw. 2. Until patches are applied, implement strict validation and whitelisting of redirect URIs at the application or proxy level to prevent redirection to untrusted domains. 3. Employ multi-factor authentication (MFA) to reduce the risk of token misuse even if tokens are stolen. 4. Monitor authentication logs and redirect requests for unusual patterns or anomalies indicative of exploitation attempts. 5. Educate users about phishing risks and suspicious links to reduce the likelihood of user interaction with malicious URLs. 6. Consider deploying web application firewalls (WAF) with rules to detect and block open redirect attempts targeting Keycloak endpoints. 7. Review and tighten OAuth2/OpenID Connect client configurations to minimize exposure. 8. Conduct regular security assessments and penetration testing focusing on identity management components.
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.
References
- access.redhat.com/errata/RHSA-2023:7854 (opens in a new tab)
- access.redhat.com/errata/RHSA-2023:7855 (opens in a new tab)
- access.redhat.com/errata/RHSA-2023:7856 (opens in a new tab)
- access.redhat.com/errata/RHSA-2023:7857 (opens in a new tab)
- access.redhat.com/errata/RHSA-2023:7858 (opens in a new tab)
- access.redhat.com/errata/RHSA-2023:7860 (opens in a new tab)
- access.redhat.com/errata/RHSA-2023:7861 (opens in a new tab)
- access.redhat.com/errata/RHSA-2024:0798 (opens in a new tab)
- access.redhat.com/errata/RHSA-2024:0799 (opens in a new tab)
- access.redhat.com/errata/RHSA-2024:0800 (opens in a new tab)
- access.redhat.com/errata/RHSA-2024:0801 (opens in a new tab)
- access.redhat.com/errata/RHSA-2024:0804 (opens in a new tab)
- access.redhat.com/security/cve/CVE-2023-6291 (opens in a new tab)
- bugzilla.redhat.com/show_bug.cgi?id=2251407 (opens in a new tab)