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

- 種別: advisory
- 関連技術: spring, java
- CVE: CVE-2026-59364
- 公開日時: 2026-11-19T00:00:00.000Z
- 情報源: Spring Security Advisories (https://spring.io/security/cve-2026-59364)
- パーマリンク: https://vulnpulse.app/items/spring-security-559e73fd4c49

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 credentia…