# CVE-2020-5407: Signature Wrapping Vulnerability with spring-security-saml2-service-provider

- Priority: **Routine**
- Reason: Not severe (CVSS 8.8, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2020-05-13 · Modified: 2024-09-16
- Aliases: GHSA-48rw-j489-928m
- Record: https://cvemate.com/vulnerability/CVE-2020-5407 · JSON: https://cvemate.com/vulnerability/CVE-2020-5407/json

## Description

```text
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.
```

## Signals

- CVSS: 8.8 high (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- EPSS: 1.199%, percentile 69.163%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- org.springframework.security spring-security-core (Maven): ≥ 5.2.0, \< 5.2.4 \| ≥ 5.3.0, \< 5.3.2
- pivotal\_software spring\_security: ≥ 5.2.0, \< 5.2.4 \| ≥ 5.3.0, \< 5.3.2
- spring by vmware spring security: ≥ 5.2, \< 5.2.4 \| ≥ 5.3, \< 5.3.2

## References

- <https://lists.apache.org/thread.html/r73af928cf64bebf78b7fa4bc56a5253273ec7829f5f5827f64c72fc7%40%3Cissues.servicemix.apache.org%3E>
- <https://lists.apache.org/thread.html/rd99601fbca514f214f88f9e53fd5be3cfbff05b350c994b4ec2e184c%40%3Cdev.geode.apache.org%3E>
- <https://lists.apache.org/thread.html/ra19a4e7236877fe12bfb52db07b27ad72d9e7a9f5e27bba7e928e18a%40%3Cdev.geode.apache.org%3E>
- <https://www.oracle.com/security-alerts/cpuoct2020.html>
- <https://tanzu.vmware.com/security/cve-2020-5407>
- <https://www.oracle.com/security-alerts/cpujan2021.html>
- <https://www.oracle.com/security-alerts/cpuApr2021.html>
- <https://nvd.nist.gov/vuln/detail/CVE-2020-5407>
- <https://lists.apache.org/thread.html/r73af928cf64bebf78b7fa4bc56a5253273ec7829f5f5827f64c72fc7@%3Cissues.servicemix.apache.org%3E>
- <https://lists.apache.org/thread.html/ra19a4e7236877fe12bfb52db07b27ad72d9e7a9f5e27bba7e928e18a@%3Cdev.geode.apache.org%3E>
- <https://lists.apache.org/thread.html/rd99601fbca514f214f88f9e53fd5be3cfbff05b350c994b4ec2e184c@%3Cdev.geode.apache.org%3E>

---

Data as of 2026-12-05T03:32:24.937Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
