WaratekVRT Sign in

CVE-2026-7504 Build of Keycloak

Affected softwareBuild of Keycloak
Severity8.1 High CVSS 3.1 2 scores
Fixed in26.6.2
WeaknessCWE-601
Published19 May 2026
Updated26 Oct 2026

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.

Exploitation status

No public exploit

No exploit has been reported in the sources we check.

  • CISA KEV not listed
  • VulnCheck KEV not listed
  • CISA Vulnrichment exploitation: none
  • Indexed PoC none indexed
  • EPSS 0.64% chance in 30 days

Waratek protection

No exploit published

Within Waratek scope. In the sources we check, nobody has published exploit code for this CVE or reported it being exploited.

A public code fix exists: keycloak/keycloak #49130.

  • Protection none
  • Action unverified
  • Review automated Upstream data
  • Record active
Decided by Exploit code for this candidate, published in a reviewed catalogue or a GitHub repository with 5 or more stars, or in use per CISA or VulnCheck; not only a CISA verdict, a forecast, or nothing at all
Finding This CVE is not listed in CISA KEV or VulnCheck KEV, CISA Vulnrichment records no active exploitation, no reviewed exploit catalogue carries an entry for it, and no GitHub PoC repository for it has 5 or more stars. Nobody has published exploit code worth tracing, so it is not a candidate for a rule ahead of the ones where somebody has; an upstream fix path does exist, so the remediation half of the candidacy still holds. This is a statement about what has been published, not about whether the defect is reachable or serious.
Candidate fix https://bugzilla.redhat.com/show_bug.cgi?id=2464128 : a Red Hat bug: the triage, which links onward to the fix

CVSS

8.1 HIGH v3.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N 2 metrics

We show the highest score from the newest CVSS version. Scores from different versions can't be compared, and the first score listed is sometimes a 0.0 placeholder.

VersionScoreBandVectorAssignerType
CVSS 3.1 8.1 HIGH CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N secalert@redhat.com Secondary published
CVSS 3.1 8.1 HIGH CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N redhat-SADP Secondary

Affected software and releases

Maven packages

Affected and fixed versions, from OSV.dev
PackageIntroducedFixedLast affected
org.keycloak:keycloak-services 0 26.6.2 unbounded

Products and versions

2 products, 2 version entries
SourceVendorProductSchemeAffected versions
osv org.keycloak keycloak-services generic < 26.6.2
nvd redhat build of keycloak generic ≥ 26.4 and < 26.4.12

References

URLTags
https://bugzilla.redhat.com/show_bug.cgi?id=2464128 bugzilla
https://github.com/keycloak/keycloak/pull/49130 WEB
https://github.com/keycloak/keycloak/commit/479620769073ac36b782dee65086ab35e8e5d14e WEB
https://access.redhat.com/errata/RHSA-2026:19594 WEB
https://access.redhat.com/errata/RHSA-2026:19595 WEB
https://access.redhat.com/errata/RHSA-2026:19596 WEB
https://access.redhat.com/errata/RHSA-2026:19597 WEB
https://access.redhat.com/security/cve/CVE-2026-7504 WEB
https://github.com/keycloak/keycloak PACKAGE
https://github.com/keycloak/keycloak/releases/tag/26.6.2 WEB

Timeline

Published2026-05-19By the CVE Program.
NVD record modified2026-10-26NVD's own last-modified date for this record.