CVSS 3.1
7.3 highCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:NHigh (7.3) in redhat build of keycloak. EPSS 0.4% estimated probability of exploitation activity in the next 30 days. Fixed in org.keycloak:keycloak-services 26.5.7.
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:Norg.keycloak:keycloak-services (Maven): fixed in 26.5.7Explain CVE-2026-3872 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-3872?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-3872?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-3872 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.15-1 |
| Red Hat build of Keycloak 26.2 | 26.2-18 |
| Red Hat build of Keycloak 26.4 | 26.4.11-1 |
| Red Hat build of Keycloak 26.4 | 26.4-14 |
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-cjm2-j6cm-6p6m | Maven | org.keycloak:keycloak-services | <26.5.7 | 26.5.7 |
Red Hat rates this Important.
This is an Important information disclosure flaw in Keycloak's `redirect_uri` validation logic. An attacker controlling another path on the same web server could bypass allowed paths in wildcard `redirect_uri` configurations, potentially leading to access token theft. This affects Red Hat Build of Keycloak (RHBK) versions rhbk-26.2 and rhbk-26.4. Red Hat Build of Keycloak (RHBK) version rhbk-26 is not affected.
To mitigate this vulnerability, avoid using wildcards in `redirect_uri` configurations within Keycloak. Restricting `redirect_uri` to explicit, fully qualified URIs prevents the bypass of validation logic. This configuration change may require a service restart or reload to take effect.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat build of Keycloak 26.2 | rhbk/keycloak-operator-bundle:26.2.15-1 | Fixed 2026-04-02 | RHSA-2026:6476 |
| Red Hat build of Keycloak 26.2 | rhbk/keycloak-rhel9:26.2-18 | Fixed 2026-04-02 | RHSA-2026:6476 |
| Red Hat build of Keycloak 26.2 | rhbk/keycloak-rhel9-operator:26.2-18 | Fixed 2026-04-02 | RHSA-2026:6476 |
| Red Hat build of Keycloak 26.2.15 | rhbk/keycloak-rhel9 | Fixed 2026-04-02 | RHSA-2026:6475 |
| Red Hat build of Keycloak 26.4 | rhbk/keycloak-operator-bundle:26.4.11-1 | Fixed 2026-04-02 | RHSA-2026:6478 |
| Red Hat build of Keycloak 26.4 | rhbk/keycloak-rhel9:26.4-14 | Fixed 2026-04-02 | RHSA-2026:6478 |
| Red Hat build of Keycloak 26.4 | rhbk/keycloak-rhel9-operator:26.4-14 | Fixed 2026-04-02 | RHSA-2026:6478 |
| Red Hat build of Keycloak 26.4.11 | rhbk/keycloak-rhel9 | Fixed 2026-04-02 | RHSA-2026:6477 |
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-3872.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.