# CVE-2026-3872: Keycloak: keycloak: information disclosure due to redirect_uri validation bypass

Status: published. Published: 2026-04-02. Updated: 2026-11-26.

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.

## Remediation

- workaround: 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. (source: CNA: redhat)
- fix: RHSA-2026:6476: Red Hat build of Keycloak 26.2

RHSA-2026:6478: Red Hat build of Keycloak 26.4

RHSA-2026:6475: Red Hat build of Keycloak 26.2.15

RHSA-2026:6477: Red Hat build of Keycloak 26.4.11 (source: ADP: redhat-SADP)
- workaround: 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. (source: ADP: redhat-SADP)

## Affected products and versions

-  /  (keycloak): ≥ 0; < 26.2.15 (affected, semver); ≥ 26.3.0; ≤ 26.3.5 (affected, semver); ≥ 26.4.0; < 26.4.11 (affected, semver); ≥ 26.5.0; < 26.5.7 (affected, semver). Source: CNA: redhat
- Red Hat / Red Hat build of Keycloak 26.2 (rhbk/keycloak-operator-bundle): ≥ 26.2.15-1; < * (unaffected, rpm). Source: CNA: redhat
- Red Hat / Red Hat build of Keycloak 26.2 (rhbk/keycloak-rhel9): ≥ 26.2-18; < * (unaffected, rpm). Source: CNA: redhat
- Red Hat / Red Hat build of Keycloak 26.2 (rhbk/keycloak-rhel9-operator): ≥ 26.2-18; < * (unaffected, rpm). Source: CNA: redhat
- Red Hat / Red Hat build of Keycloak 26.2.15 (rhbk/keycloak-rhel9): Version range not reported. Source: CNA: redhat
- Red Hat / Red Hat build of Keycloak 26.4 (rhbk/keycloak-operator-bundle): ≥ 26.4.11-1; < * (unaffected, rpm). Source: CNA: redhat
- Red Hat / Red Hat build of Keycloak 26.4 (rhbk/keycloak-rhel9): ≥ 26.4-14; < * (unaffected, rpm). Source: CNA: redhat
- Red Hat / Red Hat build of Keycloak 26.4 (rhbk/keycloak-rhel9-operator): ≥ 26.4-14; < * (unaffected, rpm). Source: CNA: redhat
- Red Hat / Red Hat build of Keycloak 26.4.11 (rhbk/keycloak-rhel9): Version range not reported. Source: CNA: redhat
- Red Hat / Red Hat build of Keycloak 26.2 (rhbk/keycloak-operator-bundle): ≥ 26.2.15-1; < * (unaffected, rpm). Source: ADP: redhat-SADP
- Red Hat / Red Hat build of Keycloak 26.2 (rhbk/keycloak-rhel9): ≥ 26.2-18; < * (unaffected, rpm). Source: ADP: redhat-SADP
- Red Hat / Red Hat build of Keycloak 26.2 (rhbk/keycloak-rhel9-operator): ≥ 26.2-18; < * (unaffected, rpm). Source: ADP: redhat-SADP
- Red Hat / Red Hat build of Keycloak 26.2.15 (rhbk/keycloak-rhel9): Version range not reported. Source: ADP: redhat-SADP
- Red Hat / Red Hat build of Keycloak 26.4 (rhbk/keycloak-operator-bundle): ≥ 26.4.11-1; < * (unaffected, rpm). Source: ADP: redhat-SADP
- Red Hat / Red Hat build of Keycloak 26.4 (rhbk/keycloak-rhel9): ≥ 26.4-14; < * (unaffected, rpm). Source: ADP: redhat-SADP
- Red Hat / Red Hat build of Keycloak 26.4 (rhbk/keycloak-rhel9-operator): ≥ 26.4-14; < * (unaffected, rpm). Source: ADP: redhat-SADP
- Red Hat / Red Hat build of Keycloak 26.4.11 (rhbk/keycloak-rhel9): Version range not reported. Source: ADP: redhat-SADP

## Severity and prioritization

