CVE-2026-41003: Spring Security SAML2 Service Provider: RelyingPartyRegistration may run arbitrary code on HTML forms generated by Spring Security filters
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.
Published Jun 10, 2026 · Updated Aug 12, 2026
Affected packages
org.springframework.security:spring-security-saml2-service-provider
- Ecosystem
- Maven
- Affected
- >= 7.0.0, <= 7.0.5
- Fixed in
- 7.0.6
- Check
mvn dependency:tree -Dincludes=org.springframework.security:spring-security-saml2-service-provider
org.springframework.security:spring-security-saml2-service-provider
- Ecosystem
- Maven
- Affected
- >= 6.5.0, <= 6.5.10
- Fixed in
- 6.5.11
- Check
mvn dependency:tree -Dincludes=org.springframework.security:spring-security-saml2-service-provider
org.springframework.security:spring-security-saml2-service-provider
- Ecosystem
- Maven
- Affected
- >= 6.4.0, <= 6.4.16
- Fixed in
- No patched version yet
- Check
mvn dependency:tree -Dincludes=org.springframework.security:spring-security-saml2-service-provider
org.springframework.security:spring-security-saml2-service-provider
- Ecosystem
- Maven
- Affected
- >= 6.3.0, <= 6.3.16
- Fixed in
- No patched version yet
- Check
mvn dependency:tree -Dincludes=org.springframework.security:spring-security-saml2-service-provider
org.springframework.security:spring-security-saml2-service-provider
- Ecosystem
- Maven
- Affected
- >= 5.8.0, <= 5.8.25
- Fixed in
- No patched version yet
- Check
mvn dependency:tree -Dincludes=org.springframework.security:spring-security-saml2-service-provider
org.springframework.security:spring-security-saml2-service-provider
- Ecosystem
- Maven
- Affected
- <= 5.7.23
- Fixed in
- No patched version yet
- Check
mvn dependency:tree -Dincludes=org.springframework.security:spring-security-saml2-service-provider
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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.
References
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More Maven vulnerabilities
All Maven entriesCVE-2026-40988
Spring Security SAML2 Service Provider: Unbounded writer inflates the compressed SAML payload into memory (DoS)
high7.5No fixJun 10, 2026CVE-2026-40993
Spring Security SAML2 Service Provider is vulnerable to Deserialization of Untrusted Data via JdbcAssertingPartyMetadataRepository
high7.3Jun 10, 2026CVE-2026-41694
Spring Security SAML2 Service Provider: Decryption Oracle Vulnerability from Unsigned SAML Response and Logout Payloads
low3.7No fixJun 10, 2026
