8.1

CVE-2026-7504: redhat build_of_keycloak Open Redirect

CVSS: 8.1v3.1HighModified
AliasesCGA-2m62-498m-xc49CGA-3ghw-w5qr-9c2jCGA-h9r4-2g8j-4hpm
Published 19-05-2026Last modified 15-07-2026

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.

Overall risk
32/100
0100
Medium · default modelHow is this calculated?
CVSS score
8.1/10
010
High · v3.1 (CVE.org)
EPSS score
0.50%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Timeline

  1. 19-05-2026
    PublishedVulnerability first disclosed.
  2. 15-07-2026
    Last 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

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

21-09-202621-10-2026
EPSS score
0.50%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected 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

4 vendors · 18 products

References

12 links
Show all 12 references