Severity by source
AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
Requires high-privilege DB write access (PR:H), no user interaction, and successful deserialization yields full RCE in the application JVM, so C/I/A all High.
Primary rating from NVD.
CVSS VectorNVD
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
Lifecycle Timeline
6Blast Radius
ecosystem impact- 3 maven packages depend on org.springframework.security:spring-security-saml2-service-provider (1 direct, 2 indirect)
Ecosystem-wide dependent count for version 7.0.0.
DescriptionNVD
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.
AnalysisAI
Insecure deserialization in Spring Security 7.0.0 through 7.0.5 allows an attacker with write access to the saml2_asserting_party_metadata database table to store malicious serialized Java payloads in the verification_credentials or encryption_credentials columns, leading to code execution when the JdbcAssertingPartyMetadataRepository deserializes them. The flaw affects deployments using the JDBC-backed SAML 2.0 asserting-party metadata repository introduced in the Spring Security 7.x line. No public exploit identified at time of analysis and EPSS is very low (0.01%), but CVSS rates impact as High due to full confidentiality, integrity, and availability loss on the application.
Technical ContextAI
Spring Security's JdbcAssertingPartyMetadataRepository persists SAML 2.0 Relying Party / Asserting Party metadata, including verification and encryption credentials, in a relational database table named saml2_asserting_party_metadata. The credential collections are serialized as Java objects into the verification_credentials and encryption_credentials columns and rehydrated via Java's native deserialization when the repository loads metadata. CWE-502 (Deserialization of Untrusted Data) applies: any gadget chain present on the application classpath (Spring, Apache Commons, Hibernate, etc.) can be triggered when the malicious blob is read back, turning a database write primitive into in-process code execution under the Spring Security web application's JVM identity. The affected CPE is cpe:2.3:a:vmware:spring_security, and the SAML2 JDBC metadata repository was added in the 7.x branch.
RemediationAI
Upgrade to Spring Security 7.0.6 or later, which is the vendor-released patched version per the Spring advisory at https://spring.io/security/cve-2026-40993 and EUVD-2026-35886. If immediate upgrade is not feasible, tightly restrict who and what can issue INSERT/UPDATE statements against the saml2_asserting_party_metadata table by enforcing least-privilege database accounts so that only a dedicated metadata-management identity (not the application's runtime account, and not shared with other tenants) can write the verification_credentials and encryption_credentials columns; this prevents an attacker who compromises another component from poisoning the table at the cost of operational friction during metadata rotation. Audit existing rows in the table for unexpected serialized blobs before patching and, where feasible, switch to a non-JDBC AssertingPartyMetadataRepository implementation (e.g., the in-memory or file-based variants) until the upgrade lands, accepting that this loses the dynamic-update behavior the JDBC store provides.
Oracle Java SE 7 Update 6 and earlier contains multiple sandbox bypass vulnerabilities via the ClassFinder and forName m
Remote code execution in IBM Sterling B2B Integrator, Sterling Integrator, and Tivoli Common Reporting allows unauthenti
Java Runtime Environment sandbox bypass via incorrect image channel verification in 2D component allows remote unauthent
Oracle Java SE JDK/JRE 7 and 6 Update 27 and earlier allows remote code execution with complete system compromise throug
JBoss Seam 2 in Red Hat JBoss EAP 4.3.0 fails to sanitize JBoss Expression Language inputs, allowing remote attackers to
Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 update 4 and earlier, 6 up
Multiple vulnerabilities in Oracle Java 7 before Update 11 allow remote attackers to execute arbitrary code by (1) using
Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 Update 2 and earlier, 6 Up
The WLS Security component in Oracle WebLogic Server 10.3.6.0, 12.1.2.0, 12.1.3.0, and 12.2.1.0 allows remote attackers
Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 Update 7 and earlier allow
Remote unauthenticated attackers can execute arbitrary code on Adobe ColdFusion servers through Java deserialization fla
The ExceptionDelegator component in Apache Struts before 2.2.3.1 interprets parameter values as OGNL expressions during
Same weakness CWE-502 – Deserialization of Untrusted Data
View allSame technique Deserialization
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-35886
GHSA-2q7c-5gjm-7q23