All reports
High

Signature wrapping vulnerability in Spring Security

Affected versions

Affected versions
>= 5.3.0, < 5.3.2
Fixed version
5.3.2
Affected versions
>= 5.2.0, < 5.2.4
Fixed version
5.2.4

Exploitation

CVE-2020-5407

Probability of exploitation in the next 30 days: 1.20%

FIRST EPSS · 2026-11-23

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.

Links