GHSA-63v5-26vq-m4vm

Keycloak's missing timestamp validation allows attackers to extend SAML response validity periods

At a glance

Published
Updated
CVE
CVE-2026-1190
CVSS_V3
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:N

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.

Affected packages

PackageVersions
Maven · org.keycloak:keycloak-servicesintroduced 0, last affected 26.5.2

References

Sources

SourceLicence
OSV.devCC-BY 4.0 — GitHub Advisory Database