CVE-2026-40993: Spring Security SAML2 Service Provider is vulnerable to Deserialization of Untrusted Data via JdbcAssertingPartyMetadataRepository
An attacker with write permissions to the database table managed by JdbcAssertingPartyMetadataRepository (saml2assertingpartymetadata) may be able to store malicious serialized payloads in the columns containing the collection of verification or encryption credentials (verificationcredentials and encryptioncredentials, respectively). Affected versions: Spring Security 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
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
An attacker with write permissions to the database table managed by JdbcAssertingPartyMetadataRepository (saml2_asserting_party_metadata) may be able to store malicious serialized payloads in the columns containing the collection of verification or encryption credentials (verification_credentials and encryption_credentials, respectively).
Affected versions: Spring Security 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-41003
Spring Security SAML2 Service Provider: RelyingPartyRegistration may run arbitrary code on HTML forms generated by Spring Security filters
high7.6No fixJun 10, 2026CVE-2026-41694
Spring Security SAML2 Service Provider: Decryption Oracle Vulnerability from Unsigned SAML Response and Logout Payloads
low3.7No fixJun 10, 2026
