REDHAT-BUG-2508305: Low severity Red Hat Keycloak vulnerability
An incomplete fix for CVE-2026-9689 was identified in Keycloak's RedirectUtils.containsForbiddenOidcParameters() method. While the original fix successfully blocks forbidden OIDC parameters (such as code, state, and iss) in the URI query string, it fails to inspect the URI fragment (#). When a client is configured with a wildcard redirect URI, an attacker can supply a redirecturi containing these forbidden parameters within the fragment. Because matchesRedirects strips fragments during prefix matching, the crafted URI is accepted. During the authorization response, Keycloak appends its own parameters to the attacker-supplied fragment, leading to a polluted response where attacker-controlled values appear first. Exploitation Conditions: The target client must have a wildcard-registered redirect URI (e.g., https://app.example.com/).
The attacker must induce a victim to follow a crafted authorization URL.
The relying party (client application) must use a first-wins parsing strategy for duplicate parameters.
Concrete Impact: Injection of attacker-controlled iss (issuer), state, and accesstoken parameters.
Potential for session fixation or account confusion if the relying party does not validate parameters per RFC 9207.
Affected Software
Event History
Frequently Asked Questions
What is the severity of REDHAT-BUG-2508305?
The severity of REDHAT-BUG-2508305 is rated as low.
How do I fix REDHAT-BUG-2508305?
To fix REDHAT-BUG-2508305, ensure you apply the latest updates or patches provided by Red Hat for Keycloak.
What issue does REDHAT-BUG-2508305 address?
REDHAT-BUG-2508305 addresses an incomplete fix for CVE-2026-9689 related to the handling of forbidden OIDC parameters in Keycloak.
Is the vulnerability in REDHAT-BUG-2508305 critical?
No, the vulnerability in REDHAT-BUG-2508305 is classified as low severity.
What software is affected by REDHAT-BUG-2508305?
Red Hat Keycloak is the software affected by REDHAT-BUG-2508305.