WaratekVRT Sign in

CVE-2026-40993 Spring Security

Affected softwareSpring Security
Severity7.3 High CVSS 3.1 2 scores
Fixed in7.0.6
WeaknessDeserialization of untrusted data (CWE-502)
Published10 Jun 2026
Updated23 Jul 2026

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.

Exploitation status

No public exploit

No exploit has been reported in the sources we check.

  • CISA KEV not listed
  • VulnCheck KEV not listed
  • CISA Vulnrichment exploitation: none
  • Indexed PoC none indexed
  • EPSS 0.20% chance in 30 days

Waratek protection

Protected by Waratek

Waratek has a rule that blocks attacks on this vulnerability.

Decided by A vulnerability class already blocked by an ARMR security rule
Finding Protected by Waratek's ARMR deserialization security rule, which blocks this class of attack at the JVM level without a rule written for this CVE specifically. The CVE's weakness is CWE-502: Deserialization of Untrusted Data.

How to mitigate CVE-2026-40993

Upgrade Spring Security to 7.0.6 or later. Until you can, Waratek RASP blocks exploitation with its deserialization and process rules. It runs inside the Java application, with no code changes.

Waratek RASP Runtime protection for Java applications

CVSS

7.3 HIGH v3.1 CVSS:3.1/AV:A/AC:H/PR:H/UI:N/S:C/C:N/I:H/A:H 2 metrics

We show the highest score from the newest CVSS version. Scores from different versions can't be compared, and the first score listed is sometimes a 0.0 placeholder.

VersionScoreBandVectorAssignerType
CVSS 3.1 7.3 HIGH CVSS:3.1/AV:A/AC:H/PR:H/UI:N/S:C/C:N/I:H/A:H security@vmware.com Secondary published
CVSS 3.1 7.2 HIGH CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H NVD Primary

Affected software and releases

Maven packages

Affected and fixed versions, from OSV.dev
PackageIntroducedFixedLast affected
org.springframework.security:spring-security-saml2-service-provider 7.0.0 7.0.6 unbounded

Products and versions

2 products, 2 version entries
SourceVendorProductSchemeAffected versions
osv org.springframework.security spring-security-saml2-service-provider generic ≥ 7.0.0 and < 7.0.6
nvd vmware spring security generic ≥ 7.0.0 and < 7.0.5.1

References

URLTags
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

Timeline

Published2026-06-10By the CVE Program.
NVD record modified2026-07-23NVD's own last-modified date for this record.