Keycloak-services: keycloak-services: leading ? in a redirect_uri parameter name bypasses the forbidden oidc parameter check
- State
- Published
- Severity
- 4.2 Medium
- Published
- Nov 26, 2026
- Updated
- Nov 26, 2026
- Reserved
- Nov 26, 2026
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.
| Product | Versions |
|---|---|
| Red Hat Build of Keycloak Red Hat | |
| Red Hat Build of Keycloak Red Hat | |
| Red Hat Single Sign-On 7 Red Hat | |
| Red Hat Single Sign-On 7 Red Hat |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 3.1 | 4.2 Medium | redhat |
Weaknesses
- CWE-1288 Improper Validation of Consistency within Input
References
- https://access.redhat.com/security/cve/CVE-2026-137431Vulnerability Database
- RHBZ#2584738Issue Tracker
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.