CVE-2026-18209

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

State
Published
Severity
3.4 Low
Published
Jul 31, 2026
Updated
Sep 16, 2026
Reserved
Jul 29, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.13.4 LowCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:N/I:L/A:Nredhat

Weaknesses

  • CWE-1288 Improper Validation of Consistency within Input

Affected Products

ProductVersions
Red Hat build of Keycloak 26.6Red Hat
  • 26.6.7-3 and laterNot affected
Red Hat build of Keycloak 26.6Red Hat
  • 26.6-20 and laterNot affected
Red Hat build of Keycloak 26.6Red Hat
  • 26.6-20 and laterNot affected
Red Hat build of Keycloak 26.6.7Red Hat
    Red Hat build of Keycloak 26.6.7Red Hat
      Red Hat build of Keycloak 26.6.7Red Hat
        Red Hat Data Grid 8Red Hat
          Red Hat JBoss Enterprise Application Platform Expansion PackRed Hat
            Red Hat Single Sign-On 7Red Hat

              References

              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.