GHSA-2q7c-5gjm-7q23
Spring Security SAML2 Service Provider is vulnerable to Deserialization of Untrusted Data via JdbcAssertingPartyMetadataRepository
At a glance
- Published
- Updated
- CVE
- CVE-2026-40993
- CVSS_V3
- 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.
Affected packages
| Package | Versions |
|---|---|
| Maven · org.springframework.security:spring-security-saml2-service-provider | introduced 7.0.0, fixed 7.0.6 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2026-40993 ADVISORY
- https://github.com/spring-projects/spring-security PACKAGE
- https://github.com/spring-projects/spring-security/releases/tag/7.0.6 WEB
- https://spring.io/security/cve-2026-40993 WEB
Sources
| Source | Licence |
|---|---|
| OSV.dev | CC-BY 4.0 — GitHub Advisory Database |