LOW 3.7

CVE-2026-41694

Spring Security SAML2 Service Provider: Decryption Oracle Vulnerability from Unsigned SAML Response and Logout Payloads

Description

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.

Affected Maven artifacts (1)

ArtifactAffected versionsFixed in
org.springframework.security » spring-security-saml2-service-provider
<= 5.7.23>= 5.8.0, <= 5.8.25>= 6.3.0, <= 6.3.16>= 6.4.0, <= 6.4.16>= 6.5.0, < 6.5.11>= 7.0.0, < 7.0.6
6.5.11, 7.0.6

Blast radius

1affected artifacts
164affected versions
149dependent artifacts (est.)
1,316dependent versions

72% of the dependent artifacts (108) still pull an affected version in their latest release.

DepthDependent versions
Direct
429
2 hops
573
3 hops
295
4 hops
15
5 hops
4

Most used dependents

Computed from the dependency graph of build 20261125.0317 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.