HIGH 7.3

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)

ArtifactAffected versionsFixed in
org.springframework.security » spring-security-saml2-service-provider
>= 7.0.0, < 7.0.6
7.0.6

Blast radius

1affected artifacts
6affected versions
8dependent artifacts (est.)
59dependent versions

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

DepthDependent versions
Direct
7
2 hops
29
3 hops
14
4 hops
9

Most used dependents

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.