{"id":"CVE-2026-3872","published":"2026-04-02T12:37:30Z","modified":"2026-07-15T01:02:22Z","title":"Keycloak: keycloak: information disclosure due to redirect_uri validation bypass","vendor":"Red Hat","product":"Red Hat build of Keycloak 26.2","tier":"tail","description":{"text":"A flaw was found in Keycloak. This issue allows an attacker, who controls another path on the same web server, to bypass the allowed path in redirect Uniform Resource Identifiers (URIs) that use a wildcard. A successful attack may lead to the theft of an access token, resulting in information disclosure.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.3,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00458,"percentile":0.40582,"provenance":"source"},"cwes":[{"id":"CWE-601","name":"URL Redirection to Untrusted Site"}],"references":[{"url":"https://access.redhat.com/errata/RHSA-2026:6475","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:6476","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:6477","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:6478","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/security/cve/CVE-2026-3872","tags":["vdb-entry","x_refsource_REDHAT"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2445988","tags":["issue-tracking","x_refsource_REDHAT"]},{"url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-3872.json","tags":["x_sadp-csaf-vex"]}],"priority":{"score":13.2,"factors":[{"name":"EPSS percentile","points":8.12},{"name":"CVSS severity","points":5.11}]},"vendorSlug":"red-hat","affectedVersions":[{"vendor":"Red Hat","product":"Red Hat build of Keycloak 26.2","versions":["all versions"]},{"vendor":"Red Hat","product":"Red Hat build of Keycloak 26.2","versions":["all versions"]},{"vendor":"Red Hat","product":"Red Hat build of Keycloak 26.2","versions":["all versions"]},{"vendor":"Red Hat","product":"Red Hat build of Keycloak 26.4","versions":["all versions"]},{"vendor":"Red Hat","product":"Red Hat build of Keycloak 26.4","versions":["all versions"]},{"vendor":"Red Hat","product":"Red Hat build of Keycloak 26.4","versions":["all versions"]}],"workarounds":{"items":["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."],"from":"CVE.org CNA","provenance":"source"},"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-04-02T13:15:11.566412Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Maven","package":"org.keycloak:keycloak-services","vulnerableRanges":["<26.5.7"],"patched":["26.5.7"],"from":["GHSA-cjm2-j6cm-6p6m"],"provenance":"source"}],"summary":{"text":"A flaw in the Keycloak component of the Red Hat build of Keycloak 26.2 lets redirect URI validation be bypassed when a wildcard is used in the redirect URI. An attacker who controls another path on the same web server, and who can get a victim to interact with the crafted flow, may be able to steal an access token and so disclose information; the attack requires network access and low privileges.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:45:05Z"},"euvd":{"id":"EUVD-2026-18206","exploited":false,"provenance":"source"}}