spring-projects/spring-security · Security
Spring Security SAML2 Service Provider is vulnerable to Deserialization of Untrusted Data via JdbcAssertingPartyMetadataRepository
- GHSA ID
- GHSA-2q7c-5gjm-7q23
- CVE ID
- CVE-2026-40993
- Severity
- high
- Published
- Updated
- CVSS
- 7.3 · CVSS:3.1/AV:A/AC:H/PR:H/UI:N/S:C/C:N/I:H/A:H
- CVSS v3
- 7.3 · CVSS:3.1/AV:A/AC:H/PR:H/UI:N/S:C/C:N/I:H/A:H
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.
CWEs
- CWE-502 · Deserialization of Untrusted Data