Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.springframework.security/spring-security-saml2-service-provider
  4. ›
  5. CVE-2026-40993

CVE-2026-40993: Spring Security SAML2 Service Provider is vulnerable to Deserialization of Untrusted Data via JdbcAssertingPartyMetadataRepository

June 10, 2026 (updated August 12, 2026)

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.

References

  • github.com/advisories/GHSA-2q7c-5gjm-7q23
  • github.com/spring-projects/spring-security/releases/tag/7.0.6
  • nvd.nist.gov/vuln/detail/CVE-2026-40993
  • spring.io/security/cve-2026-40993

Code Behaviors & Features

Detect and mitigate CVE-2026-40993 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 7.0.0 before 7.0.6

Fixed versions

  • 7.0.6

Solution

Upgrade to version 7.0.6 or above.

Impact 7.3 HIGH

CVSS:3.1/AV:A/AC:H/PR:H/UI:N/S:C/C:N/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-502: Deserialization of Untrusted Data

Source file

maven/org.springframework.security/spring-security-saml2-service-provider/CVE-2026-40993.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 08 Sep 2026 00:17:55 +0000.