CVE-2026-137431
JSON

4.2medium

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

Severity
4.2medium CVSS:3.1 by redhat
Exploit likelihood
0.33% (higher than 28% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
redhat

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

Product or packageVersionsReported by
keycloak-servicesNot specifiedCVE List
rhbk/keycloak-rhel9Not specifiedCVE List
rh-sso7-keycloakNot specifiedCVE List

Classification

CWE-1288

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-137431 changed 2026-12-01CVE Terms of Use
NVDCVE-2026-137431 changed 2026-12-01Public domain