CVE-2026-137431

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

Medium published · updated

4.2
CVSS score out of 10 · NVD (redhat.com)

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 and versions

Product / packageEcosystem / vendorVersionsFixed inSource
red hat build of keycloak red hat —— CVE.org
red hat single sign-on 7 red hat —— CVE.org

References