- CVSS 3.1: 7.3 (high); CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N; source: CNA: redhat

- CVSS 3.1: 7.3 (high); CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N; source: ADP: redhat-SADP

- CISA KEV: No listing in collected sources

- EPSS: 0.62% as of 2026-11-25; percentile 44.27%

- SSVC: exploitation none; automatable no; technical impact total; source ADP: CISA-ADP

- Weaknesses: CWE-601

## Exploit evidence

No exploit evidence in collected sources. This is not proof of no exploitation.

## References

- https://access.redhat.com/errata/RHSA-2026:6475 (CNA: redhat; vendor-advisory, x_refsource_REDHAT)

- https://access.redhat.com/errata/RHSA-2026:6476 (CNA: redhat; vendor-advisory, x_refsource_REDHAT)

- https://access.redhat.com/errata/RHSA-2026:6477 (CNA: redhat; vendor-advisory, x_refsource_REDHAT)

- https://access.redhat.com/errata/RHSA-2026:6478 (CNA: redhat; vendor-advisory, x_refsource_REDHAT)

- https://access.redhat.com/security/cve/CVE-2026-3872 (CNA: redhat; vdb-entry, x_refsource_REDHAT)

- https://bugzilla.redhat.com/show_bug.cgi?id=2445988 (CNA: redhat; issue-tracking, x_refsource_REDHAT)

- https://access.redhat.com/security/cve/CVE-2026-3872 (ADP: redhat-SADP; vdb-entry, x_refsource_REDHAT)

- https://bugzilla.redhat.com/show_bug.cgi?id=2445988 (ADP: redhat-SADP; issue-tracking, x_refsource_REDHAT)

- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-3872.json (ADP: redhat-SADP; x_sadp-csaf-vex)

- https://access.redhat.com/errata/RHSA-2026:6476 (ADP: redhat-SADP; vendor-advisory, x_refsource_REDHAT)

- https://access.redhat.com/errata/RHSA-2026:6478 (ADP: redhat-SADP; vendor-advisory, x_refsource_REDHAT)

- https://access.redhat.com/errata/RHSA-2026:6475 (ADP: redhat-SADP; vendor-advisory, x_refsource_REDHAT)

- https://access.redhat.com/errata/RHSA-2026:6477 (ADP: redhat-SADP; vendor-advisory, x_refsource_REDHAT)

## Provenance

- CNA: redhat: https://www.cve.org/CVERecord?id=CVE-2026-3872; retrieved 2026-11-26; source updated 2026-11-26

- FIRST EPSS: https://api.first.org/data/v1/epss?cve=CVE-2026-3872; retrieved 2026-11-26; source updated Not reported

Revision: ccfe0a273fe23aeda6c761d4bfd010fdcb1f74d25a76a426f019ed44eba66d62

Canonical: https://y2.dev/cve/CVE-2026-3872

## Agent and API access

Public CVE pages, Markdown, and JSON are free to read without an account or API key.

- Public catalog: https://y2.dev/cve/index.json. Follow nextCursor with the same search, filters, sort, and limit (1–100). A null cursor marks the end.

- WebMCP: search_cve_disclosures, get_cve_disclosure, get_cve_page_markdown, get_y2_cve_access. Available in compatible browsers.

- Cyber API: https://api.y2.dev/api/v2/cyber/cves and https://api.y2.dev/api/v2/cyber/cves/{cveId}.

- Y2 Pro or Elite: create a workspace API key with the intel:cyber scope and send Authorization: Bearer <Y2_API_KEY>. Setup: https://y2.dev/docs/api/create-key.

- x402: Pay per request without an account or API key. Omit Authorization, read the HTTP 402 PAYMENT-REQUIRED challenge, validate its current requirements, and retry with PAYMENT-SIGNATURE through an authorized payment client. These browser tools never make payments. Guide: https://y2.dev/docs/api/x402.

- OpenAPI: https://y2.dev/api/openapi.yaml. Agent access metadata: https://y2.dev/cve/agent.json.

Collected public records only. Check source status for coverage and freshness.