CVE-2026-7504
published high CVSS 3.1 · 8.1Org.keycloak/keycloak-services: open redirect when using wildcard valid redirect uris in keycloak
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Red Hat | — | rhbk/keycloak-operator-bundleRed Hat build of Keycloak 26.2 · 26.2.16-1 and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat | — | rhbk/keycloak-rhel9Red Hat build of Keycloak 26.2 · 26.2-21 and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat | — | rhbk/keycloak-rhel9-operatorRed Hat build of Keycloak 26.2 · 26.2-21 and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat | — | rhbk/keycloak-rhel9-operatorRed Hat build of Keycloak 26.2.16 | Unaffected | Not required | redhat |
| Red Hat | — | rhbk/keycloak-operator-bundleRed Hat build of Keycloak 26.4 · 26.4.12-1 and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat | — | rhbk/keycloak-rhel9Red Hat build of Keycloak 26.4 · 26.4-17 and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat | — | rhbk/keycloak-rhel9-operatorRed Hat build of Keycloak 26.4 · 26.4-17 and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat | — | rhbk/keycloak-rhel9-operatorRed Hat build of Keycloak 26.4.12 | Unaffected | Not required | redhat |
Show 8 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Red Hat | — | rhbk/keycloak-operator-bundleRed Hat build of Keycloak 26.2 · 26.2.16-1 and later · Other versions: affected | Unaffected | Not stated | redhat-SADP |
| Red Hat | — | rhbk/keycloak-rhel9Red Hat build of Keycloak 26.2 · 26.2-21 and later · Other versions: affected | Unaffected | Not stated | redhat-SADP |
| Red Hat | — | rhbk/keycloak-rhel9-operatorRed Hat build of Keycloak 26.2 · 26.2-21 and later · Other versions: affected | Unaffected | Not stated | redhat-SADP |
| Red Hat | — | rhbk/keycloakRed Hat build of Keycloak 26.2.16 · rhel9-operator and later · Other versions: affected | Unaffected | Not stated | redhat-SADP |
| Red Hat | — | rhbk/keycloak-operator-bundleRed Hat build of Keycloak 26.4 · 26.4.12-1 and later · Other versions: affected | Unaffected | Not stated | redhat-SADP |
| Red Hat | — | rhbk/keycloak-rhel9Red Hat build of Keycloak 26.4 · 26.4-17 and later · Other versions: affected | Unaffected | Not stated | redhat-SADP |
| Red Hat | — | rhbk/keycloak-rhel9-operatorRed Hat build of Keycloak 26.4 · 26.4-17 and later · Other versions: affected | Unaffected | Not stated | redhat-SADP |
| Red Hat | — | rhbk/keycloakRed Hat build of Keycloak 26.4.12 · rhel9-operator and later · Other versions: affected | Unaffected | Not stated | redhat-SADP |
Description
A flaw was found in Keycloak's URL validation logic during redirect operations. By crafting a malicious request, an attacker could bypass validation to redirect users to unauthorized URLs, potentially leading to the exposure of sensitive information within the domain or facilitating further attacks. This vulnerability specifically affects Keycloak clients configured with a wildcard (*) in the "Valid Redirect URIs" field and requires user interaction to be successfully exploited. The issue stems from a discrepancy in how Keycloak and the underlying Java URI implementation handle the user-info component of a URL. If a malicious redirect URL is constructed using multiple @ characters in the user-info section, Java's URI parser fails to extract the user-info, leaving only the raw authority field. Consequently, Keycloak's validation check fails to detect the malformed user-info, falls back to a wildcard comparison, and incorrectly permits the malicious redirect.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 8.1 / 10
- Severity
- high
- Provider
- redhat · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 8.1 | high | redhat-SADP · adp | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Red Hat | Red Hat build of Keycloak 26.2 | 26.2.16-1 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat build of Keycloak 26.2 | 26.2-21 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat build of Keycloak 26.2 | 26.2-21 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat build of Keycloak 26.2.16 | Default: unaffected | redhat · cna |
| Red Hat | Red Hat build of Keycloak 26.4 | 26.4.12-1 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat build of Keycloak 26.4 | 26.4-17 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat build of Keycloak 26.4 | 26.4-17 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat build of Keycloak 26.4.12 | Default: unaffected | redhat · cna |
| Red Hat | Red Hat build of Keycloak 26.2 | 26.2.16-1 and later (unaffected · rpm)Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat build of Keycloak 26.2 | 26.2-21 and later (unaffected · rpm)Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat build of Keycloak 26.2 | 26.2-21 and later (unaffected · rpm)Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat build of Keycloak 26.2.16 | rhel9-operator and later (unaffected · rpm)Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat build of Keycloak 26.4 | 26.4.12-1 and later (unaffected · rpm)Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat build of Keycloak 26.4 | 26.4-17 and later (unaffected · rpm)Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat build of Keycloak 26.4 | 26.4-17 and later (unaffected · rpm)Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat build of Keycloak 26.4.12 | rhel9-operator and later (unaffected · rpm)Default: affected | redhat-SADP · adp |
Weaknesses
2- CWE-601 URL Redirection to Untrusted Site
- CWE-601 URL Redirection to Untrusted Site ('Open Redirect')
References
7- RHSA-2026:19594 https://access.redhat.com/errata/RHSA-2026:19594
- RHSA-2026:19595 https://access.redhat.com/errata/RHSA-2026:19595
- RHSA-2026:19596 https://access.redhat.com/errata/RHSA-2026:19596
- RHSA-2026:19597 https://access.redhat.com/errata/RHSA-2026:19597
- https://access.redhat.com/security/cve/CVE-2026-7504
- RHBZ#2464128 https://bugzilla.redhat.com/show_bug.cgi?id=2464128
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-7504.json
Provider assertions
3redhat · cna
Org.keycloak/keycloak-services: open redirect when using wildcard valid redirect uris in keycloak
redhat-SADP · adp
org.keycloak/keycloak-services: Open redirect when using wildcard valid redirect URIs in Keycloak
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 9cbcd10d4827ee73392ac6a047d2f84fa041fc14c58bf2d716665cff65d26123
- Ingested
- 26 Nov 2026, 15:02:30 UTC
- Source record
- Official CVE record