CVE-2026-7504: redhat build_of_keycloak Open Redirect
Vulnerability summary
CVE-2026-7504 is a high (CVSS 8.1) Open Redirect vulnerability in redhat build_of_keycloak. EPSS estimates a 0.50% chance of exploitation in the next 30 days, higher than 41.7% of scored vulnerabilities.
Timeline
- 19-05-2026PublishedVulnerability first disclosed.
- 15-07-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
5 scores · 5 sources · 1 version- OSV · WolfiEcosystem advisory · calculated8.1HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N
- OSV · ChainguardEcosystem advisory · calculated8.1HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N
- OSV · MavenEcosystem advisory · calculated8.1HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N
- NVDNIST8.1HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N
EPSS trend
Probability
0.50%
Chance of exploitation in the next 30 days
Percentile
42%
Versus all other CVEs
30-day change
0.00 pp
From 0.50% on 21-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Chainguard12 products
- keycloak-26.4All versions (No fix recorded)
- keycloak-26.4-iamguarded-compatAll versions (No fix recorded)
- keycloak-26.5All versions (No fix recorded)
- keycloak-26.5-iamguarded-compatAll versions (No fix recorded)
- keycloak-fips-26.4All versions (No fix recorded)
Wolfi4 products
- keycloak-26.4All versions (No fix recorded)
- keycloak-26.4-iamguarded-compatAll versions (No fix recorded)
- keycloak-26.5All versions (No fix recorded)
- keycloak-26.5-iamguarded-compatAll versions (No fix recorded)
Org.keycloak1 product
- keycloak-services< 26.6.2
Redhat1 product
- build_of_keycloak≥ 26.4, < 26.4.12
4 vendors · 18 products
References
12 linksShow all 12 references
- github.com/keycloak/keycloakPACKAGE