BREACHSPIDER
CVE databaseVendorsIntelFeaturesDevelopersDocsPricingSign inStart free trial

CVE-2020-5407 in Pivotal Software Spring Security

High 8.8

Spring Security versions 5.2.x prior to 5.2.4 and 5.3.x prior to 5.3.2 contain a signature wrapping vulnerability during SAML response validation. When using the spring-security-saml2-service-provider component, a malicious user can carefully modify an otherwise valid SAML response and append an arbitrary assertion ...

Affects 1 product from 1 vendor. Facts below cite their sources.

CVSS 3.18.8
EPSS1.2%
EPSS percentile68th
FixUnknown

Remotely exploitable over the network, low complexity, low privileges required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.

Affected products and versions

VendorProductAffected versions
Pivotal Software Spring Security ≥ 5.2.0, < 5.2.4 ≥ 5.3.0, < 5.3.2

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

No official vendor advisory link on record. See the CVE record.

Vendor PSIRT: [email protected]

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official description

Spring Security versions 5.2.x prior to 5.2.4 and 5.3.x prior to 5.3.2 contain a signature wrapping vulnerability during SAML response validation. When using the spring-security-saml2-service-provider component, a malicious user can carefully modify an otherwise valid SAML response and append an arbitrary assertion that Spring Security will accept as valid.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2020-5407
BreachSpider IDBS-2020-GLOBAL-185363-H
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Published2020-05-13
Last modified2026-06-17
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-347: CWE-347

Related attack patterns (CAPEC)

CAPEC-463 Padding Oracle Crypto Attack via CWE-347

CAPEC-475 Signature Spoofing by Improper Validation via CWE-347

Mapping is CWE to CAPEC per MITRE CAPEC 3.9.

Analysis AI-written, not human-reviewed

Spring Security versions 5.2.x prior to 5.2.4 and 5.3.x prior to 5.3.2 are vulnerable to a signature wrapping attack during SAML response validation, allowing a malicious user to append an arbitrary assertion that is accepted as valid.

The vulnerability occurs in the spring-security-saml2-service-provider component where a malicious user can modify a SAML response to include an additional assertion that Spring Security will validate as legitimate, potentially leading to unauthorized access.

Questions

What is CVE-2020-5407?

Spring Security versions 5.2.x prior to 5.2.4 and 5.3.x prior to 5.3.2 are vulnerable to a signature wrapping attack during SAML response validation, allowing a malicious user to append an arbitrary assertion that is accepted as valid.

What is the CVSS score for CVE-2020-5407?

CVE-2020-5407 has CVSS 8.8 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H. EPSS: 1.2%.

Is CVE-2020-5407 actively exploited?

No confirmed active exploitation of CVE-2020-5407 as of 2026-09-25.

How do I remediate CVE-2020-5407?

Priority: IMMEDIATE. PSIRT: [email protected]

What systems are affected by CVE-2020-5407?

CVE-2020-5407 affects Pivotal Software Spring Security.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Pivotal Software","product":"Spring Security","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.