Org.keycloak/keycloak-services: keycloak saml brokering: response delay due to unchecked notonorafter in subjectconfirmationdata (Red Hat Red Hat build of Keycloak 26.4)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.41 % · percentile 36 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- redhat
- NVD status
- Deferred
Description
A flaw was found in Keycloak's SAML brokering functionality. When Keycloak is configured as a client in a Security Assertion Markup Language (SAML) setup, it fails to validate the `NotOnOrAfter` timestamp within the `SubjectConfirmationData`. This allows an attacker to delay the expiration of SAML responses, potentially extending the time a response is considered valid and leading to unexpected session durations or resource consumption.
Weaknesses (CWE)
- CWE-112 — Missing XML Validation
References
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.1 | LOW 3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:N | redhat |
| CVSS 3.1 | LOW 3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:N | NVD · secalert@redhat.com (Secondary) |
Advisories
- GHSA-63v5-26vq-m4vm — Keycloak's missing timestamp validation allows attackers to extend SAML response validity periods
European references
- ENISA EUVD · EUVD-2026-4670
- GCVE · GCVE-0-2026-1190
Affected products
| Product | Versions |
|---|---|
| Red Hat · Red Hat build of Keycloak 26.4 | unaffected 26.4.10-1 < * |
| Red Hat · Red Hat build of Keycloak 26.4 | unaffected 26.4-12 < * |
| Red Hat · Red Hat build of Keycloak 26.4 | unaffected 26.4-12 < * |
| Red Hat · Red Hat build of Keycloak 26.4.10 | |
| Red Hat · Red Hat JBoss Enterprise Application Platform 8 | |
| Red Hat · Red Hat JBoss Enterprise Application Platform Expansion Pack | |
| Red Hat · Red Hat Single Sign-On 7 |
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 |