CVE-2026-40993
Spring Security SAML2 Service Provider is vulnerable to Deserialization of Untrusted Data via JdbcAssertingPartyMetadataRepository
Description
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.
Affected Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.springframework.security » spring-security-saml2-service-provider | >= 7.0.0, < 7.0.6 | 7.0.6 |
Blast radius
12% of the dependent artifacts (1) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 7 |
| 2 hops | 29 |
| 3 hops | 14 |
| 4 hops | 9 |
Most used dependents
- org.springframework.boot » spring-boot-security-saml25 usages
- org.springframework.boot » spring-boot-starter-security-saml25 usages
- org.springframework.boot » spring-boot-starter-classic4 usages
- com.erudika » para-server2 usages
- org.springframework.boot » spring-boot-autoconfigure-classic2 usages
- org.springframework.boot » spring-boot-autoconfigure-classic-modules1 usages
- org.springframework.boot » spring-boot-starter-security-saml2-test0 usages
- se.swedenconnect.bankid » bankid-idp0 usages
Computed from the dependency graph of build 20261127.1117 (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.
References
| Advisory | NVD CVE-2026-40993 | nvd.nist.gov |
| Package | spring-projects/spring-security | github.com |
| Web | spring-projects/spring-security release 7.0.6 | github.com |
| Web | security/cve-2026-40993 | spring.io |
