GHSA-2q7c-5gjm-7q23

Suggest an improvement
Source
https://github.com/advisories/GHSA-2q7c-5gjm-7q23
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/06/GHSA-2q7c-5gjm-7q23/GHSA-2q7c-5gjm-7q23.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-2q7c-5gjm-7q23
Aliases
Downstream
Published
2026-06-10T00:31:51Z
Modified
2026-08-12T17:26:04Z
Severity
  • 7.3 (High) CVSS_V3 - CVSS:3.1/AV:A/AC:H/PR:H/UI:N/S:C/C:N/I:H/A:H CVSS Calculator
Summary
Spring Security SAML2 Service Provider is vulnerable to Deserialization of Untrusted Data via JdbcAssertingPartyMetadataRepository
Details

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.

Database specific
{
    "cwe_ids":  [
        "CWE-502"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2026-08-12T17:04:26Z",
    "nvd_published_at":  "2026-06-10T00:16:50Z",
    "severity":  "HIGH"
}
References

Affected packages

Maven / org.springframework.security:spring-security-saml2-service-provider

Package

Name
org.springframework.security:spring-security-saml2-service-provider
View open source insights on deps.dev
Purl
pkg:maven/org.springframework.security/spring-security-saml2-service-provider

Affected ranges

Type
ECOSYSTEM
Events
Introduced
7.0.0
Fixed
7.0.6

Affected versions

7.*
7.0.0
7.0.1
7.0.2
7.0.3
7.0.4
7.0.5

Database specific

last_known_affected_version_range
"<= 7.0.5"
source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/06/GHSA-2q7c-5gjm-7q23/GHSA-2q7c-5gjm-7q23.json"