Keycloak: redirect_uri validation bypass
CVE-2023-6291Published 26 Jan 2024, 14:23 UTC
Real-world risk
1.8/ 10Low
Routine
PreliminaryFrom the CVSS vector only · confidence low
CVSS
7.1
scored by the vendor (CNA), CVSS 3.1
In plain words
No plain-language summary yet. The original description is below.
Original description (from redhat)
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.
Am I affected?
| Product | Affected versions (from the sources) | Fixed in |
|---|---|---|
| Red Hat Enterprise LinuxUbiquitous | not stated | — |
| JBoss Enterprise Application PlatformWidespread | not stated | — |
| KeycloakWidespread | not stated | — |
| Red Hat OpenShift Container PlatformWidespread | not stated | — |
| Red Hat Data Grid 8Common | not stated | — |
| Red Hat Fuse 7Common | not stated | — |
| Red Hat Process Automation 7Common | not stated | — |
| Migration Toolkit for Applications 8Niche | not stated | — |
| Red Hat Decision Manager 7Niche | not stated | — |
| jboss_data_gridNiche | not stated | — |
What to do
Check the vendor advisory in the references below for fixed versions and workarounds.
Why this score
| Factor | Value | Evidence | × |
|---|---|---|---|
| Impact | MinorReflected XSS, CSRF with low effect, open redirect, minor leak | From the CVSS vector | 0.30 |
| Attacker position | InternetAnyone on the Internet can reach a typical deployment | From the CVSS vector | 1.00 |
| Privileges needed | NoneNo account | From the CVSS vector | 1.00 |
| Victim interaction | RoutineA normal action: open a file, visit a page, click a link | From the CVSS vector | 0.70 |
| Configuration | DefaultOut-of-the-box installs are vulnerable | From the CVSS vector | 1.00 |
| Reliability | ReliableDeterministic: injection, logic bug, path traversal | From the CVSS vector | 1.00 |
Threat level T1: Nothing known (× 0.85)
The default for a new disclosure
EPSS 1.0% chance of exploitation in 30 days (percentile 65), as of 2026-12-02.
The arithmetic
- Prerequisites multiplied together0.700
- Threat T1: Nothing known0.850
- 10 × impact 0.3 × prerequisites 0.7 × threat 0.851.785
- Rounded to one decimal between 0.1 and 101.8
Exploitation and evidence timeline
- 26 Jan 2024 Published
- 3 Dec 2026 Risk 1.8 (cvss fallback)
Weakness
CWE-601
References
- https://access.redhat.com/errata/RHSA-2023:7854redhat, vendor-advisory, x-transferred
- https://access.redhat.com/errata/RHSA-2023:7855redhat, vendor-advisory, x-transferred
- https://access.redhat.com/errata/RHSA-2023:7856redhat, vendor-advisory, x-transferred
- https://access.redhat.com/errata/RHSA-2023:7857redhat, vendor-advisory, x-transferred
- https://access.redhat.com/errata/RHSA-2023:7858redhat, vendor-advisory, x-transferred
- https://access.redhat.com/errata/RHSA-2023:7860redhat, vendor-advisory, x-transferred
- https://access.redhat.com/errata/RHSA-2023:7861redhat, vendor-advisory, x-transferred
- https://access.redhat.com/errata/RHSA-2024:0798redhat, vendor-advisory, x-transferred
- https://access.redhat.com/errata/RHSA-2024:0799redhat, vendor-advisory, x-transferred
- https://access.redhat.com/errata/RHSA-2024:0800redhat, vendor-advisory, x-transferred
- https://access.redhat.com/errata/RHSA-2024:0801redhat, vendor-advisory, x-transferred
- https://access.redhat.com/errata/RHSA-2024:0804redhat, vendor-advisory, x-transferred
- https://access.redhat.com/security/cve/CVE-2023-6291redhat, vdb-entry, x-transferred
- https://bugzilla.redhat.com/show_bug.cgi?id=2251407issue-tracking, redhat, x-transferred
- CVE-2023-6291 on CVE.org