3.4Low

CVE-2026-18209Keycloak-services: keycloak-services: oidc redirect_uri fragment bypass in http parameter pollution check

Red Hat Red Hat build of Keycloak 26.6; Red Hat Red Hat build of Keycloak 26.6.7; Red Hat Red Hat Data Grid 8; Red Hat Red Hat JBoss Enterprise Application Pla… Published: (3 months ago)

Description

A flaw was found in the keycloak-services component of Keycloak, which handles OpenID Connect (OIDC) authentication flows. The issue occurs because the security check designed to prevent HTTP parameter pollution only inspects the query portion of a redirect URL and ignores the fragment portion. When a client is configured with a wildcard redirect URI, an attacker can use this to inject duplicate security parameters into the login response. If a client application is not configured correctly, it might trust the attacker's injected data instead of the real security information from Keycloak, leading to session fixation or account confusion.

Weakness (CWE): CWE-1288

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

References and patches

CPE matches (NVD) (1)

  • cpe:2.3:a:redhat:build_of_keycloak:-:*:*:*:-:*:*:*