Keycloak: keycloak: information disclosure due to redirect_uri validation bypass
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- Spoofing
- Confidentiality · integrity · availability
- High · High · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-601.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Red Hat | Red Hat build of Keycloak 26.2 | — | 26.2.15-1 | Patch available | CNA |
| Red Hat | Red Hat build of Keycloak 26.2 | — | 26.2-18 | Patch available | CNA |
| Red Hat | Red Hat build of Keycloak 26.2 | — | 26.2-18 | Patch available | CNA |
| Red Hat | Red Hat build of Keycloak 26.2.15 | — | — | Not affected | CNA |
| Red Hat | Red Hat build of Keycloak 26.4 | — | 26.4.11-1 | Patch available | CNA |
| Red Hat | Red Hat build of Keycloak 26.4 | — | 26.4-14 | Patch available | CNA |
| Red Hat | Red Hat build of Keycloak 26.4 | — | 26.4-14 | Patch available | CNA |
| Red Hat | Red Hat build of Keycloak 26.4.11 | — | — | Not affected | CNA |
| — | org.keycloak:keycloak-services (Maven) | before 26.5.7 | 26.5.7 | Patch available | GHSA-cjm2-j6cm-6p6m |
- Red Hat build of Keycloak 26.2 VendorRed Hat Affected — Fixed in 26.2.15-1 Patch available CNA
- Red Hat build of Keycloak 26.2 VendorRed Hat Affected — Fixed in 26.2-18 Patch available CNA
- Red Hat build of Keycloak 26.2 VendorRed Hat Affected — Fixed in 26.2-18 Patch available CNA
- Red Hat build of Keycloak 26.2.15 VendorRed Hat Affected — Fixed in — Not affected CNA
- Red Hat build of Keycloak 26.4 VendorRed Hat Affected — Fixed in 26.4.11-1 Patch available CNA
- Red Hat build of Keycloak 26.4 VendorRed Hat Affected — Fixed in 26.4-14 Patch available CNA
- Red Hat build of Keycloak 26.4 VendorRed Hat Affected — Fixed in 26.4-14 Patch available CNA
- Red Hat build of Keycloak 26.4.11 VendorRed Hat Affected — Fixed in — Not affected CNA
- org.keycloak:keycloak-services (Maven) Vendor— Affected before 26.5.7 Fixed in 26.5.7 Patch available GHSA-cjm2-j6cm-6p6m
CPE configurations NVD · 5
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:redhat:build_of_keycloak:-:*:*:*:text-only:*:*:* | not specified by NVD | Vulnerable | Red Hat |
| cpe:2.3:a:redhat:build_of_keycloak:26.2:*:*:*:text-only:*:*:* | 26.2 | Vulnerable | Red Hat |
| cpe:2.3:a:redhat:build_of_keycloak:26.2.15:*:*:*:text-only:*:*:* | 26.2.15 | Vulnerable | Red Hat |
| cpe:2.3:a:redhat:build_of_keycloak:26.4:*:*:*:text-only:*:*:* | 26.4 | Vulnerable | Red Hat |
| cpe:2.3:a:redhat:build_of_keycloak:26.4.11:*:*:*:text-only:*:*:* | 26.4.11 | Vulnerable | Red Hat |
- cpe:2.3:a:redhat:build_of_keycloak:-:*:*:*:text-only:*:*:* Versions not specified by NVD Vulnerable ·Red Hat
- cpe:2.3:a:redhat:build_of_keycloak:26.2:*:*:*:text-only:*:*:* Versions 26.2 Vulnerable ·Red Hat
- cpe:2.3:a:redhat:build_of_keycloak:26.2.15:*:*:*:text-only:*:*:* Versions 26.2.15 Vulnerable ·Red Hat
- cpe:2.3:a:redhat:build_of_keycloak:26.4:*:*:*:text-only:*:*:* Versions 26.4 Vulnerable ·Red Hat
- cpe:2.3:a:redhat:build_of_keycloak:26.4.11:*:*:*:text-only:*:*:* Versions 26.4.11 Vulnerable ·Red Hat
Remediation
- Fix · GHSA-cjm2-j6cm-6p6m org.keycloak:keycloak-services (Maven) Fixed in 26.5.7 Advisory →
Red Hat 4 advisories
- RHSA-2026:6478 Released 2026-04-02 · Red Hat rating ImportantRed Hat build of Keycloak 26.4.11 Images Update
- Red Hat build of Keycloak 26.4 rhbk/keycloak-operator-bundle, rhbk/keycloak-rhel9, rhbk/keycloak-rhel9-operator
- RHSA-2026:6476 Released 2026-04-02 · Red Hat rating ImportantRed Hat build of Keycloak 26.2.15 Images Update
- Red Hat build of Keycloak 26.2 rhbk/keycloak-operator-bundle, rhbk/keycloak-rhel9, rhbk/keycloak-rhel9-operator
- RHSA-2026:6477 Released 2026-04-02 · Red Hat rating ImportantRed Hat build of Keycloak 26.4.11 Update
- Red Hat build of Keycloak 26.4.11
Show 1 more Red Hat advisories
- RHSA-2026:6475 Released 2026-04-02 · Red Hat rating ImportantRed Hat build of Keycloak 26.2.15 Update
- Red Hat build of Keycloak 26.2.15
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Advisory ·
Red Hat build of Keycloak 26.2, Red Hat build of Keycloak 26.2.15 and 2 more products — RHSA-2026:6475
5 records Highest priority Priority MEDIUM 1 MEDIUM, 4 LOW
Other records, highest priority first
- TI-2026-04036 Keycloak: keycloak: denial of service via excessive processing of openid connect scope parametersPriority MEDIUM 40
- TI-2026-04038 Keycloak: keycloak: uma policy bypass allows authenticated users to gain unauthorized access to victim-owned resources.Priority LOW 38
- TI-2026-03727 Keycloak: keycloak: privilege escalation via forged authorization codes due to singleuseobjectprovider isolation flawPriority LOW 35
- Advisory ·
Red Hat build of Keycloak 26.2, Red Hat build of Keycloak 26.2.15 and 2 more products — RHSA-2026:6476
5 records Highest priority Priority MEDIUM 1 MEDIUM, 4 LOW
Other records, highest priority first
- TI-2026-04036 Keycloak: keycloak: denial of service via excessive processing of openid connect scope parametersPriority MEDIUM 40
- TI-2026-04038 Keycloak: keycloak: uma policy bypass allows authenticated users to gain unauthorized access to victim-owned resources.Priority LOW 38
- TI-2026-03727 Keycloak: keycloak: privilege escalation via forged authorization codes due to singleuseobjectprovider isolation flawPriority LOW 35
Vendor assessments
Red Hat
Red Hat rating: Important. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat build of Keycloak 26.2 | Fixed | RHSA-2026:6476 |
| Red Hat build of Keycloak 26.2.15 | Fixed | RHSA-2026:6475 |
| Red Hat build of Keycloak 26.4 | Fixed | RHSA-2026:6478 |
| Red Hat build of Keycloak 26.4.11 | Fixed | RHSA-2026:6477 |
Timeline
- 2026-10-02 Threatist record created from CVE-2026-3872
- 2026-10-03 Alias added: GHSA-cjm2-j6cm-6p6m
References
Advisory 7
More Red Hat Build Of Keycloak vulnerabilities
- TI-2026-02223 Keycloak: keycloak: unauthorized authentication via disabled saml identity provider CVSS 3.1HIGH 8.1
- TI-2024-01049 Keycloak: path transversal in redirection validation CVSS 3.1HIGH 8.1
- TI-2026-13740 Keycloak-services: keycloak-services: saml idp-initiated broker login bypasses link-only restriction CVSS 3.1CRITICAL 9.8
- TI-2026-13741 Keycloak-services: keycloak-services: saml broker metadata import disables response signature validation CVSS 3.1CRITICAL 9.1
- TI-2026-13106 Keycloak-services: keycloak-services: dcr protocol mapper type-swap policy bypass allows privilege escalation CVSS 3.1HIGH 8.8
- TI-2026-02631 Authentication bypass in Red Hat build of Keycloak 26.2 CVSS 3.1HIGH 8.8
Sources
- CVE-2026-3872 · CVE Program
- CVE-2026-3872 · NVD
- FIRST EPSS
- GHSA-cjm2-j6cm-6p6m · GitHub Advisory Database · CC BY 4.0
- CVE-2026-3872 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences