Spring Security SAML2 Service Provider: Decryption Oracle Vulnerability from Unsigned SAML Response and Logout Payloads
Low severity
GitHub Reviewed
Published
Jun 10, 2026
to the GitHub Advisory Database
•
Updated Aug 12, 2026
Package
Affected versions
>= 7.0.0, <= 7.0.5
>= 6.5.0, <= 6.5.10
>= 6.4.0, <= 6.4.16
>= 6.3.0, <= 6.3.16
>= 5.8.0, <= 5.8.25
<= 5.7.23
Patched versions
7.0.6
6.5.11
Description
Published by the National Vulnerability Database
Jun 10, 2026
Published to the GitHub Advisory Database
Jun 10, 2026
Reviewed
Aug 12, 2026
Last updated
Aug 12, 2026
Since Spring Security SAML decrypts SAML Responses as well as elements of SAML LogoutRequests and LogoutResponses without requiring a valid signature, attackers may be able to craft these SAML payloads and use the Service Provider as a decryption oracle.
Affected versions:
Spring Security 5.7.0 through 5.7.23; 5.8.0 through 5.8.25; 6.3.0 through 6.3.16; 6.4.0 through 6.4.16; 6.5.0 through 6.5.10; 7.0.0 through 7.0.5.
References