CVSS 3.1
8.1 highCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:NHigh (8.1) in redhat build of keycloak. EPSS 0.6% estimated probability of exploitation activity in the next 30 days. Fixed in org.keycloak:keycloak-services 26.6.2.
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:Norg.keycloak:keycloak-services (Maven): fixed in 26.6.2Explain CVE-2026-7504 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-7504?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-7504?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-7504 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the CNA's record in the CVE List.
| Product | Fixed in |
|---|---|
| Red Hat build of Keycloak 26.2 | 26.2.16-1 |
| Red Hat build of Keycloak 26.2 | 26.2-21 |
| Red Hat build of Keycloak 26.4 | 26.4.12-1 |
| Red Hat build of Keycloak 26.4 | 26.4-17 |
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-rp95-xpg9-c2cq | Maven | org.keycloak:keycloak-services | <26.6.2 | 26.6.2 |
Red Hat rates this Important.
This Moderate impact flaw in Keycloak allows for open redirection when a client is configured with a wildcard in its Valid Redirect URIs. An attacker could craft a malicious URL that, upon user interaction, bypasses validation and redirects to arbitrary locations within the domain, potentially leading to information disclosure or further attacks. This issue specifically affects deployments where clients utilize wildcard redirect URIs, requiring a specific configuration and user engagement for exploitation.
To mitigate this vulnerability, Red Hat recommends avoiding the use of wildcard characters in the "Valid Redirect URIs" field for clients within Keycloak. Instead, explicitly list all allowed redirect URIs. Review all client configurations to ensure that wildcards are not used unless absolutely necessary, and if used, ensure that the client application is robust against open redirect vulnerabilities. Changes to client configurations in Keycloak may require a restart or reload of the Keycloak service to take effect, which could impact active user sessions.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat build of Keycloak 26.2 | rhbk/keycloak-operator-bundle:26.2.16-1 | Fixed 2026-05-20 | RHSA-2026:19595 |
| Red Hat build of Keycloak 26.2 | rhbk/keycloak-rhel9:26.2-21 | Fixed 2026-05-20 | RHSA-2026:19595 |
| Red Hat build of Keycloak 26.2 | rhbk/keycloak-rhel9-operator:26.2-21 | Fixed 2026-05-20 | RHSA-2026:19595 |
| Red Hat build of Keycloak 26.2.16 | rhbk/keycloak-rhel9-operator | Fixed 2026-05-20 | RHSA-2026:19594 |
| Red Hat build of Keycloak 26.4 | rhbk/keycloak-operator-bundle:26.4.12-1 | Fixed 2026-05-20 | RHSA-2026:19597 |
| Red Hat build of Keycloak 26.4 | rhbk/keycloak-rhel9:26.4-17 | Fixed 2026-05-20 | RHSA-2026:19597 |
| Red Hat build of Keycloak 26.4 | rhbk/keycloak-rhel9-operator:26.4-17 | Fixed 2026-05-20 | RHSA-2026:19597 |
| Red Hat build of Keycloak 26.4.12 | rhbk/keycloak-rhel9-operator | Fixed 2026-05-20 | RHSA-2026:19596 |
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-7504.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.