# CVE-2026-59364: Spring Integration DefaultFtpsSessionFactory Does Not Verify FTPS Server Certificate and Hostname by Default

- Priority: **Routine**
- Reason: Not severe (CVSS 5.6, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-12-02 · Modified: 2026-12-02
- Record: https://cvemate.com/vulnerability/CVE-2026-59364 · JSON: https://cvemate.com/vulnerability/CVE-2026-59364/json

## Description

```text
When no TrustManager is explicitly configured, DefaultFtpsSessionFactory relies on the Apache Commons Net FTPSClient default trust manager, which only checks each certificate's validity dates and does not verify the certificate chain against a trust anchor.
In addition, the factory does not enable hostname verification (endpoint checking) for the FTPS connection.

 As a result, an attacker with an active man-in-the-middle position between the application and the FTPS server can present any non-expired self-signed certificate, transparently intercept the TLS connection, capture the FTP credentials sent during login, and read or tamper with transferred files.
Any application that uses DefaultFtpsSessionFactory without explicitly configuring a secure TrustManager is affected.
```

## Signals

- CVSS: 5.6 medium (v3.1, CVE.org) CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L
- EPSS: 0.269%, percentile 20.341%, 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

- spring spring integration: ≥ 7.1.0, \< 7.1.2.1 \| ≥ 7.0.0, \< 7.0.7.1 \| ≥ 6.5.0, \< 6.5.12 \| ≥ 6.0.0, \< 6.4.14 \| \< 5.5.23 \| ≥ 7.1.0, \< 7.1.3 \| ≥ 7.0.0, \< 7.0.8

## References

- <https://spring.io/security/cve-2026-59364>
- <https://nvd.nist.gov/vuln-metrics/cvss/v3-calculator?vector=AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L&version=3.1>

---

Data as of 2026-12-05T04:05:23.735Z. 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
