CVE-2026-40993
HIGH 7.2CVSS 3.1Spring 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 (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.
- Published
- 10 Jun 2026
- Last modified
- 12 Aug 2026
- Assigned by
- security@vmware.com
- NVD status
- Analyzed
- Weakness
- CWE-502
- Also known as
- GHSA-2q7c-5gjm-7q23
- Sources
- NVDJSONOSV GHSA-2q7c-5gjm-7q23JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security@vmware.com (Secondary) | CVSS 3.1 | HIGH 7.3 | CVSS:3.1/AV:A/AC:H/PR:H/UI:N/S:C/C:N/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.3 | CVSS:3.1/AV:A/AC:H/PR:H/UI:N/S:C/C:N/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.2 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | vmware | spring_securitycpe:2.3:a:vmware:spring_security:*:*:*:*:*:*:*:* |
>= 7.0.0, < 7.0.5.1 | 7.0.5.1 |
| OSV | Maven | org.springframework.security:spring-security-saml2-service-provider | >= 7.0.0, < 7.0.6 | 7.0.6 |
References
- https://spring.io/security/cve-2026-40993 · Vendor Advisory, WEB
- 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
History
- 25 Nov 2026 21:03 UTC · NVD: first stored (published 10 Jun 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 10 Jun 2026)