CVE-2026-7504: Red Hat build of Keycloak 26.2 · Open Redirect
Affects Red Hat build of Keycloak 26.2Source CVE Database V5
Not known to be exploited · CVSS 8.1 High : upgrade the Red Hat redhat/keycloak package to 26.2.16 soon.
Data as of 30 Oct 2026, 11:52 UTC
- EPSS
- 0.5% chance of exploitation in 30 days – higher than 42% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 26.2.16
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:NExploitation evidence
Disclosed: evidence found.
CVE published 19 May 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 30 Oct 2026.
What to do
Upgrade the Red Hat redhat/keycloak package to 26.2.16.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Red Hatredhat/keycloakpkg:rpm/redhat/keycloakOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Red Hat has released an official security update in Red Hat build of Keycloak version 26.2.16 that fixes this vulnerability. Users should upgrade to version 26.2.16 or later. Before applying the update, back up existing installations including applications, configuration files, and databases. No other mitigations are specified by the vendor. Patch status is confirmed by Red Hat advisories RHSA-2026:19594 and RHSA-2026:19595.
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.
References
- access.redhat.com/errata/RHSA-2026:19594 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:19595 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:19596 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:19597 (opens in a new tab)
- access.redhat.com/security/cve/CVE-2026-7504 (opens in a new tab)
- bugzilla.redhat.com/show_bug.cgi?id=2464128 (opens in a new tab)
- security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-7504.json (opens in a new tab)