Keycloak-services: keycloak-services: dcr protocol mapper config not validated, allowing iat holders to forge sub and aud claims in signed tokens (Red Hat Red Hat build of Keycloak 26.4)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.38 % · percentile 34 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- redhat
- Affected products
- Red Hat · Red Hat build of Keycloak 26.4
Red Hat · Red Hat build of Keycloak 26.4.17
Red Hat · Red Hat build of Keycloak 26.6
Red Hat · Red Hat build of Keycloak 26.6.8
Red Hat · Red Hat Single Sign-On 7 - NVD status
- Awaiting Analysis
Description
Keycloak provides a Dynamic Client Registration feature that allows users with specific tokens to register their own applications. A flaw in how Keycloak validates these registration requests allows an attacker to create a malicious application that forges identity information. By mapping their own user profile details to protected fields like the user ID (sub) or intended audience (aud), an attacker can generate signed security tokens that make them appear to be a different user. This could allow an attacker to impersonate other users or gain unauthorized access to services that rely on these tokens for identity verification.
Weaknesses (CWE)
- CWE-20 — Improper Input Validation
Credits
- Red Hat would like to thank Eurico Nicacio (independent) and Michael Allen, co-credited with Eurico Nicacio (independent) (independent) for reporting this issue.
References
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.1 | HIGH 8.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N | redhat |
| CVSS 3.1 | HIGH 8.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N | NVD · secalert@redhat.com (Secondary) |
European references
- ENISA EUVD · EUVD-2026-117607
- GCVE · GCVE-0-2026-92857
Affected products
| Product | Affected versions |
|---|---|
Red Hat · Red Hat build of Keycloak 26.4rhbk/keycloak-operator-bundle | unaffected : ≥ 26.4.17-2 < * Other versions : affected |
Red Hat · Red Hat build of Keycloak 26.4rhbk/keycloak-rhel9 | unaffected : ≥ 26.4-29 < * Other versions : affected |
Red Hat · Red Hat build of Keycloak 26.4rhbk/keycloak-rhel9-operator | unaffected : ≥ 26.4-30 < * Other versions : affected |
Red Hat · Red Hat build of Keycloak 26.4.17keycloak/rhbk-openshift-rhel9 | Other versions : unaffected |
Red Hat · Red Hat build of Keycloak 26.4.17keycloak-services | Other versions : unaffected |
Red Hat · Red Hat build of Keycloak 26.4.17rhbk/keycloak-rhel9 | Other versions : unaffected |
Red Hat · Red Hat build of Keycloak 26.6rhbk/keycloak-operator-bundle | unaffected : ≥ 26.6.8-2 < * Other versions : affected |
Red Hat · Red Hat build of Keycloak 26.6rhbk/keycloak-rhel9 | unaffected : ≥ 26.6-24 < * Other versions : affected |
Red Hat · Red Hat build of Keycloak 26.6rhbk/keycloak-rhel9-operator | unaffected : ≥ 26.6-24 < * Other versions : affected |
Red Hat · Red Hat build of Keycloak 26.6.8keycloak/rhbk-openshift-rhel9 | Other versions : unaffected |
Red Hat · Red Hat build of Keycloak 26.6.8keycloak-services | Other versions : unaffected |
Red Hat · Red Hat build of Keycloak 26.6.8rhbk/keycloak-rhel9 | Other versions : unaffected |
Red Hat · Red Hat Single Sign-On 7keycloak-services | Other versions : unaffected |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |