HIGH 7.6

CVE-2026-41003

Spring Security SAML2 Service Provider: RelyingPartyRegistration may run arbitrary code on HTML forms generated by Spring Security filters

Description

An attacker able to influence values in RelyingPartyRegistration may be able to run arbitrary code on HTML forms generated by Spring Security filters.

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.