CVE-2026-7504HIGH 8.1EPSS p38.1%

CVE-2026-7504CVE-2026-7504

redhat / build_of_keycloak

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.

Scoring

CVSS 3.18.1 (HIGH)
VectorCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N
EPSS0.49% probability of exploitation · percentile 38.1% · 2026-06-18T12:00:27Z
Published2026-05-19
Last modified2026-06-03

Underlying weaknesses· 1

CWE-601

References

  1. https://access.redhat.com/errata/RHSA-2026:19594
  2. https://access.redhat.com/errata/RHSA-2026:19595
  3. https://access.redhat.com/errata/RHSA-2026:19596
  4. https://access.redhat.com/errata/RHSA-2026:19597
  5. https://access.redhat.com/security/cve/CVE-2026-7504
  6. https://bugzilla.redhat.com/show_bug.cgi?id=2464128

1

TypeTargetConfidenceTier
WeaknessURL Redirection to Untrusted Site ('Open Redirect')cwe-6010%live

Related by meaning· 6

Nearest entities by semantic similarity across the cs-graph corpus.

CVE
CVE-2026-4366
CVE
CVE-2026-9689
CVE
CVE-2026-7507
CVE
CVE-2026-7571
CVE
CVE-2026-4874
CVE
CVE-2026-9793
Sourced from NVD + FIRST.org EPSS. Curated for EU compliance use cases by Adam Lundqvist, Founder at SQUR.