Red Hat build of Keycloak 26.2
Keycloak: keycloak: information disclosure due to redirect_uri validation bypass
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.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
Fixed in 26.2.15-1
Fixed in 26.2-18
Fixed in 26.2-18
Fixed in 26.4.11-1
Fixed in 26.4-14
Fixed in 26.4-14
Mitigation
Upgrade Red Hat build of Keycloak 26.2 to 26.2.15-1 or later.
Upgrade Red Hat build of Keycloak 26.2 to 26.2-18 or later.
Upgrade Red Hat build of Keycloak 26.2 to 26.2-18 or later.
Upgrade Red Hat build of Keycloak 26.4 to 26.4.11-1 or later.
Upgrade Red Hat build of Keycloak 26.4 to 26.4-14 or later.
Upgrade Red Hat build of Keycloak 26.4 to 26.4-14 or later.
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.
References
- Vendor advisory access.redhat.com/errata/RHSA-2026:6475
- Vendor advisory access.redhat.com/errata/RHSA-2026:6476
- Vendor advisory access.redhat.com/errata/RHSA-2026:6477
1 more
- Vendor advisory access.redhat.com/errata/RHSA-2026:6478
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.