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.

Project Subscriptions

No data.

Advisories

No advisories yet.

Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

Wed, 02 Dec 2026 07:30:00 +0000

Type Values Removed Values Added
Description 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.
Title Spring Integration DefaultFtpsSessionFactory Does Not Verify FTPS Server Certificate and Hostname by Default
References
Metrics cvssV3_1

{'score': 5.6, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L'}


Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: vmware

Published:

Updated: 2026-12-02T07:10:01.370Z

Reserved: 2026-07-04T18:14:57.431Z

Link: CVE-2026-59364

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-12-02T08:17:40.907

Modified: 2026-12-02T08:17:40.907

Link: CVE-2026-59364

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.

Weaknesses

No weakness.