Incident response on call, 24/7: +385 98 1900 984NewIR Retainer: a team on contract before an attack
HR · EN
Medium 4.2CVE-2026-137431

Keycloak-services: keycloak-services: leading ? in a redirect_uri parameter name bypasses the forbidden oidc parameter check

Published 26/11/2026 · Updated 26/11/2026 · Red Hat Build of Keycloak

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.

Vendor workaround

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.

Original text from the vendor's CVE record.

Affected products and versions

Red Hat 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

CVSS vector, explained

CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N

Attack vector
Network (from the internet)
Attack complexity
High
Privileges required
None (no login)
User interaction
Required
Scope
Vulnerable component only
Confidentiality
Low impact
Integrity
Low impact
Availability
None

Weakness type (CWE)

  • CWE-1288 Improper Validation of Consistency within Input

References

Sources: CVE.org (CNA and CISA ADP), CISA KEV, FIRST EPSS. Always check the vendor's official advisory.