Bug 2481845 (CVE-2026-9689) - CVE-2026-9689 keycloak: org.keycloak.protocol.oidc: HTTP Parameter Pollution in OIDC redirect URI allows response parameter duplication - #GHI-604
Summary: CVE-2026-9689 keycloak: org.keycloak.protocol.oidc: HTTP Parameter Pollution ...
Keywords:
Status: NEW
Alias: CVE-2026-9689
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-05-27 09:27 UTC by OSIDB Bzimport
Modified: 2026-05-27 10:36 UTC (History)
11 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-05-27 09:27:53 UTC
Keycloak accepts redirect URIs containing pre-loaded OIDC response parameters (iss, code, state, session_state) when wildcard redirect URIs are configured on a client. After successful authentication, OIDCRedirectUriBuilder.addParam() appends Keycloak's own response parameters without checking for duplicates, resulting in a polluted redirect URL with duplicate parameters. Client applications using first-wins parameter parsing may trust attacker-controlled values. Successful exploitation requires - a client must have a wildcard redirect uri registered (e.g., http://localhost:8080/*) - the victim must follow an attacker-crafted authorization url - the client application must use a first-wins parsing strategy for duplicate query parameters. This issue affects All versions.


Note You need to log in before you can comment on or make changes to this bug.