Incomplete fix for redirect_uri OIDC response-parameter injection: forbidden-parameter check (commit 18832bca) inspects only the query string, not the URL fragment oidc
En bref
- Source
- VigieVuln
- CVE
- CVE-2026-18209
- Criticité de la CVE
- LOW 3.4 selon la fiche CVE
- EPSS
- 0.23 % ·
- ENISA EUVD
- EUVD-2026-51487
- Publiée
- Attribuée par
- redhat
- Produits affectés
- 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 Platform Expansion Pack
Red Hat · Red Hat Single Sign-On 7 - Validation
- Validation humaine.
- Confiance déclarée lors de la recherche
- non renseignée
- Mise à jour
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.
Réconciliation
Rapprochement réalisé avec assistance IA. Validation humaine.
The publisher release notes identify the correction in 26.7.3. The relevant production code before the patch was checked at each listed affected tag, and the corresponding patch was checked at 26.7.3. The exact tags only are assessed; other releases and exploitability conditions remain unassessed and require human review.
Seules les plages et versions indiquées ont été vérifiées ; les autres restent indéterminées.
Informations ajoutées ou précisées : Maven · org.keycloak:keycloak-services — versions vérifiées : 26.7.0, 26.7.1, 26.7.2 ; non affectées : 26.7.3.
Sources d’origine
Nouvelles sources
- https://www.cve.org/CVERecord?id=CVE-2026-18209 — Original CVE record
- https://www.keycloak.org/2026/08/keycloak-2673-released — Publisher release notes identify this CVE among the fixes
- https://github.com/keycloak/keycloak/issues/51286 — Publisher vulnerability report
- https://github.com/keycloak/keycloak/pull/52162 — Publisher patch for the reported issue
- https://github.com/keycloak/keycloak/blob/26.7.0/services/src/main/java/org/keycloak/protocol/oidc/utils/OIDCRedirectUriBuilder.java — Production module source at publisher tag 26.7.0; pre-fix code verified
- https://github.com/keycloak/keycloak/blob/26.7.1/services/src/main/java/org/keycloak/protocol/oidc/utils/OIDCRedirectUriBuilder.java — Production module source at publisher tag 26.7.1; pre-fix code verified
- https://github.com/keycloak/keycloak/blob/26.7.2/services/src/main/java/org/keycloak/protocol/oidc/utils/OIDCRedirectUriBuilder.java — Production module source at publisher tag 26.7.2; pre-fix code verified
- https://github.com/keycloak/keycloak/blob/26.7.3/services/src/main/java/org/keycloak/protocol/oidc/utils/OIDCRedirectUriBuilder.java — Production module source at publisher tag 26.7.3; patched hunk verified
Paquets affectés
| Paquet | Versions |
|---|---|
| Maven · org.keycloak:keycloak-services | 26.7.0, 26.7.1, 26.7.2 Non affectées : 26.7.3 |
Informations de la CVE d’origine
Informations reprises de la fiche CVE et, lorsqu’indiqué, de NVD. Voir la fiche CVE complète
Produits affectés
| Produit | Versions affectées |
|---|---|
Red Hat · Red Hat build of Keycloak 26.6rhbk/keycloak-operator-bundle | non affectée : ≥ 26.6.7-3 < * Autres versions : affectée |
Red Hat · Red Hat build of Keycloak 26.6rhbk/keycloak-rhel9 | non affectée : ≥ 26.6-20 < * Autres versions : affectée |
Red Hat · Red Hat build of Keycloak 26.6rhbk/keycloak-rhel9-operator | non affectée : ≥ 26.6-20 < * Autres versions : affectée |
Red Hat · Red Hat build of Keycloak 26.6.7keycloak-services | Autres versions : non affectée |
Red Hat · Red Hat build of Keycloak 26.6.7rhbk-keycloak-rhel9/rhbk-keycloak-rhel9 | Autres versions : non affectée |
Red Hat · Red Hat build of Keycloak 26.6.7rhbk-openshift-rhel9/rhbk-openshift-rhel9 | Autres versions : non affectée |
Red Hat · Red Hat Data Grid 8keycloak-services | Autres versions : non affectée |
Red Hat · Red Hat JBoss Enterprise Application Platform Expansion Packkeycloak-services | Autres versions : non affectée |
Red Hat · Red Hat Single Sign-On 7keycloak-services | Autres versions : non affectée |
Faiblesses (CWE)
- CWE-1288 — Improper Validation of Consistency within Input
Crédits
- Red Hat would like to thank default-cybe for reporting this issue.
Scores
| Version | Score | Vecteur | Évalué par |
|---|---|---|---|
| CVSS 3.1 | LOW 3.4 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:N/I:L/A:N | redhat |
| CVSS 3.1 | LOW 3.4 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:N/I:L/A:N | NVD · secalert@redhat.com (Secondary) |
| CVSS 3.1 | MEDIUM 4.7 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:L/A:N | NVD · nvd@nist.gov (Primary) |
Références
Sources
| Source | Licence |
|---|---|
| CVE Project | |
| VigieVuln | |
| NVD (NIST) | Public domain |