Description
A flaw was found in the keycloak-services component of Keycloak, which is used to handle OpenID Connect authentication flows. The issue occurs because the security check that prevents attackers from pre-seeding security parameters in a redirect URL can be bypassed by adding an extra question mark character to the parameter name. This allows an attacker to trick a user's browser into using an attacker-controlled login code. As a result, a victim may be unknowingly logged into an attacker's account, leading to account confusion or the exposure of sensitive data entered by the victim.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Red Hat | Red Hat Build of Keycloak | — | — |
| Red Hat | Red Hat Single Sign-On 7 | — | — |
Advisories 1
- WID-SEC-2026-4843 Keycloak: Mehrere Schwachstellen BSI CERT-Bund (WID) · Nov 26, 2026
References
- https://access.redhat.com/security/cve/CVE-2026-137431 vdb-entry
- RHBZ#2584738 issue-tracking