Skip to main content
CVE-2023-6291VulnerabilityPublished Updated

CVE-2023-6291: Red Hat build of Keycloak 22 · Open Redirect

Affects Red Hat build of Keycloak 22Source CVE Database V5

0

Not known to be exploited · CVSS 7.1 High.

Data as of 25 Oct 2026, 19:02 UTC

CVSS 3.1 base score
7.1High
How severe the flaw is on the 0–10 CVSS scale.
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:L

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 26 Jan 2024

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

ProductAffectedFixed in
Red Hat Red Hat build of Keycloak 22Affected
  • =22
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

Community reviews

Loading reviews…